3/28/2023 0 Comments Metaimage format![]() ![]() 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 5)ĬT - dicom files of CT Image Storage (“CT Image Storage”, “Enhanced CT Image Storage” or “Legacy Converted Enhanced CT Image Storage”) For MHD files, the compression levelĪbove 10 does not make any effect. False)ĬompressionLevel ( unsigned int, optional) – Determine the compression level. UseCompression ( bool, optional) – Determine if a compression will be used when saving the file. Overwrite ( bool, optional) – Overwrite the file if it exists. SingleFile ( bool, optional) – Determine if the MHD is a single file of two files MHD+RAW. Img ( SimpleITK Image) – Object of a SimpleITK image.įilePath ( path) – Path to file to be saved. It is recommended to use *.mhdĮxtension when saving MetaImage. MetaImage instead of standard two-files MHD+RAW. The functionĮxtends the functionality of SimpleITK.WriteImage() to write also a single file The function writes a SimpleITK image object to MetaImage file. writeMHD ( img, filePath, singleFile = True, overwrite = True, useCompression = False, compressionLevel = 5, displayInfo = False ) ¶ ![]() 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), This file contains the probe definition, and is copied from the config/tool/Tools folder.A collection of useful functions for reading and writing images are implemented. The ConfigurationID refers to a specific configuration within ProbeCalibConfigs.xml, using colon separators. Obsolete filesĪ file in the metaheader file format containing the uncompressed image data. It can be constructed from the probe data. ![]() The binary image shows what parts of the frame images contain valid US data. Thus the number of lines in this file is (# tracking positions) x 3. The matrix numbers is whitespace-separated with newline between rows. The last line of the matrix (always containing 0 0 0 1) is omitted. This is a newline-separated sequence of matrices, one for each position. the transform from tool to patient reference (See Coordinate Systems ). This file contains the tracking positions, one matrix for each tracking sample. The files all have the name format US-Acq_.fts, but the number of timestamps equals the number of tracking positions. Īll files describing one acquisition lie the same folder. The acquisition is available from US Acquisition Widget. storing a US image stream along with tracking and probe information. This file format is used to store one US acquisition operation, i.e. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |