ActiViz .NET
5.8.0
|
vtkMetaImageWriter - write a binary UNC meta image data More...
Public Member Functions | |
vtkMetaImageWriter (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkMetaImageWriter () | |
Construct object with FlipNormals turned off and Normals set to true. | |
virtual bool | GetCompression () |
Specify the file name of the raw image data. | |
override string | GetFileName () |
Specify file name of meta file. | |
virtual string | GetRAWFileName () |
Specify the file name of the raw image data. | |
override int | IsA (string type) |
Undocumented Block. | |
new vtkMetaImageWriter | NewInstance () |
Undocumented Block. | |
virtual void | SetCompression (bool compress) |
Specify the file name of the raw image data. | |
override void | SetFileName (string fname) |
Specify file name of meta file. | |
virtual void | SetRAWFileName (string fname) |
Specify the file name of the raw image data. | |
override void | Write () |
This is called by the superclass. This is the method you should override. | |
Static Public Member Functions | |
static new vtkMetaImageWriter | New () |
Construct object with FlipNormals turned off and Normals set to true. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkMetaImageWriter | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkMetaImageWriter" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "18vtkMetaImageWriter" |
Automatically generated type registration mechanics. | |
Protected Member Functions | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. | |
Private Member Functions | |
static internal IntPtr | vtkMetaImageWriter_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal byte | vtkMetaImageWriter_GetCompression_01 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageWriter_GetFileName_02 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageWriter_GetRAWFileName_03 (HandleRef pThis) |
static internal int | vtkMetaImageWriter_IsA_04 (HandleRef pThis, string type) |
static internal int | vtkMetaImageWriter_IsTypeOf_05 (string type) |
static internal IntPtr | vtkMetaImageWriter_NewInstance_07 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkMetaImageWriter_SafeDownCast_08 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal void | vtkMetaImageWriter_SetCompression_09 (HandleRef pThis, byte compress) |
static internal void | vtkMetaImageWriter_SetFileName_10 (HandleRef pThis, string fname) |
static internal void | vtkMetaImageWriter_SetRAWFileName_11 (HandleRef pThis, string fname) |
static internal void | vtkMetaImageWriter_Write_12 (HandleRef pThis) |
Static Private Member Functions | |
static | vtkMetaImageWriter () |
Automatically generated type registration mechanics. |
vtkMetaImageWriter - write a binary UNC meta image data
Description 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.
static Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Construct object with FlipNormals turned off and Normals set to true.
override void Kitware.VTK.vtkMetaImageWriter.Dispose | ( | bool | disposing | ) | [protected] |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkImageWriter.
virtual bool Kitware.VTK.vtkMetaImageWriter.GetCompression | ( | ) | [virtual] |
Specify the file name of the raw image data.
override string Kitware.VTK.vtkMetaImageWriter.GetFileName | ( | ) | [virtual] |
Specify file name of meta file.
Reimplemented from Kitware.VTK.vtkImageWriter.
virtual string Kitware.VTK.vtkMetaImageWriter.GetRAWFileName | ( | ) | [virtual] |
Specify the file name of the raw image data.
override int Kitware.VTK.vtkMetaImageWriter.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkImageWriter.
static new int Kitware.VTK.vtkMetaImageWriter.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkImageWriter.
static new vtkMetaImageWriter Kitware.VTK.vtkMetaImageWriter.New | ( | ) | [static] |
Construct object with FlipNormals turned off and Normals set to true.
Reimplemented from Kitware.VTK.vtkImageWriter.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkImageWriter.
static new vtkMetaImageWriter Kitware.VTK.vtkMetaImageWriter.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkImageWriter.
virtual void Kitware.VTK.vtkMetaImageWriter.SetCompression | ( | bool | compress | ) | [virtual] |
Specify the file name of the raw image data.
override void Kitware.VTK.vtkMetaImageWriter.SetFileName | ( | string | fname | ) | [virtual] |
Specify file name of meta file.
Reimplemented from Kitware.VTK.vtkImageWriter.
virtual void Kitware.VTK.vtkMetaImageWriter.SetRAWFileName | ( | string | fname | ) | [virtual] |
Specify the file name of the raw image data.
static internal byte Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter_GetCompression_01 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter_GetFileName_02 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter_GetRAWFileName_03 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter_IsA_04 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter_IsTypeOf_05 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter_NewInstance_07 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter_SafeDownCast_08 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal void Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter_SetCompression_09 | ( | HandleRef | pThis, |
byte | compress | ||
) | [private] |
static internal void Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter_SetFileName_10 | ( | HandleRef | pThis, |
string | fname | ||
) | [private] |
static internal void Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter_SetRAWFileName_11 | ( | HandleRef | pThis, |
string | fname | ||
) | [private] |
static internal void Kitware.VTK.vtkMetaImageWriter.vtkMetaImageWriter_Write_12 | ( | HandleRef | pThis | ) | [private] |
override void Kitware.VTK.vtkMetaImageWriter.Write | ( | ) | [virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from Kitware.VTK.vtkImageWriter.
new readonly string Kitware.VTK.vtkMetaImageWriter.MRClassNameKey = "18vtkMetaImageWriter" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkImageWriter.
new const string Kitware.VTK.vtkMetaImageWriter.MRFullTypeName = "Kitware.VTK.vtkMetaImageWriter" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkImageWriter.