#include <itkIOTestHelper.h>
List of all members.
Static Public Member Functions |
template<class ImageType > |
static ImageType::Pointer | AllocateImageFromRegionAndSpacing (const typename ImageType::RegionType ®ion, const typename ImageType::SpacingType &spacing) |
template<class ImageType > |
static ImageType::Pointer | AllocateImageFromRegionAndSpacing (const typename ImageType::RegionType ®ion, 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, 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<class ImageType > |
static void | SetIdentityDirection (typename ImageType::Pointer &im) |
template<class ImageType , class ImageIOType > |
static void | WriteImage (typename ImageType::Pointer &image, const std::string &filename) |
Detailed Description
Definition at line 28 of file itkIOTestHelper.h.
Member Function Documentation
template<class ImageType >
static ImageType::Pointer itk::IOTestHelper::AllocateImageFromRegionAndSpacing |
( |
const typename ImageType::RegionType & |
region, |
|
|
const typename ImageType::SpacingType & |
spacing |
|
) |
| |
|
inlinestatic |
template<class ImageType >
static ImageType::Pointer itk::IOTestHelper::AllocateImageFromRegionAndSpacing |
( |
const typename ImageType::RegionType & |
region, |
|
|
const typename ImageType::SpacingType & |
spacing, |
|
|
int |
vecLength |
|
) |
| |
|
inlinestatic |
static void itk::IOTestHelper::RandomPix |
( |
vnl_random & |
randgen, |
|
|
itk::RGBPixel< unsigned char > & |
pix |
|
) |
| |
|
inlinestatic |
template<typename TPixel >
static void itk::IOTestHelper::RandomPix |
( |
vnl_random & |
randgen, |
|
|
TPixel & |
pix |
|
) |
| |
|
inlinestatic |
static void itk::IOTestHelper::RandomPix |
( |
vnl_random & |
randgen, |
|
|
double & |
pix |
|
) |
| |
|
inlinestatic |
static void itk::IOTestHelper::RandomPix |
( |
vnl_random & |
randgen, |
|
|
float & |
pix |
|
) |
| |
|
inlinestatic |
template<typename TImage >
static TImage::Pointer itk::IOTestHelper::ReadImage |
( |
const std::string & |
fileName, |
|
|
const bool |
zeroOrigin = false |
|
) |
| |
|
inlinestatic |
static int itk::IOTestHelper::Remove |
( |
const char * |
fname | ) |
|
|
inlinestatic |
template<class ImageType >
static void itk::IOTestHelper::SetIdentityDirection |
( |
typename ImageType::Pointer & |
im | ) |
|
|
inlinestatic |
template<class ImageType , class ImageIOType >
static void itk::IOTestHelper::WriteImage |
( |
typename ImageType::Pointer & |
image, |
|
|
const std::string & |
filename |
|
) |
| |
|
inlinestatic |
The documentation for this class was generated from the following file: