ITK  6.0.0
Insight 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: https://bio3d.colorado.edu/imod/doc/mrc_format.txt with permission from David Mastronarde on 8/21/2009

Definition at line 66 of file itkMRCHeaderObject.h.

+ Collaboration diagram for itk::MRCHeaderObject::Header:

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

◆ alpha

float itk::MRCHeaderObject::Header::alpha

cell angles (ignored)

Definition at line 102 of file itkMRCHeaderObject.h.

◆ beta

float itk::MRCHeaderObject::Header::beta

Definition at line 103 of file itkMRCHeaderObject.h.

◆ gamma

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 104 of file itkMRCHeaderObject.h.

◆ idtype

int16_t itk::MRCHeaderObject::Header::idtype

Definition at line 159 of file itkMRCHeaderObject.h.

◆ lens

int16_t itk::MRCHeaderObject::Header::lens

Definition at line 161 of file itkMRCHeaderObject.h.

◆ mode

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 = 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 84 of file itkMRCHeaderObject.h.

◆ mx

int32_t itk::MRCHeaderObject::Header::mx

Grid size in X, Y, and Z

Definition at line 92 of file itkMRCHeaderObject.h.

◆ my

int32_t itk::MRCHeaderObject::Header::my

Definition at line 93 of file itkMRCHeaderObject.h.

◆ mz

int32_t itk::MRCHeaderObject::Header::mz

Definition at line 94 of file itkMRCHeaderObject.h.

◆ nd1

int16_t itk::MRCHeaderObject::Header::nd1

Definition at line 162 of file itkMRCHeaderObject.h.

◆ nd2

int16_t itk::MRCHeaderObject::Header::nd2

Definition at line 163 of file itkMRCHeaderObject.h.

◆ nint

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 139 of file itkMRCHeaderObject.h.

◆ notused2

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

extra data (not used)

Definition at line 156 of file itkMRCHeaderObject.h.

◆ nreal

int16_t itk::MRCHeaderObject::Header::nreal

Definition at line 141 of file itkMRCHeaderObject.h.

◆ nxstart

int32_t itk::MRCHeaderObject::Header::nxstart

Starting point of sub image. (ignored)

Definition at line 87 of file itkMRCHeaderObject.h.

◆ nystart

int32_t itk::MRCHeaderObject::Header::nystart

Definition at line 88 of file itkMRCHeaderObject.h.

◆ nzstart

int32_t itk::MRCHeaderObject::Header::nzstart

Definition at line 89 of file itkMRCHeaderObject.h.

◆ rms

float itk::MRCHeaderObject::Header::rms

Definition at line 179 of file itkMRCHeaderObject.h.

◆ tiltangles

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

Definition at line 168 of file itkMRCHeaderObject.h.

◆ vd1

int16_t itk::MRCHeaderObject::Header::vd1

Definition at line 164 of file itkMRCHeaderObject.h.

◆ vd2

int16_t itk::MRCHeaderObject::Header::vd2

Definition at line 165 of file itkMRCHeaderObject.h.

◆ xlen

float itk::MRCHeaderObject::Header::xlen

Cell size; pixel spacing = xlen/mx

Definition at line 97 of file itkMRCHeaderObject.h.

◆ xorg

float itk::MRCHeaderObject::Header::xorg

Definition at line 171 of file itkMRCHeaderObject.h.

◆ ylen

float itk::MRCHeaderObject::Header::ylen

Definition at line 98 of file itkMRCHeaderObject.h.

◆ yorg

float itk::MRCHeaderObject::Header::yorg

Definition at line 172 of file itkMRCHeaderObject.h.

◆ zlen

float itk::MRCHeaderObject::Header::zlen

Definition at line 99 of file itkMRCHeaderObject.h.

◆ zorg

float itk::MRCHeaderObject::Header::zorg

Contains "MAP "
First two bytes have 17 and 17 for big-endian or 68 and 68 for little-endian

Definition at line 173 of file itkMRCHeaderObject.h.


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