ITK  4.1.0
Insight Segmentation and Registration Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions
itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage > Class Template Reference

#include <itkDivideImageFilter.h>

+ Inheritance diagram for itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >:
+ Collaboration diagram for itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >:

List of all members.

Public Types

typedef SmartPointer< const SelfConstPointer
typedef SmartPointer< SelfPointer
typedef DivideImageFilter Self
typedef
BinaryFunctorImageFilter
< TInputImage1, TInputImage2,
TOutputImage, Functor::Div
< 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
 typedef (Concept::Convertible< int, typename TInputImage2::PixelType >) IntConvertibleToInput2Check
 typedef (Concept::DivisionOperators< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType >) Input1Input2OutputDivisionOperatorsCheck

Static Public Member Functions

static Pointer New ()

Protected Member Functions

void GenerateData ()
 DivideImageFilter ()
virtual ~DivideImageFilter ()

Private Member Functions

 DivideImageFilter (const Self &)
void operator= (const Self &)

Detailed Description

template<class TInputImage1, class TInputImage2, class TOutputImage>
class itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >

Pixel-wise division of two images.

This class is templated over the types of the two input images and the type of the output image. When the divisor is zero, the division result is set to the maximum number that can be represented by default to avoid exception. Numeric conversions (castings) are done by the C++ defaults.

Wiki Examples:

Definition at line 81 of file itkDivideImageFilter.h.


Member Typedef Documentation

template<class TInputImage1, class TInputImage2, class TOutputImage>
typedef SmartPointer< const Self > itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer
template<class TInputImage1, class TInputImage2, class TOutputImage>
typedef SmartPointer< Self > itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer
template<class TInputImage1, class TInputImage2, class TOutputImage>
typedef DivideImageFilter itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::Self
template<class TInputImage1, class TInputImage2, class TOutputImage>
typedef BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Div< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::Superclass

Constructor & Destructor Documentation

template<class TInputImage1, class TInputImage2, class TOutputImage>
itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::DivideImageFilter ( ) [inline, protected]

End concept checking

Definition at line 132 of file itkDivideImageFilter.h.

template<class TInputImage1, class TInputImage2, class TOutputImage>
virtual itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::~DivideImageFilter ( ) [inline, protected, virtual]

End concept checking

Definition at line 133 of file itkDivideImageFilter.h.

template<class TInputImage1, class TInputImage2, class TOutputImage>
itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::DivideImageFilter ( const Self ) [private]

Member Function Documentation

template<class TInputImage1, class TInputImage2, class TOutputImage>
virtual::itk::LightObject::Pointer itk::DivideImageFilter< 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::Div< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.

Reimplemented in itk::DivideByConstantImageFilter< TInputImage, TConstant, TOutputImage >.

template<class TInputImage1, class TInputImage2, class TOutputImage>
void itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::GenerateData ( ) [inline, protected, virtual]

A version of GenerateData() specific for image processing filters. This implementation will split the processing across multiple threads. The buffer is allocated by this method. Then the BeforeThreadedGenerateData() method is called (if provided). Then, a series of threads are spawned each calling ThreadedGenerateData(). After all the threads have completed processing, the AfterThreadedGenerateData() method is called (if provided). If an image processing filter cannot be threaded, the filter should provide an implementation of GenerateData(). That implementation is responsible for allocating the output buffer. If a filter an be threaded, it should NOT provide a GenerateData() method but should provide a ThreadedGenerateData() instead.

See also:
ThreadedGenerateData()

Reimplemented from itk::ImageSource< TOutputImage >.

Definition at line 136 of file itkDivideImageFilter.h.

template<class TInputImage1, class TInputImage2, class TOutputImage>
virtual const char* itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::GetNameOfClass ( ) const [virtual]
template<class TInputImage1, class TInputImage2, class TOutputImage>
static Pointer itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::New ( ) [static]
template<class TInputImage1, class TInputImage2, class TOutputImage>
void itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::operator= ( const Self ) [private]

PushBackInput(), PushFronInput() in the public section force the input to be the type expected by an ImageToImageFilter. However, these methods end of "hiding" the versions from the superclass (ProcessObject) whose arguments are DataObjects. Here, we re-expose the versions from ProcessObject to avoid warnings about hiding methods from the superclass.

Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Div< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.

template<class TInputImage1, class TInputImage2, class TOutputImage>
itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::typedef ( Concept::Convertible< int, typename TInputImage2::PixelType >  )

Begin concept checking This class requires IntConvertibleToInput2Check in the form of ( Concept::Convertible< int, typename TInputImage2::PixelType > )

template<class TInputImage1, class TInputImage2, class TOutputImage>
itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::typedef ( Concept::DivisionOperators< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType >  )

This class requires Input1Input2OutputDivisionOperatorsCheck in the form of ( Concept::DivisionOperators< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > )


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