ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkDivideImageFilter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
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 &) |
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.
Definition at line 81 of file itkDivideImageFilter.h.
typedef SmartPointer< const Self > itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer |
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Div< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Reimplemented in itk::DivideByConstantImageFilter< TInputImage, TConstant, TOutputImage >.
Definition at line 109 of file itkDivideImageFilter.h.
typedef SmartPointer< Self > itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer |
Smart pointer typedef support
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Div< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Reimplemented in itk::DivideByConstantImageFilter< TInputImage, TConstant, TOutputImage >.
Definition at line 108 of file itkDivideImageFilter.h.
typedef DivideImageFilter itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::Self |
Standard "Self" typedef.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Div< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Reimplemented in itk::DivideByConstantImageFilter< TInputImage, TConstant, TOutputImage >.
Definition at line 93 of file itkDivideImageFilter.h.
typedef BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Div< typename TInputImage1::PixelType, typename TInputImage2::PixelType, typename TOutputImage::PixelType > > itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::Superclass |
Standard "Superclass" typedef.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Div< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Reimplemented in itk::DivideByConstantImageFilter< TInputImage, TConstant, TOutputImage >.
Definition at line 103 of file itkDivideImageFilter.h.
itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::DivideImageFilter | ( | ) | [inline, protected] |
End concept checking
Definition at line 132 of file itkDivideImageFilter.h.
virtual itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::~DivideImageFilter | ( | ) | [inline, protected, virtual] |
End concept checking
Definition at line 133 of file itkDivideImageFilter.h.
itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::DivideImageFilter | ( | const Self & | ) | [private] |
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 >.
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.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 136 of file itkDivideImageFilter.h.
virtual const char* itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::GetNameOfClass | ( | ) | const [virtual] |
Runtime information support.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Div< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Reimplemented in itk::DivideByConstantImageFilter< TInputImage, TConstant, TOutputImage >.
static Pointer itk::DivideImageFilter< TInputImage1, TInputImage2, TOutputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
Reimplemented from itk::BinaryFunctorImageFilter< TInputImage1, TInputImage2, TOutputImage, Functor::Div< TInputImage1::PixelType, TInputImage2::PixelType, TOutputImage::PixelType > >.
Reimplemented in itk::DivideByConstantImageFilter< TInputImage, TConstant, 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 > >.
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 > )
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 > )