ActiViz .NET
5.8.0
|
vtkMetaImageReader - read binary UNC meta image data More...
Public Member Functions | |
vtkMetaImageReader (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkMetaImageReader () | |
Construct object with FlipNormals turned off and Normals set to true. | |
override int | CanReadFile (string name) |
Test whether the file with the given name can be read by this reader. | |
virtual string | GetAnatomicalOrientation () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
virtual int | GetBitsAllocated () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
override int | GetDataByteOrder () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
virtual string | GetDate () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
override string | GetDescriptiveName () |
Construct object with FlipNormals turned off and Normals set to true. | |
virtual string | GetDistanceUnits () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
override string | GetFileExtensions () |
Construct object with FlipNormals turned off and Normals set to true. | |
virtual double | GetGantryAngle () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
int | GetHeight () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
virtual string | GetImageNumber () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
IntPtr | GetImagePositionPatient () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
virtual string | GetModality () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
int | GetNumberOfComponents () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
virtual string | GetPatientID () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
virtual string | GetPatientName () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
int | GetPixelRepresentation () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
IntPtr | GetPixelSpacing () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
virtual double | GetRescaleOffset () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
virtual double | GetRescaleSlope () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
virtual string | GetSeries () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
virtual string | GetStudyID () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
virtual string | GetStudyUID () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
virtual string | GetTransferSyntaxUID () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
int | GetWidth () |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader. | |
override int | IsA (string type) |
Undocumented Block. | |
new vtkMetaImageReader | NewInstance () |
Undocumented Block. | |
Static Public Member Functions | |
static new vtkMetaImageReader | New () |
Construct object with FlipNormals turned off and Normals set to true. | |
static new int | IsTypeOf (string type) |
Undocumented Block. | |
static new vtkMetaImageReader | SafeDownCast (vtkObjectBase o) |
Undocumented Block. | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkMetaImageReader" |
Automatically generated type registration mechanics. | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "18vtkMetaImageReader" |
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 | vtkMetaImageReader_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal int | vtkMetaImageReader_CanReadFile_01 (HandleRef pThis, string name) |
static internal IntPtr | vtkMetaImageReader_GetAnatomicalOrientation_02 (HandleRef pThis) |
static internal int | vtkMetaImageReader_GetBitsAllocated_03 (HandleRef pThis) |
static internal int | vtkMetaImageReader_GetDataByteOrder_04 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetDate_05 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetDescriptiveName_06 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetDistanceUnits_07 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetFileExtensions_08 (HandleRef pThis) |
static internal double | vtkMetaImageReader_GetGantryAngle_09 (HandleRef pThis) |
static internal int | vtkMetaImageReader_GetHeight_10 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetImageNumber_11 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetImagePositionPatient_12 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetModality_13 (HandleRef pThis) |
static internal int | vtkMetaImageReader_GetNumberOfComponents_14 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetPatientID_15 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetPatientName_16 (HandleRef pThis) |
static internal int | vtkMetaImageReader_GetPixelRepresentation_17 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetPixelSpacing_18 (HandleRef pThis) |
static internal double | vtkMetaImageReader_GetRescaleOffset_19 (HandleRef pThis) |
static internal double | vtkMetaImageReader_GetRescaleSlope_20 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetSeries_21 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetStudyID_22 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetStudyUID_23 (HandleRef pThis) |
static internal IntPtr | vtkMetaImageReader_GetTransferSyntaxUID_24 (HandleRef pThis) |
static internal int | vtkMetaImageReader_GetWidth_25 (HandleRef pThis) |
static internal int | vtkMetaImageReader_IsA_26 (HandleRef pThis, string type) |
static internal int | vtkMetaImageReader_IsTypeOf_27 (string type) |
static internal IntPtr | vtkMetaImageReader_NewInstance_29 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
static internal IntPtr | vtkMetaImageReader_SafeDownCast_30 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount) |
Static Private Member Functions | |
static | vtkMetaImageReader () |
Automatically generated type registration mechanics. |
vtkMetaImageReader - read 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.vtkMetaImageReader.vtkMetaImageReader | ( | ) | [static, private] |
Automatically generated type registration mechanics.
Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader | ( | 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 int Kitware.VTK.vtkMetaImageReader.CanReadFile | ( | string | name | ) | [virtual] |
Test whether the file with the given name can be read by this reader.
Reimplemented from Kitware.VTK.vtkImageReader2.
override void Kitware.VTK.vtkMetaImageReader.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.vtkImageReader2.
virtual string Kitware.VTK.vtkMetaImageReader.GetAnatomicalOrientation | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
virtual int Kitware.VTK.vtkMetaImageReader.GetBitsAllocated | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
override int Kitware.VTK.vtkMetaImageReader.GetDataByteOrder | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
Reimplemented from Kitware.VTK.vtkImageReader2.
virtual string Kitware.VTK.vtkMetaImageReader.GetDate | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
override string Kitware.VTK.vtkMetaImageReader.GetDescriptiveName | ( | ) | [virtual] |
Construct object with FlipNormals turned off and Normals set to true.
Reimplemented from Kitware.VTK.vtkImageReader2.
virtual string Kitware.VTK.vtkMetaImageReader.GetDistanceUnits | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
override string Kitware.VTK.vtkMetaImageReader.GetFileExtensions | ( | ) | [virtual] |
Construct object with FlipNormals turned off and Normals set to true.
Reimplemented from Kitware.VTK.vtkImageReader2.
virtual double Kitware.VTK.vtkMetaImageReader.GetGantryAngle | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
virtual string Kitware.VTK.vtkMetaImageReader.GetImageNumber | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
virtual string Kitware.VTK.vtkMetaImageReader.GetModality | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
virtual string Kitware.VTK.vtkMetaImageReader.GetPatientID | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
virtual string Kitware.VTK.vtkMetaImageReader.GetPatientName | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
virtual double Kitware.VTK.vtkMetaImageReader.GetRescaleOffset | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
virtual double Kitware.VTK.vtkMetaImageReader.GetRescaleSlope | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
virtual string Kitware.VTK.vtkMetaImageReader.GetSeries | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
virtual string Kitware.VTK.vtkMetaImageReader.GetStudyID | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
virtual string Kitware.VTK.vtkMetaImageReader.GetStudyUID | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
virtual string Kitware.VTK.vtkMetaImageReader.GetTransferSyntaxUID | ( | ) | [virtual] |
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
These duplicate functions in vtkImageReader2, vtkMedicalImageReader.
override int Kitware.VTK.vtkMetaImageReader.IsA | ( | string | type | ) | [virtual] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkImageReader2.
static new int Kitware.VTK.vtkMetaImageReader.IsTypeOf | ( | string | type | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkImageReader2.
static new vtkMetaImageReader Kitware.VTK.vtkMetaImageReader.New | ( | ) | [static] |
Construct object with FlipNormals turned off and Normals set to true.
Reimplemented from Kitware.VTK.vtkImageReader2.
Undocumented Block.
Reimplemented from Kitware.VTK.vtkImageReader2.
static new vtkMetaImageReader Kitware.VTK.vtkMetaImageReader.SafeDownCast | ( | vtkObjectBase | o | ) | [static] |
Undocumented Block.
Reimplemented from Kitware.VTK.vtkImageReader2.
static internal int Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_CanReadFile_01 | ( | HandleRef | pThis, |
string | name | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetAnatomicalOrientation_02 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetBitsAllocated_03 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetDataByteOrder_04 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetDate_05 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetDescriptiveName_06 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetDistanceUnits_07 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetFileExtensions_08 | ( | HandleRef | pThis | ) | [private] |
static internal double Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetGantryAngle_09 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetHeight_10 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetImageNumber_11 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetImagePositionPatient_12 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetModality_13 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetNumberOfComponents_14 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetPatientID_15 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetPatientName_16 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetPixelRepresentation_17 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetPixelSpacing_18 | ( | HandleRef | pThis | ) | [private] |
static internal double Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetRescaleOffset_19 | ( | HandleRef | pThis | ) | [private] |
static internal double Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetRescaleSlope_20 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetSeries_21 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetStudyID_22 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetStudyUID_23 | ( | HandleRef | pThis | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetTransferSyntaxUID_24 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_GetWidth_25 | ( | HandleRef | pThis | ) | [private] |
static internal int Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_IsA_26 | ( | HandleRef | pThis, |
string | type | ||
) | [private] |
static internal int Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_IsTypeOf_27 | ( | string | type | ) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_New | ( | ref uint | mteStatus, |
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_NewInstance_29 | ( | HandleRef | pThis, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
static internal IntPtr Kitware.VTK.vtkMetaImageReader.vtkMetaImageReader_SafeDownCast_30 | ( | HandleRef | o, |
ref uint | mteStatus, | ||
ref uint | mteIndex, | ||
ref uint | rawRefCount | ||
) | [private] |
new readonly string Kitware.VTK.vtkMetaImageReader.MRClassNameKey = "18vtkMetaImageReader" [static] |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkImageReader2.
new const string Kitware.VTK.vtkMetaImageReader.MRFullTypeName = "Kitware.VTK.vtkMetaImageReader" |
Automatically generated type registration mechanics.
Reimplemented from Kitware.VTK.vtkImageReader2.