ITK  4.13.0
Insight Segmentation and Registration Toolkit
Static Public Member Functions | List of all members
itk::IOTestHelper Class Reference

#include <itkIOTestHelper.h>

Detailed Description

Definition at line 29 of file itkIOTestHelper.h.

Static Public Member Functions

template<typename ImageType >
static ImageType::Pointer AllocateImageFromRegionAndSpacing (const typename ImageType::RegionType &region, const typename ImageType::SpacingType &spacing)
 
template<typename ImageType >
static ImageType::Pointer AllocateImageFromRegionAndSpacing (const typename ImageType::RegionType &region, const typename ImageType::SpacingType &spacing, int vecLength)
 
static void RandomPix (vnl_random &randgen, itk::RGBPixel< unsigned char > &pix)
 
template<typename TPixel >
static void RandomPix (vnl_random &randgen, TPixel &pix)
 
static void RandomPix (vnl_random &randgen, long long &pix)
 
static void RandomPix (vnl_random &randgen, unsigned long long &pix)
 
static void RandomPix (vnl_random &randgen, double &pix)
 
static void RandomPix (vnl_random &randgen, float &pix)
 
template<typename TImage >
static TImage::Pointer ReadImage (const std::string &fileName, const bool zeroOrigin=false)
 
static int Remove (const char *fname)
 
template<typename ImageType >
static void SetIdentityDirection (typename ImageType::Pointer &im)
 
template<typename ImageType , typename ImageIOType >
static void WriteImage (typename ImageType::Pointer &image, const std::string &filename)
 

Member Function Documentation

template<typename ImageType >
static ImageType::Pointer itk::IOTestHelper::AllocateImageFromRegionAndSpacing ( const typename ImageType::RegionType &  region,
const typename ImageType::SpacingType &  spacing 
)
inlinestatic

Definition at line 157 of file itkIOTestHelper.h.

template<typename ImageType >
static ImageType::Pointer itk::IOTestHelper::AllocateImageFromRegionAndSpacing ( const typename ImageType::RegionType &  region,
const typename ImageType::SpacingType &  spacing,
int  vecLength 
)
inlinestatic

Definition at line 169 of file itkIOTestHelper.h.

static void itk::IOTestHelper::RandomPix ( vnl_random &  randgen,
itk::RGBPixel< unsigned char > &  pix 
)
inlinestatic

Definition at line 101 of file itkIOTestHelper.h.

template<typename TPixel >
static void itk::IOTestHelper::RandomPix ( vnl_random &  randgen,
TPixel &  pix 
)
inlinestatic

Definition at line 111 of file itkIOTestHelper.h.

static void itk::IOTestHelper::RandomPix ( vnl_random &  randgen,
long long &  pix 
)
inlinestatic

Definition at line 117 of file itkIOTestHelper.h.

static void itk::IOTestHelper::RandomPix ( vnl_random &  randgen,
unsigned long long &  pix 
)
inlinestatic

Definition at line 124 of file itkIOTestHelper.h.

static void itk::IOTestHelper::RandomPix ( vnl_random &  randgen,
double &  pix 
)
inlinestatic

Definition at line 131 of file itkIOTestHelper.h.

static void itk::IOTestHelper::RandomPix ( vnl_random &  randgen,
float &  pix 
)
inlinestatic

Definition at line 137 of file itkIOTestHelper.h.

template<typename TImage >
static TImage::Pointer itk::IOTestHelper::ReadImage ( const std::string &  fileName,
const bool  zeroOrigin = false 
)
inlinestatic

Definition at line 33 of file itkIOTestHelper.h.

static int itk::IOTestHelper::Remove ( const char *  fname)
inlinestatic

Definition at line 142 of file itkIOTestHelper.h.

template<typename ImageType >
static void itk::IOTestHelper::SetIdentityDirection ( typename ImageType::Pointer &  im)
inlinestatic
template<typename ImageType , typename ImageIOType >
static void itk::IOTestHelper::WriteImage ( typename ImageType::Pointer &  image,
const std::string &  filename 
)
inlinestatic

Definition at line 72 of file itkIOTestHelper.h.


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