ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkPowImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef PowImageFilter | Self |
typedef BinaryFunctorImageFilter < TInputImage1, TInputImage2, TOutputImage, Functor::Pow < typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
PowImageFilter () | |
PowImageFilter (const Self &) | |
void | operator= (const Self &) |
Computes the powers of 2 images.
This class is templated over the types of the two input images and the type of the output image. Numeric conversions (castings) are done by the C++ defaults.
The output of the pow function will be cast to the pixel type of the output image.
The total operation over one pixel will be
output_pixel = static_cast< TOutput >( vcl_pow(static_cast<RealType>(A),static_cast<RealType>(B)) );
The pow function can be applied to two images with the following:
Additionally, this filter can be used to raise every pixel of an image to a power of a constant by using
SetInput1( image1 ); SetConstant2( constant );
Definition at line 92 of file itkPowImageFilter.h.
typedef SmartPointer< const Self > itk::PowImageFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer |
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Pow< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Definition at line 111 of file itkPowImageFilter.h.
typedef SmartPointer< Self > itk::PowImageFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer |
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Pow< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Definition at line 110 of file itkPowImageFilter.h.
typedef PowImageFilter itk::PowImageFilter< TInputImage1, TInputImage2, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Pow< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Definition at line 103 of file itkPowImageFilter.h.
typedef BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Pow< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > itk::PowImageFilter< TInputImage1, TInputImage2, TOutputImage >::Superclass |
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Pow< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Definition at line 108 of file itkPowImageFilter.h.
itk::PowImageFilter< TInputImage1, TInputImage2, TOutputImage >::PowImageFilter | ( | ) | [inline, protected] |
Begin concept checking End concept checking
Definition at line 126 of file itkPowImageFilter.h.
itk::PowImageFilter< TInputImage1, TInputImage2, TOutputImage >::PowImageFilter | ( | const Self & | ) | [private] |
Begin concept checking End concept checking
virtual::itk::LightObject::Pointer itk::PowImageFilter< TInputImage1, TInputImage2, TOutputImage >::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Pow< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
virtual const char* itk::PowImageFilter< TInputImage1, TInputImage2, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Pow< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
static Pointer itk::PowImageFilter< TInputImage1, TInputImage2, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Pow< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
void itk::PowImageFilter< TInputImage1, TInputImage2, TOutputImage >::operator= | ( | const Self & | ) | [private] |
Begin concept checking End concept checking
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Pow< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.