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Ht$H|$tċD$$Ht$u(HEH(HuHH@HfUH@fnFdH%(HD$81HHt$HD$HGfnȉD$(fbfD$ uLHD$Ho(Ht!D$ +D$$t=H|$1HT$8dH+%(uiH@]ÐHHuؐHt$H|$tċD$$Ht$u(HEHHuHH@HH@SafeDownCastvtkObjectBasevtkMetaImageWriterIsTypeOfGetCompressionIsASetCompressionGetFileNameNewInstanceWriteGetRAWFileNameSetRAWFileNameSetFileNamevtkImageWritervtkImageAlgorithmvtkAlgorithmvtkObjectUH=Hu]ÐHH=tHH=tHH=tHH=tH]vtkMetaImageWriter - write a binary UNC meta image data Superclass: vtkImageWriter 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. @sa vtkImageWriter vtkMetaImageReader vtkIOImagePython.vtkMetaImageWriterV.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. V.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. V.SafeDownCast(vtkObjectBase) -> vtkMetaImageWriter C++: static vtkMetaImageWriter *SafeDownCast(vtkObjectBase *o) V.NewInstance() -> vtkMetaImageWriter C++: vtkMetaImageWriter *NewInstance() V.SetFileName(string) C++: void SetFileName(const char *fname) override; Specify file name of meta file V.GetFileName() -> string C++: char *GetFileName() override; Specify file name for the image file. You should specify either a FileName or a FilePrefix. Use FilePrefix if the data is stored in multiple files. V.SetRAWFileName(string) C++: virtual void SetRAWFileName(const char *fname) Specify the file name of the raw image data. V.GetRAWFileName() -> string C++: virtual char *GetRAWFileName() Specify the file name of the raw image data. V.SetCompression(bool) C++: virtual void SetCompression(bool compress) V.GetCompression() -> bool C++: virtual bool GetCompression(void) V.Write() C++: void Write() override; The main interface which triggers the writer to start. HHHDGCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0GNUzRx  0 D X l EDPa AE uEY B P("EAD`n AAF ED@ AG 0FAA D`  AABH HEDP AF (l5FADP ABG gFD@ EE MFF0OFDD n ABA DDB  H@ I (<%FADP ABG hEDP AB $EDP AB      &Y" 5Ng  %N   .!.7FJYeqw " >" h" " 1@z"u7G]|`M.=WdODPct_ZL30PyvtkMetaImageWriter_StaticNewv_ZL33PyvtkMetaImageWriter_SafeDownCastP7_objectS0__ZL29PyvtkMetaImageWriter_IsTypeOfP7_objectS0__ZL35PyvtkMetaImageWriter_GetCompressionP7_objectS0__ZL24PyvtkMetaImageWriter_IsAP7_objectS0__ZL35PyvtkMetaImageWriter_SetCompressionP7_objectS0__ZL32PyvtkMetaImageWriter_GetFileNameP7_objectS0__ZL32PyvtkMetaImageWriter_NewInstanceP7_objectS0__ZL25PyvtkMetaImageWriter_Type_ZL28PyvtkMetaImageWriter_Methods_GLOBAL__sub_I_vtkMetaImageWriterPython.cxx_ZL26PyvtkMetaImageWriter_WriteP7_objectS0__ZL35PyvtkMetaImageWriter_GetRAWFileNameP7_objectS0__ZL35PyvtkMetaImageWriter_SetRAWFileNameP7_objectS0__ZL32PyvtkMetaImageWriter_SetFileNameP7_objectS0_.LC0.LC1.LC2.LC7.LC3.LC4.LC5.LC6.LC8.LC9.LC10.LC11.LC12.LC14.LC15.LC16.LC17.LC13_ZN18vtkMetaImageWriter11GetFileNameEv_ZN18vtkMetaImageWriter14SetCompressionEb_ZN18vtkMetaImageWriter14GetCompressionEv_ZN18vtkMetaImageWriter3NewEv_ZNK18vtkMetaImageWriter19NewInstanceInternalEv_ZN13vtkPythonArgs13ArgCountErrorEii_ZN13vtkPythonArgs17GetArgAsVTKObjectEPKcRbPyErr_Occurred_ZN13vtkPythonUtil20GetObjectFromPointerEP13vtkObjectBase__stack_chk_fail_ZN18vtkMetaImageWriter3IsAEPKcstrcmp_ZN13vtkObjectBase8IsTypeOfEPKc_ZN13vtkPythonArgs8GetValueERPcPyLong_FromLong_ZN13vtkPythonArgs19GetSelfFromFirstArgEP7_objectS1_PyBool_FromLong_GLOBAL_OFFSET_TABLE__ZN13vtkPythonArgs8GetValueERb_Py_NoneStructstrlenPyUnicode_FromStringAndSizePyErr_ClearPyBytes_FromStringAndSizePyVTKObject_CheckPyVTKObject_GetObjectPyVTKObject_SetFlagPyvtkMetaImageWriter_ClassNewPyVTKClass_AddPyvtkImageWriter_ClassNewPyType_ReadyPyVTKAddFile_vtkMetaImageWriterPyDict_SetItemString_Py_Dealloc_ZN18vtkMetaImageWriter5WriteEv_ZN18vtkMetaImageWriter14GetRAWFileNameEv_ZN18vtkMetaImageWriter14SetRAWFileNameEPKc_ZN18vtkMetaImageWriter11SetFileNameEPKcPyType_TypePyVTKObject_DeletePyVTKObject_ReprPyVTKObject_StringPyObject_GenericGetAttrPyObject_GenericSetAttrPyVTKObject_AsBufferPyVTKObject_TraversePyVTKObject_GetSetPyVTKObject_NewPyObject_GC_Del,`345657 J3};9 95<!9"9#9:7A$3=5>*07$%3=;*89 95-<N!S9a"f9t#y9:7&3A=[@x5*A*/7' 3I=l5~BCDE*.*A7(_3=*2156FG%H45S7iw~JKLIN )m 3 = 5 *A P 7 *P 3y = 5 B C D E Q *A 71 + 3 = ; 5 *A R 7A , 3 = ; 5 *A S# 71O19& +99!>9L"Q9_#d9q:-T0UXVWXYZ[\8]@^. F(8@HX`ehxh   Y(   w  J 7( 8@ @qH X 4H\p  Lp`$ @ l  .symtab.strtab.shstrtab.rela.text.data.bss.text._ZN18vtkMetaImageWriter11GetFileNameEv.text._ZN18vtkMetaImageWriter14SetCompressionEb.text._ZN18vtkMetaImageWriter14GetCompressionEv.rela.text._ZNK18vtkMetaImageWriter19NewInstanceInternalEv.rodata.str1.1.rodata._ZN18vtkMetaImageWriter3IsAEPKc.str1.1.rela.text._ZN18vtkMetaImageWriter3IsAEPKc.rodata.str1.8.rela.text.startup.rela.init_array.rela.data.rel.rela.data.rel.local.comment.note.GNU-stack.note.gnu.property.rela.eh_frame.group@!.H!/P!0X !2d !8 p' @`3H !& , 1 ^   @?! 2 2z8<u7@?!b28 v q@@0!8@@!@ @A ! @0B!0`, @HE!`"". H+(G