ITK  5.0.0
Insight Segmentation and Registration Toolkit
Public Attributes | List of all members
itk::MRCHeaderObject::Header Struct Reference

#include <itkMRCHeaderObject.h>

Detailed Description

plain old data structure of the MRC header as used by IMOD. This header must be 1024 bytes.

The structure of the MRC header taken from: http://bio3d.colorado.edu/imod/doc/mrc_format.txt with permision from David Mastronarde on 8/21/2009

Definition at line 67 of file itkMRCHeaderObject.h.

Public Attributes

float alpha
 
float beta
 
float gamma
 
int16_t idtype
 
int16_t lens
 
int32_t mode
 
int32_t mx
 
int32_t my
 
int32_t mz
 
int16_t nd1
 
int16_t nd2
 
int16_t nint
 
int8_t notused2 [28]
 
int16_t nreal
 
int32_t nxstart
 
int32_t nystart
 
int32_t nzstart
 
float rms
 
float tiltangles [6]
 
int16_t vd1
 
int16_t vd2
 
float xlen
 
float xorg
 
float ylen
 
float yorg
 
float zlen
 
float zorg
 

Member Data Documentation

float itk::MRCHeaderObject::Header::alpha

cell angles (ignored)

Definition at line 103 of file itkMRCHeaderObject.h.

float itk::MRCHeaderObject::Header::beta

Definition at line 104 of file itkMRCHeaderObject.h.

float itk::MRCHeaderObject::Header::gamma

map column 1=x,2=y,3=z. (ignored) map row 1=x,2=y,3=z. (ignored) map section 1=x,2=y,3=z. (ignored)

Definition at line 105 of file itkMRCHeaderObject.h.

int16_t itk::MRCHeaderObject::Header::idtype

Definition at line 160 of file itkMRCHeaderObject.h.

int16_t itk::MRCHeaderObject::Header::lens

Definition at line 162 of file itkMRCHeaderObject.h.

int32_t itk::MRCHeaderObject::Header::mode

< Number of Columns < Number of Rows < Number of Sections Types of pixel in image. Values used by IMOD: 0 = unsigned bytes, 1 = signed short integers (16 bits), 2 = float, 3 = short * 2, (used for complex data) 4 = float * 2, (used for complex data) 6 = unsigned 16-bit integers (non-standard) 16 = unsigned char * 3 (for rgb data, non-standard)

Definition at line 85 of file itkMRCHeaderObject.h.

int32_t itk::MRCHeaderObject::Header::mx

Grid size in X, Y, and Z

Definition at line 93 of file itkMRCHeaderObject.h.

int32_t itk::MRCHeaderObject::Header::my

Definition at line 94 of file itkMRCHeaderObject.h.

int32_t itk::MRCHeaderObject::Header::mz

Definition at line 95 of file itkMRCHeaderObject.h.

int16_t itk::MRCHeaderObject::Header::nd1

Definition at line 163 of file itkMRCHeaderObject.h.

int16_t itk::MRCHeaderObject::Header::nd2

Definition at line 164 of file itkMRCHeaderObject.h.

int16_t itk::MRCHeaderObject::Header::nint

< Minimum pixel value. < Maximum pixel value. < Mean pixel value. < image type < space group number < number of bytes in extended header < Creator ID < extra data (not used)

Definition at line 140 of file itkMRCHeaderObject.h.

int8_t itk::MRCHeaderObject::Header::notused2[28]

extra data (not used)

Definition at line 157 of file itkMRCHeaderObject.h.

int16_t itk::MRCHeaderObject::Header::nreal

Definition at line 142 of file itkMRCHeaderObject.h.

int32_t itk::MRCHeaderObject::Header::nxstart

Starting point of sub image. (ignored)

Definition at line 88 of file itkMRCHeaderObject.h.

int32_t itk::MRCHeaderObject::Header::nystart

Definition at line 89 of file itkMRCHeaderObject.h.

int32_t itk::MRCHeaderObject::Header::nzstart

Definition at line 90 of file itkMRCHeaderObject.h.

float itk::MRCHeaderObject::Header::rms

Definition at line 180 of file itkMRCHeaderObject.h.

float itk::MRCHeaderObject::Header::tiltangles[6]

Definition at line 169 of file itkMRCHeaderObject.h.

int16_t itk::MRCHeaderObject::Header::vd1

Definition at line 165 of file itkMRCHeaderObject.h.

int16_t itk::MRCHeaderObject::Header::vd2

Definition at line 166 of file itkMRCHeaderObject.h.

float itk::MRCHeaderObject::Header::xlen

Cell size; pixel spacing = xlen/mx

Definition at line 98 of file itkMRCHeaderObject.h.

float itk::MRCHeaderObject::Header::xorg

Definition at line 172 of file itkMRCHeaderObject.h.

float itk::MRCHeaderObject::Header::ylen

Definition at line 99 of file itkMRCHeaderObject.h.

float itk::MRCHeaderObject::Header::yorg

Definition at line 173 of file itkMRCHeaderObject.h.

float itk::MRCHeaderObject::Header::zlen

Definition at line 100 of file itkMRCHeaderObject.h.

float itk::MRCHeaderObject::Header::zorg

Contains "MAP " First byte has 17 for big- or 68 for little-endian

Definition at line 174 of file itkMRCHeaderObject.h.


The documentation for this struct was generated from the following file: