#include <itkIOTestHelper.h>
Definition at line 34 of file itkIOTestHelper.h.
|
| template<typename ImageType> |
| static ImageType::Pointer | AllocateImageFromRegionAndSpacing (const typename ImageType::RegionType ®ion, const typename ImageType::SpacingType &spacing) |
| |
| template<typename ImageType> |
| static ImageType::Pointer | AllocateImageFromRegionAndSpacing (const typename ImageType::RegionType ®ion, const typename ImageType::SpacingType &spacing, int vecLength) |
| |
| template<typename T> |
| static T | BoundedRandom (std::mt19937 &randomNumberEngine, T bound) |
| |
| template<typename T> |
| static void | RandomPix (std::mt19937 &randomNumberEngine, itk::RGBPixel< T > &pix, double _max=static_cast< double >(itk::NumericTraits< T >::max())) |
| |
| template<typename T, unsigned int VLength> |
| static void | RandomPix (std::mt19937 &randomNumberEngine, itk::Vector< T, VLength > &pix, double _max=static_cast< double >(itk::NumericTraits< T >::max())) |
| |
| template<typename TPixel> |
| static void | RandomPix (std::mt19937 &randomNumberEngine, TPixel &pix, double _max=static_cast< double >(itk::NumericTraits< TPixel >::max())) |
| |
| template<typename TImage> |
| static TImage::Pointer | ReadImage (const std::string &fileName, const bool zeroOrigin=false, ImageIOBase::Pointer imageio=nullptr) |
| |
| 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, typename ImageIOType::Pointer imageio=nullptr) |
| |
◆ AllocateImageFromRegionAndSpacing() [1/2]
template<typename ImageType>
| static ImageType::Pointer itk::IOTestHelper::AllocateImageFromRegionAndSpacing |
( |
const typename ImageType::RegionType & | region, |
|
|
const typename ImageType::SpacingType & | spacing ) |
|
inlinestatic |
◆ AllocateImageFromRegionAndSpacing() [2/2]
template<typename ImageType>
| static ImageType::Pointer itk::IOTestHelper::AllocateImageFromRegionAndSpacing |
( |
const typename ImageType::RegionType & | region, |
|
|
const typename ImageType::SpacingType & | spacing, |
|
|
int | vecLength ) |
|
inlinestatic |
◆ BoundedRandom()
template<typename T>
| static T itk::IOTestHelper::BoundedRandom |
( |
std::mt19937 & | randomNumberEngine, |
|
|
T | bound ) |
|
inlinestatic |
◆ RandomPix() [1/3]
template<typename T>
| static void itk::IOTestHelper::RandomPix |
( |
std::mt19937 & | randomNumberEngine, |
|
|
itk::RGBPixel< T > & | pix, |
|
|
double | _max = static_cast<double>(itk::NumericTraits<T>::max()) ) |
|
inlinestatic |
◆ RandomPix() [2/3]
template<typename T, unsigned int VLength>
| static void itk::IOTestHelper::RandomPix |
( |
std::mt19937 & | randomNumberEngine, |
|
|
itk::Vector< T, VLength > & | pix, |
|
|
double | _max = static_cast<double>(itk::NumericTraits<T>::max()) ) |
|
inlinestatic |
◆ RandomPix() [3/3]
template<typename TPixel>
| static void itk::IOTestHelper::RandomPix |
( |
std::mt19937 & | randomNumberEngine, |
|
|
TPixel & | pix, |
|
|
double | _max = static_cast<double>(itk::NumericTraits<TPixel>::max()) ) |
|
inlinestatic |
◆ ReadImage()
template<typename TImage>
| static TImage::Pointer itk::IOTestHelper::ReadImage |
( |
const std::string & | fileName, |
|
|
const bool | zeroOrigin = false, |
|
|
ImageIOBase::Pointer | imageio = nullptr ) |
|
inlinestatic |
◆ Remove()
| static int itk::IOTestHelper::Remove |
( |
const char * | fname | ) |
|
|
inlinestatic |
◆ SetIdentityDirection()
template<typename ImageType>
| static void itk::IOTestHelper::SetIdentityDirection |
( |
typename ImageType::Pointer & | im | ) |
|
|
inlinestatic |
◆ WriteImage()
template<typename ImageType, typename ImageIOType>
| static void itk::IOTestHelper::WriteImage |
( |
typename ImageType::Pointer | image, |
|
|
const std::string & | filename, |
|
|
typename ImageIOType::Pointer | imageio = nullptr ) |
|
inlinestatic |
The documentation for this class was generated from the following file: