This script converts an existing MultiSliceImage (an Analyze or NIFTI-1
image) to UNC format. Note that
the script runs a more general program called MSIConverter, with
the variable OutputType=UNC, thus producing an
UNC format output image.
Running the script without any arguments produces the
following output.
MSIConverter: please specify two non-optional arguments.
usage: MSIConverter [options] inputImage outputImage
-?,--help Displays this help message.
-b,--dob <date> Specifies the patient's date-of-birth.
-d,--id <ID> Specifies the patient ID.
-l,--scan-plane <plane> Specifies the most-like scan plane (must be axial,
coronal or sagittal).
-m,--modality <modality> Specifies the imaging modality. Must be one of:
COMPUTED_RADIOGRAPHY COMPUTERISED_TOMOGRAPHY MAGNETIC_RESONANCE
NUCLEAR_MEDICINE ULTRASOUND OTHER BIOMAGNETIC_IMAGING COLOR_FLOW_DOPPLER
DUPLEX_DOPPLER DIAPHANOGRAPHY ENDOSCOPY LASER_SURFACE_SCAN
POSITRON_EMISSION_TOMOGRAPHY RADIOGRAPHIC_IMAGING
SINGLE_PHOTON_EMISSION_COMPUTED_TOMOGRAPHY THERMOGRAPHY X_RAY_ANGIOGRAPHY
RADIO_FLUOROSCOPY RADIOTHERAPY_IMAGE RADIOTHERAPY_DOSE
RADIOTHERAPY_STRUCTURE_SET RADIOTHERAPY_PLAN RADIOTHERAPY_RECORD HARD_COPY
DIGITAL_RADIOGRAPHY MAMMOGRAPHY INTRA_ORAL_RADIOGRAPHY PANORAMIC_X_RAY
GENERAL_MICROSCOPY SLIDE_MISCROSCOPY EXTERNAL_CAMERA_PHOTOGRAPHY
PRESENTATION_STATE AUDIO ELECTROCARDIOGRAPHY CARDIAC_ELECTROPHYSIOLOGY
HAEMODYNAMIC_WAVEFORM SR_DOCUMENT IVUS OPTHALMIC_PHOTOGRAPHY
STEREOMETRIC_RELATIONSHIP OPTICAL_COHERENCE_TOMOGRAPHY
OPTHALMIC_REFRACTION OPTHALMIC_VISUAL_FIELD OPTHALMIC_MAPPING
KEY_OBJECT_SELECTION SEGMENTATION REGISTRATION
DIGITAL_SUBTRACTION_ANGIOGRAPHY_RET CINE_FLUOROGRAPHY_RET
DIGITAL_FLUOROSCOPY_RET VIDEOFLUOROGRAPHY_RET ANGIOSCOPY_RET
CYSTOSCOPY_RET ECHOCARDIOGRAPHY_RET LAPAROSCOPY_RET
FLUORESCEIN_ANGIOGRAPHY_RET CULPOSCOPY_RET DIGITAL_MICROSCOPY_RET
FUNDOSCOPY_RET MAGNETIC_RESONANCE_ANGIOGRAPHY_RET
MAGNETIC_RESONANCE_SPECTROSCOPY_RET SECONDARY_CAPTUE_RET.
-n,--name <name> Specifies the patient name.
-o,--position <pos> Specifies the patient pOsition in the scanner. Must be one of: UNKNOWN HFP HFS HFDR HFDL FFP FFS FFDR FFDL.
-v,--verbose Turns on verbose reporting to System.out.
System properties:
-DOutputType=UNC creates UNC format output images.
-DOutputType=Analyze creates Analyze format output images.
-DOutputType=NIFTI-1 creates NIFTI-1 format output images.