Developer documentation
Version 3.0.3-105-gd3941f44
MR::Header Class Reference

#include "header.h"

Inheritance diagram for MR::Header:
MR::Filter::Base MR::Image< ValueType >::Buffer MR::Filter::ConnectedComponents MR::Filter::DWIBrainMask MR::Filter::Dilate MR::Filter::Erode MR::Filter::FFT MR::Filter::Gradient MR::Filter::MaskClean MR::Filter::Median MR::Filter::Normalise MR::Filter::OptimalThreshold MR::Filter::Resize MR::Filter::Smooth MR::Filter::ZClean

Protected Member Functions

void acquire_io (Header &H)
 
void check (const Header &H) const
 
void realign_transform ()
 realign transform to match RAS coordinate system as closely as possible More...
 
void sanitise_voxel_sizes ()
 
void sanitise_transform ()
 
void sanitise_strides ()
 

Protected Attributes

vector< Axis > axes_
 
transform_type transform_
 
std::string name_
 
KeyValues keyval_
 
const char * format_
 
std::unique_ptr< ImageIO::Baseio
 additional information relevant for images stored on file More...
 
DataType datatype_
 the type of the data as stored on file More...
 
default_type offset_
 the values by which to scale the intensities More...
 
default_type scale_
 
std::array< size_t, 3 > realign_perm_
 
std::array< bool, 3 > realign_flip_
 

Friends

std::ostream & operator<< (std::ostream &stream, const Header &H)
 print out debugging information More...
 

Detailed Description

Definition at line 48 of file header.h.

Member Function Documentation

◆ acquire_io()

void MR::Header::acquire_io ( Header H)
inlineprotected

Definition at line 375 of file header.h.

◆ check()

void MR::Header::check ( const Header H) const
protected

◆ realign_transform()

void MR::Header::realign_transform ( )
protected

realign transform to match RAS coordinate system as closely as possible

◆ sanitise_strides()

void MR::Header::sanitise_strides ( )
inlineprotected

Definition at line 387 of file header.h.

◆ sanitise_transform()

void MR::Header::sanitise_transform ( )
protected

◆ sanitise_voxel_sizes()

void MR::Header::sanitise_voxel_sizes ( )
protected

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  stream,
const Header H 
)
friend

print out debugging information

Member Data Documentation

◆ axes_

vector<Axis> MR::Header::axes_
protected

Definition at line 361 of file header.h.

◆ datatype_

DataType MR::Header::datatype_
protected

the type of the data as stored on file

Definition at line 370 of file header.h.

◆ format_

const char* MR::Header::format_
protected

Definition at line 365 of file header.h.

◆ io

std::unique_ptr<ImageIO::Base> MR::Header::io
protected

additional information relevant for images stored on file

Definition at line 368 of file header.h.

◆ keyval_

KeyValues MR::Header::keyval_
protected

Definition at line 364 of file header.h.

◆ name_

std::string MR::Header::name_
protected

Definition at line 363 of file header.h.

◆ offset_

default_type MR::Header::offset_
protected

the values by which to scale the intensities

Definition at line 372 of file header.h.

◆ realign_flip_

std::array<bool, 3> MR::Header::realign_flip_
protected

Definition at line 383 of file header.h.

◆ realign_perm_

std::array<size_t, 3> MR::Header::realign_perm_
protected

store information about how image was realigned via realign_transform().

Definition at line 382 of file header.h.

◆ scale_

default_type MR::Header::scale_
protected

Definition at line 372 of file header.h.

◆ transform_

transform_type MR::Header::transform_
protected

Definition at line 362 of file header.h.


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