#include <itkImageAlgorithm.h>
|
template<typename InputImageType , typename OutputImageType > |
static void | Copy (const InputImageType *inImage, OutputImageType *outImage, const typename InputImageType::RegionType &inRegion, const typename OutputImageType::RegionType &outRegion) |
|
template<typename InputImageType , typename OutputImageType > |
static OutputImageType::RegionType | EnlargeRegionOverBox (const typename InputImageType::RegionType &inputRegion, const InputImageType *inputImage, const OutputImageType *outputImage) |
|
template<typename InputImageType , typename OutputImageType , typename TransformType > |
static OutputImageType::RegionType | EnlargeRegionOverBox (const typename InputImageType::RegionType &inputRegion, const InputImageType *inputImage, const OutputImageType *outputImage, const TransformType *transform) |
|
|
template<typename InputImageType , typename OutputImageType > |
static void | DispatchedCopy (const InputImageType *inImage, OutputImageType *outImage, const typename InputImageType::RegionType &inRegion, const typename OutputImageType::RegionType &outRegion, FalseType isSpecialized=FalseType()) |
|
template<typename InputImageType , typename OutputImageType > |
static void | DispatchedCopy (const InputImageType *inImage, OutputImageType *outImage, const typename InputImageType::RegionType &inRegion, const typename OutputImageType::RegionType &outRegion, TrueType isSpecialized) |
|
|
template<typename TType > |
static TType * | CopyHelper (const TType *first, const TType *last, TType *result) |
|
A container of static functions which can operate on Images with Iterators.
These methods are modeled after the STL algorithms. They may use special optimization techniques to implement enhanced versions of the methods.
Definition at line 42 of file itkImageAlgorithm.h.
◆ FalseType
◆ TrueType
◆ Copy()
template<typename InputImageType , typename OutputImageType >
static void itk::ImageAlgorithm::Copy |
( |
const InputImageType * |
inImage, |
|
|
OutputImageType * |
outImage, |
|
|
const typename InputImageType::RegionType & |
inRegion, |
|
|
const typename OutputImageType::RegionType & |
outRegion |
|
) |
| |
|
inlinestatic |
while( !it.IsAtEnd() )
{
ot.Set( static_cast< typename TInputImage::PixelType >( it.Get() ) );
++ot;
++it;
}
\endcode
\note: It is important not to explicitly pass the template
arguments to this method as it may not result in an optimized
method being called.
Definition at line 72 of file itkImageAlgorithm.h.
References DispatchedCopy().
◆ CopyHelper()
template<typename TType >
static TType* itk::ImageAlgorithm::CopyHelper |
( |
const TType * |
first, |
|
|
const TType * |
last, |
|
|
TType * |
result |
|
) |
| |
|
inlinestaticprivate |
◆ DispatchedCopy() [1/2]
template<typename InputImageType , typename OutputImageType >
static void itk::ImageAlgorithm::DispatchedCopy |
( |
const InputImageType * |
inImage, |
|
|
OutputImageType * |
outImage, |
|
|
const typename InputImageType::RegionType & |
inRegion, |
|
|
const typename OutputImageType::RegionType & |
outRegion, |
|
|
FalseType |
isSpecialized = FalseType() |
|
) |
| |
|
staticprivate |
this is the reference image iterator implementation
◆ DispatchedCopy() [2/2]
template<typename InputImageType , typename OutputImageType >
static void itk::ImageAlgorithm::DispatchedCopy |
( |
const InputImageType * |
inImage, |
|
|
OutputImageType * |
outImage, |
|
|
const typename InputImageType::RegionType & |
inRegion, |
|
|
const typename OutputImageType::RegionType & |
outRegion, |
|
|
TrueType |
isSpecialized |
|
) |
| |
|
staticprivate |
This is an optimized method which requires the input and output images to be the same, and the pixel being POD (Plain Old Data).
Referenced by Copy().
◆ EnlargeRegionOverBox() [1/2]
template<typename InputImageType , typename OutputImageType >
static OutputImageType::RegionType itk::ImageAlgorithm::EnlargeRegionOverBox |
( |
const typename InputImageType::RegionType & |
inputRegion, |
|
|
const InputImageType * |
inputImage, |
|
|
const OutputImageType * |
outputImage |
|
) |
| |
|
static |
Sets the output region to the smallest region of the output image that fully contains the physical space covered by the input region of the input image.
◆ EnlargeRegionOverBox() [2/2]
template<typename InputImageType , typename OutputImageType , typename TransformType >
static OutputImageType::RegionType itk::ImageAlgorithm::EnlargeRegionOverBox |
( |
const typename InputImageType::RegionType & |
inputRegion, |
|
|
const InputImageType * |
inputImage, |
|
|
const OutputImageType * |
outputImage, |
|
|
const TransformType * |
transform |
|
) |
| |
|
static |
The documentation for this class was generated from the following file: