plastimatch
Loading...
Searching...
No Matches
itk_image.h File Reference
#include "plmbase_config.h"
#include "plm_int.h"
#include "itk_direction_type.h"
#include "itk_image_type.h"

Go to the source code of this file.

Typedefs

typedef itk::Index< 3 > IndexType
 
typedef itk::Point< double, 3 > OriginType
 
typedef itk::ImageRegion< 3 > RegionType
 
typedef itk::Size< 3 > SizeType
 
typedef itk::Vector< double, 3 > SpacingType
 
typedef itk::VariableLengthVector< unsigned char > UCharVecType
 

Functions

EXTERNC void itk_image_get_props (const std::string &fileName, int *num_dimensions, itk::ImageIOBase::IOPixelType *pixel_type, itk::ImageIOBase::IOComponentType *component_type, int *num_components)
 
template<class T >
void get_image_header (plm_long dim[3], float offset[3], float spacing[3], T image)
 
template<class T >
void itk_image_get_volume_header (Volume_header *vh, T image)
 
template<class T >
void itk_image_set_header (T image, const Plm_image_header *pih)
 
template<class T >
void itk_image_set_header (T image, const Plm_image_header &pih)
 
template<class T , class U >
void itk_image_header_copy (T dest, U src)
 
template<class T >
void itk_volume_center (float center[3], const T image)
 
template<class T >
itk_image_fix_negative_spacing (T img)
 

Typedef Documentation

◆ IndexType

typedef itk::Index< 3 > IndexType

◆ OriginType

typedef itk::Point< double, 3 > OriginType

◆ RegionType

typedef itk::ImageRegion< 3 > RegionType

◆ SizeType

typedef itk::Size< 3 > SizeType

◆ SpacingType

typedef itk::Vector< double, 3 > SpacingType

◆ UCharVecType

typedef itk::VariableLengthVector<unsigned char> UCharVecType

Function Documentation

◆ get_image_header()

template<class T >
void get_image_header ( plm_long dim[3],
float offset[3],
float spacing[3],
T image )

◆ itk_image_fix_negative_spacing()

template<class T >
T itk_image_fix_negative_spacing ( T img)

◆ itk_image_get_props()

EXTERNC void itk_image_get_props ( const std::string & fileName,
int * num_dimensions,
itk::ImageIOBase::IOPixelType * pixel_type,
itk::ImageIOBase::IOComponentType * component_type,
int * num_components )

◆ itk_image_get_volume_header()

template<class T >
void itk_image_get_volume_header ( Volume_header * vh,
T image )

◆ itk_image_header_copy()

template<class T , class U >
void itk_image_header_copy ( T dest,
U src )

◆ itk_image_set_header() [1/2]

template<class T >
void itk_image_set_header ( T image,
const Plm_image_header & pih )

◆ itk_image_set_header() [2/2]

template<class T >
void itk_image_set_header ( T image,
const Plm_image_header * pih )

◆ itk_volume_center()

template<class T >
void itk_volume_center ( float center[3],
const T image )