
#Define metaimage psp#
This type of information is formatted according to the TIFF specification, and may be found in JPG, TIFF, PNG, JP2, PGF, MIFF, HDP, PSP and XCF images, as well as many TIFF-based RAW images, and even some AVI and MOV videos. File TypeĮXIF stands for "Exchangeable Image File Format". String with the name of the structure of type EXTERNAL.Notation: R: Read / W: Write / C : Create. If more than one structure of type EXTERNAL exists in the RS dicom file, then the first one is returned. The function retrieves the name of the structure of type EXTERNAL from a RS dicom file.

Get name of the EXTERNAL structure from RS dicom file. getExternalName ( fileName, displayInfo = False ) Pandas DataFrame with structures and properties. ParametersįileName ( path) – Path to RS dicom file. The function retrieves some basic information about structures from a RS dicom file. Get some information from the RS structures from RS dicom file. getRSInfo ( fileName, displayInfo = False ) Get some basic information from the RN plan. Get summary of parameters for each field defined in RN plan. OtherFieldsNumber : total number of other fields.ĭictionary with the RN treatment plan parameters. SetupFieldsNumber : total number of setup fields. TreatmentFieldsNumber : total number of treatment fields. TotalFieldsNumber : total number of fields including setup, treatment and other fields. MachineName : name of the treatment machine for which the plan was prepared. StationName : name of the station on which the plan has been prepared. SoftwareVersions : version of the treatment planning system. Manufacturer : manufacturer of the treatment planning system. PatientID : ID of the patient (can be empty for anonymized DICOM). PatientBirthDate : birth date of the patient (can be empty for anonymized DICOM). PatientName : name of the patient (can be empty for anonymized DICOM). PlanTime : time of the plan creation (can be empty for anonymized DICOM). PlanDate : date of the plan creation (can be empty for anonymized DICOM). PlanLabel : name of the treatment plan (can be empty for anonymized DICOM). TargetStructName : name of the structure which the plan was prepared for (dose not work for all RN dicoms). RNFileName : absolute path to the RN file.ĭosePrescribed : dose prescribed to the target (see notes below).įractionNo : number of the fractions planned. ParametersįileName ( path) – Path to RN dicom file. The function retrieves the machine name defined in the RN dicom file. Get the machine name defined in the RN plan. getRNMachineName ( fileName, displayInfo = False )

False)ĭictionary with the sorted file names. Recursive ( bool, optional) – Search for files recursively. SearchFolder ( path) – The path to be searched. Unknown - files with *.dcm extension that were not recognized. RD - dicom files of 1D/2D/3D RT Dose Storage (for instance dose distribution) RN - dicom files of RT Plan Storage (“RT Plan Storage” or “RT Ion Plan Storage”) RS - dicom files of RT Structure Set Storage

Return typeĬT - dicom files of CT Image Storage (“CT Image Storage”, “Enhanced CT Image Storage” or “Legacy Converted Enhanced CT Image Storage”) Object or tuple of objects of a SimpleITK image. ParametersįileNames ( string or array_like) – A path or an iterable (list, tuple, etc.) of paths to MetaImage file.ĭisplayInfo ( bool, optional) – Displays a summary of the function results. The function reads a single MetaImage file or an iterable of MetaImage filesĪnd creates an instance or tuple of instances of a SimpleITK object. Read MetaImage image to SimpleITK image object. readMHD ( fileNames, displayInfo = False ) MetaImage files (*.mhd, *.mha) fredtools. an obsolate format used by the FRED Monte Carlo engine for saving 3D images (not recommended),ĭicom format (reading only) for 3D/2D images (e.g.

MetaImage format in double (*.mhd+*.raw) or single files (only *.mhd), A collection of useful functions for reading and writing images are implemented.
