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lw(MtD9uEt2I_ Ht:1H}111HH([A^A_]ILHIHuMt3LILHHHuLLHHH@UHAWAVSH(HuHHED~D}HG]ԉ]؅y HHtdLw(HEMt8A)Au3HuH}t}Hut;LHt?1CH}1,HE1 ILHuHcH([A^A_]f.UHSPHH=HtZH=JHtGH=GHt4H=FHt!H=@HtHH[]H[]HD7%%&&''[(g((())I*Y*****++t+++++,<,/%/j/{///0&0m0000/1>11111 22M2\22222.3:3w3333vtkMetaImageReadervtkIOImagePython.vtkMetaImageReadervtkMetaImageReader - read binary UNC meta image data Superclass: vtkImageReader2 One of the formats for which a reader is already available in the toolkit is the MetaImage file format. This is a fairly simple yet powerful format consisting of a text header and a binary data section. The following instructions describe how you can write a MetaImage header for the data that you download from the BrainWeb page. The minimal structure of the MetaImage header is the following: NDims = 3 DimSize = 181 217 181 ElementType = MET_UCHAR ElementSpacing = 1.0 1.0 1.0 ElementByteOrderMSB = False ElementDataFile = brainweb1.raw * NDims indicate that this is a 3D image. ITK can handle images of arbitrary dimension. * DimSize indicates the size of the volume in pixels along each direction. * ElementType indicate the primitive type used for pixels. In this case is "unsigned char", implying that the data is digitized in 8 bits / pixel. * ElementSpacing indicates the physical separation between the center of one pixel and the center of the next pixel along each direction in space. The units used are millimeters. * ElementByteOrderMSB indicates is the data is encoded in little or big endian order. You might want to play with this value when moving data between different computer platforms. * ElementDataFile is the name of the file containing the raw binary data of the image. This file must be in the same directory as the header. MetaImage headers are expected to have extension: ".mha" or ".mhd" Once you write this header text file, it should be possible to read the image into your ITK based application using the itk::FileIOToImageFilter class. IsTypeOfV.IsTypeOf(string) -> int C++: static vtkTypeBool IsTypeOf(const char *type) Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. IsAV.IsA(string) -> int C++: vtkTypeBool IsA(const char *type) override; Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. SafeDownCastV.SafeDownCast(vtkObjectBase) -> vtkMetaImageReader C++: static vtkMetaImageReader *SafeDownCast(vtkObjectBase *o) NewInstanceV.NewInstance() -> vtkMetaImageReader C++: vtkMetaImageReader *NewInstance() GetFileExtensionsV.GetFileExtensions() -> string C++: const char *GetFileExtensions() override; Get the file extensions for this format. Returns a string with a space separated list of extensions in the format .extension GetDescriptiveNameV.GetDescriptiveName() -> string C++: const char *GetDescriptiveName() override; Return a descriptive name for the file format that might be useful in a GUI. GetPixelSpacingV.GetPixelSpacing() -> (float, ...) C++: double *GetPixelSpacing() GetWidthV.GetWidth() -> int C++: int GetWidth() GetHeightV.GetHeight() -> int C++: int GetHeight() GetImagePositionPatientV.GetImagePositionPatient() -> (float, ...) C++: double *GetImagePositionPatient() GetNumberOfComponentsV.GetNumberOfComponents() -> int C++: int GetNumberOfComponents() GetPixelRepresentationV.GetPixelRepresentation() -> int C++: int GetPixelRepresentation() GetDataByteOrderV.GetDataByteOrder() -> int C++: int GetDataByteOrder(void) override; These methods should be used instead of the SwapBytes methods. They indicate the byte ordering of the file you are trying to read in. These methods will then either swap or not swap the bytes depending on the byte ordering of the machine it is being run on. For example, reading in a BigEndian file on a BigEndian machine will result in no swapping. Trying to read the same file on a LittleEndian machine will result in swapping. As a quick note most UNIX machines are BigEndian while PC's and VAX tend to be LittleEndian. So if the file you are reading in was generated on a VAX or PC, SetDataByteOrderToLittleEndian otherwise SetDataByteOrderToBigEndian. GetRescaleSlopeV.GetRescaleSlope() -> float C++: virtual double GetRescaleSlope() GetRescaleOffsetV.GetRescaleOffset() -> float C++: virtual double GetRescaleOffset() GetBitsAllocatedV.GetBitsAllocated() -> int C++: virtual int GetBitsAllocated() GetDistanceUnitsV.GetDistanceUnits() -> string C++: virtual char *GetDistanceUnits() GetAnatomicalOrientationV.GetAnatomicalOrientation() -> string C++: virtual char *GetAnatomicalOrientation() GetGantryAngleV.GetGantryAngle() -> float C++: virtual double GetGantryAngle() GetPatientNameV.GetPatientName() -> string C++: virtual char *GetPatientName() GetPatientIDV.GetPatientID() -> string C++: virtual char *GetPatientID() GetDateV.GetDate() -> string C++: virtual char *GetDate() GetSeriesV.GetSeries() -> string C++: virtual char *GetSeries() GetImageNumberV.GetImageNumber() -> string C++: virtual char *GetImageNumber() GetModalityV.GetModality() -> string C++: virtual char *GetModality() GetStudyIDV.GetStudyID() -> string C++: virtual char *GetStudyID() GetStudyUIDV.GetStudyUID() -> string C++: virtual char *GetStudyUID() GetTransferSyntaxUIDV.GetTransferSyntaxUID() -> string C++: virtual char *GetTransferSyntaxUID() CanReadFileV.CanReadFile(string) -> int C++: int CanReadFile(const char *name) override; Test whether the file with the given name can be read by this reader. vtkImageReader2vtkImageAlgorithmvtkAlgorithmvtkObjectvtkObjectBase.mhd .mhaMetaIO Library: MetaImagep_voidOP `pa`!!aa!apa0!! !0 ! ! !` ! aa!aaaapa`aPa@a0a azRx $OAC $D AC $lAC B$HAC E$AC I$hAC G$ AC G$4AC I$\AC I$XAC G$AC I$AC I$ AC G$$AC G$L0AC G$tAC G$0AC G$AC G$`AC G$AC I$<AC I$dxAC G$AC I$AC I$AC I$hAC I$,0AC I$TAC I$|AC I$AC I$PAC I$AC I$AC B>-pH-h]H-UJH-B7H-/$H-(-&-?-&-E-B-^A-4==#-%-/-I-&-?-&-nA-D#==#- %-/-I-&-?-&-~A-T3=='#-%-/-I-&-?-&-A-dC==7#-,%-/-I-&-?-&-A-tS==G#-<%-//-!I-&-?-&-A-c==W#-L%-?/-1I-&-?-&-A-s==g#-\%-O/-AI-/&- ?-&-A-==w#-l%-_/-QI-?&-?-&-A-==#-|%-o/-aI-O&--?-&-A-'-&-q?-Y&-,A-==#-%-/-I-&-}?-e&->A- == #- %- /- I- &- ?-u &-N A-$  (- &- ?- &- A-r E '-6 &-! ?- &- A-  '-v &-a ?-I &- A-  (- &- ?- &- F-l A-B  (- ?- &- A- t (-j ?-R &-, A- ==.-C-?-&-lA-B(-?-&-A-N(-??-'&-A-==.-C-k?-S&-,A-==#-%-/-I-&-}?-e&-`>A-==#-%-/-I-&-?-u&-pNA-$8-4-2-D-&-?-&-LA-"D-&-?-&-@-rC(-6&-?-&-"-B-A-c?-M(-@&-9"-,B-<-$-,-;-0-zslVG-IB,-=6/;-'!0-8( xh`XH@8( xh`XH@8(     xh `XH@8( @)865:1+*9X703-`@ `@ `@ `@ @[P p`M !wCp0 0 = t `  7 t Zp` P @Q 0 `s4Q= D+0aoJ]^J.q:g~_PyType_Ready_PyvtkMetaImageReader_ClassNew_PyvtkImageReader2_ClassNew_PyVTKObject_New__ZL30PyvtkMetaImageReader_StaticNewv__ZN18vtkMetaImageReader3NewEv__ZN18vtkMetaImageReader16GetDataByteOrderEv_PyVTKObject_GetSet__Py_NoneStruct_PyVTKObject_GetObject__ZL28PyvtkMetaImageReader_Methods_PyObject_GenericSetAttr_PyObject_GenericGetAttr_PyVTKObject_Repr_PyVTKObject_AsBuffer_PyVTKAddFile_vtkMetaImageReader_PyErr_Clear_strcmp_strlen_PyObject_GC_Del_PyVTKObject_Check__ZN13vtkPythonArgs13ArgCountErrorEii_PyLong_FromLong_PyUnicode_FromString_PyDict_SetItemString_PyVTKObject_String_PyVTKObject_SetFlag_PyBytes_FromStringAndSize_PyUnicode_FromStringAndSize_PyVTKObject_Delete_PyVTKObject_Traverse__ZN13vtkPythonUtil20GetObjectFromPointerEP13vtkObjectBase__ZL25PyvtkMetaImageReader_Type_PyType_Type_PyFloat_FromDouble_PyErr_Occurred_PyVTKClass_Add__Py_Dealloc__ZN13vtkPythonArgs8GetValueERPc__ZN13vtkPythonUtil13ManglePointerEPKvPKc__ZN18vtkMetaImageReader8IsTypeOfEPKc__ZN13vtkObjectBase8IsTypeOfEPKc__ZN18vtkMetaImageReader11CanReadFileEPKc__ZN13vtkPythonArgs17GetArgAsVTKObjectEPKcRb__ZN13vtkPythonArgs19GetSelfFromFirstArgEP7_objectS1___ZL32PyvtkMetaImageReader_GetModalityP7_objectS0___ZL33PyvtkMetaImageReader_SafeDownCastP7_objectS0___ZL44PyvtkMetaImageReader_GetImagePositionPatientP7_objectS0___ZL30PyvtkMetaImageReader_GetHeightP7_objectS0___ZL37PyvtkMetaImageReader_GetRescaleOffsetP7_objectS0___ZL42PyvtkMetaImageReader_GetNumberOfComponentsP7_objectS0___ZL37PyvtkMetaImageReader_GetDistanceUnitsP7_objectS0___ZL38PyvtkMetaImageReader_GetFileExtensionsP7_objectS0___ZL30PyvtkMetaImageReader_GetSeriesP7_objectS0___ZL37PyvtkMetaImageReader_GetDataByteOrderP7_objectS0___ZL35PyvtkMetaImageReader_GetImageNumberP7_objectS0___ZL43PyvtkMetaImageReader_GetPixelRepresentationP7_objectS0___ZL45PyvtkMetaImageReader_GetAnatomicalOrientationP7_objectS0___ZL29PyvtkMetaImageReader_GetWidthP7_objectS0___ZL36PyvtkMetaImageReader_GetPixelSpacingP7_objectS0___ZL29PyvtkMetaImageReader_IsTypeOfP7_objectS0___ZL28PyvtkMetaImageReader_GetDateP7_objectS0___ZL36PyvtkMetaImageReader_GetRescaleSlopeP7_objectS0___ZL35PyvtkMetaImageReader_GetPatientNameP7_objectS0___ZL39PyvtkMetaImageReader_GetDescriptiveNameP7_objectS0___ZL32PyvtkMetaImageReader_CanReadFileP7_objectS0___ZL35PyvtkMetaImageReader_GetGantryAngleP7_objectS0___ZL32PyvtkMetaImageReader_NewInstanceP7_objectS0___ZL37PyvtkMetaImageReader_GetBitsAllocatedP7_objectS0___ZL31PyvtkMetaImageReader_GetStudyIDP7_objectS0___ZL33PyvtkMetaImageReader_GetPatientIDP7_objectS0___ZL32PyvtkMetaImageReader_GetStudyUIDP7_objectS0___ZL41PyvtkMetaImageReader_GetTransferSyntaxUIDP7_objectS0___ZL24PyvtkMetaImageReader_IsAP7_objectS0_