ITK 6.0.0
Insight Toolkit
 
Loading...
Searching...
No Matches
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.

Public Attributes

float alpha
 
float amax
 
float amean
 
float amin
 
float beta
 
char cmap [4]
 
int16_t creatid
 
float gamma
 
int16_t idtype
 
int16_t ispg
 
char label [10][80]
 
int16_t lens
 
int32_t mapc
 
int32_t mapr
 
int32_t maps
 
int32_t mode
 
int32_t mx
 
int32_t my
 
int32_t mz
 
int16_t nd1
 
int16_t nd2
 
int32_t next
 
int16_t nint
 
int32_t nlabl
 
int8_t notused1 [30]
 
int8_t notused2 [28]
 
int16_t nreal
 
int16_t nsymbt
 
int32_t nx
 
int32_t nxstart
 
int32_t ny
 
int32_t nystart
 
int32_t nz
 
int32_t nzstart
 
float rms
 
char stamp [4]
 
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 99 of file itkMRCHeaderObject.h.

◆ amax

float itk::MRCHeaderObject::Header::amax

Maximum pixel value.

Definition at line 110 of file itkMRCHeaderObject.h.

◆ amean

float itk::MRCHeaderObject::Header::amean

Mean pixel value.

Definition at line 111 of file itkMRCHeaderObject.h.

◆ amin

float itk::MRCHeaderObject::Header::amin

Minimum pixel value.

Definition at line 109 of file itkMRCHeaderObject.h.

◆ beta

float itk::MRCHeaderObject::Header::beta

Definition at line 100 of file itkMRCHeaderObject.h.

◆ cmap

char itk::MRCHeaderObject::Header::cmap[4]

Contains "MAP "

Definition at line 166 of file itkMRCHeaderObject.h.

◆ creatid

int16_t itk::MRCHeaderObject::Header::creatid

Creator ID

Definition at line 117 of file itkMRCHeaderObject.h.

◆ gamma

float itk::MRCHeaderObject::Header::gamma

Definition at line 101 of file itkMRCHeaderObject.h.

◆ idtype

int16_t itk::MRCHeaderObject::Header::idtype

Definition at line 150 of file itkMRCHeaderObject.h.

◆ ispg

int16_t itk::MRCHeaderObject::Header::ispg

image type

Definition at line 113 of file itkMRCHeaderObject.h.

◆ label

char itk::MRCHeaderObject::Header::label[10][80]

10 labels of 80 characters.

Definition at line 173 of file itkMRCHeaderObject.h.

◆ lens

int16_t itk::MRCHeaderObject::Header::lens

Definition at line 152 of file itkMRCHeaderObject.h.

◆ mapc

int32_t itk::MRCHeaderObject::Header::mapc

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

Definition at line 103 of file itkMRCHeaderObject.h.

◆ mapr

int32_t itk::MRCHeaderObject::Header::mapr

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

Definition at line 104 of file itkMRCHeaderObject.h.

◆ maps

int32_t itk::MRCHeaderObject::Header::maps

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

Definition at line 105 of file itkMRCHeaderObject.h.

◆ mode

int32_t itk::MRCHeaderObject::Header::mode

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

◆ mx

int32_t itk::MRCHeaderObject::Header::mx

Grid size in X, Y, and Z

Definition at line 89 of file itkMRCHeaderObject.h.

◆ my

int32_t itk::MRCHeaderObject::Header::my

Definition at line 90 of file itkMRCHeaderObject.h.

◆ mz

int32_t itk::MRCHeaderObject::Header::mz

Definition at line 91 of file itkMRCHeaderObject.h.

◆ nd1

int16_t itk::MRCHeaderObject::Header::nd1

Definition at line 153 of file itkMRCHeaderObject.h.

◆ nd2

int16_t itk::MRCHeaderObject::Header::nd2

Definition at line 154 of file itkMRCHeaderObject.h.

◆ next

int32_t itk::MRCHeaderObject::Header::next

number of bytes in extended header

Definition at line 116 of file itkMRCHeaderObject.h.

◆ nint

int16_t itk::MRCHeaderObject::Header::nint

Definition at line 130 of file itkMRCHeaderObject.h.

◆ nlabl

int32_t itk::MRCHeaderObject::Header::nlabl

Number of labels with useful data.

Definition at line 172 of file itkMRCHeaderObject.h.

◆ notused1

int8_t itk::MRCHeaderObject::Header::notused1[30]

extra data (not used)

Definition at line 119 of file itkMRCHeaderObject.h.

◆ notused2

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

extra data (not used)

Definition at line 147 of file itkMRCHeaderObject.h.

◆ nreal

int16_t itk::MRCHeaderObject::Header::nreal

Definition at line 132 of file itkMRCHeaderObject.h.

◆ nsymbt

int16_t itk::MRCHeaderObject::Header::nsymbt

space group number

Definition at line 114 of file itkMRCHeaderObject.h.

◆ nx

int32_t itk::MRCHeaderObject::Header::nx

Number of Columns

Definition at line 68 of file itkMRCHeaderObject.h.

◆ nxstart

int32_t itk::MRCHeaderObject::Header::nxstart

Starting point of sub image. (ignored)

Definition at line 84 of file itkMRCHeaderObject.h.

◆ ny

int32_t itk::MRCHeaderObject::Header::ny

Number of Rows

Definition at line 69 of file itkMRCHeaderObject.h.

◆ nystart

int32_t itk::MRCHeaderObject::Header::nystart

Definition at line 85 of file itkMRCHeaderObject.h.

◆ nz

int32_t itk::MRCHeaderObject::Header::nz

Number of Sections

Definition at line 70 of file itkMRCHeaderObject.h.

◆ nzstart

int32_t itk::MRCHeaderObject::Header::nzstart

Definition at line 86 of file itkMRCHeaderObject.h.

◆ rms

float itk::MRCHeaderObject::Header::rms

Definition at line 169 of file itkMRCHeaderObject.h.

◆ stamp

char itk::MRCHeaderObject::Header::stamp[4]

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

Definition at line 167 of file itkMRCHeaderObject.h.

◆ tiltangles

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

Definition at line 159 of file itkMRCHeaderObject.h.

◆ vd1

int16_t itk::MRCHeaderObject::Header::vd1

Definition at line 155 of file itkMRCHeaderObject.h.

◆ vd2

int16_t itk::MRCHeaderObject::Header::vd2

Definition at line 156 of file itkMRCHeaderObject.h.

◆ xlen

float itk::MRCHeaderObject::Header::xlen

Cell size; pixel spacing = xlen/mx

Definition at line 94 of file itkMRCHeaderObject.h.

◆ xorg

float itk::MRCHeaderObject::Header::xorg

Definition at line 162 of file itkMRCHeaderObject.h.

◆ ylen

float itk::MRCHeaderObject::Header::ylen

Definition at line 95 of file itkMRCHeaderObject.h.

◆ yorg

float itk::MRCHeaderObject::Header::yorg

Definition at line 163 of file itkMRCHeaderObject.h.

◆ zlen

float itk::MRCHeaderObject::Header::zlen

Definition at line 96 of file itkMRCHeaderObject.h.

◆ zorg

float itk::MRCHeaderObject::Header::zorg

Definition at line 164 of file itkMRCHeaderObject.h.


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