![]() |
ITK
4.13.0
Insight Segmentation and Registration Toolkit
|
#include <itkUnaryFunctorWithIndexImageFilter.h>
A (simplification of) UnaryFunctorImageFilter, which provides the pixel index to the functor.
Definition at line 41 of file itkUnaryFunctorWithIndexImageFilter.h.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Protected Types | |
typedef InputImageType::RegionType | InputRegionType |
typedef OutputImageType::RegionType | OutputRegionType |
![]() | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Protected Attributes | |
FunctorType | m_Functor |
![]() | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
![]() | |
AtomicInt< int > | m_ReferenceCount |
Additional Inherited Members | |
![]() | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
![]() | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
typedef SmartPointer< const Self > itk::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunctor >::ConstPointer |
Definition at line 48 of file itkUnaryFunctorWithIndexImageFilter.h.
typedef TFunctor itk::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunctor >::FunctorType |
Definition at line 58 of file itkUnaryFunctorWithIndexImageFilter.h.
typedef TInputImage itk::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunctor >::InputImageType |
Definition at line 54 of file itkUnaryFunctorWithIndexImageFilter.h.
|
protected |
Definition at line 67 of file itkUnaryFunctorWithIndexImageFilter.h.
typedef TOutputImage itk::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunctor >::OutputImageType |
Definition at line 57 of file itkUnaryFunctorWithIndexImageFilter.h.
|
protected |
Definition at line 68 of file itkUnaryFunctorWithIndexImageFilter.h.
typedef SmartPointer< Self > itk::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunctor >::Pointer |
Definition at line 47 of file itkUnaryFunctorWithIndexImageFilter.h.
typedef UnaryFunctorWithIndexImageFilter itk::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunctor >::Self |
Definition at line 45 of file itkUnaryFunctorWithIndexImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunctor >::Superclass |
Definition at line 46 of file itkUnaryFunctorWithIndexImageFilter.h.
|
inlineprotected |
Definition at line 63 of file itkUnaryFunctorWithIndexImageFilter.h.
|
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::Object.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
itk::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunctor >::GetSetFunctorMacro | ( | Functor | , |
FunctorType | |||
) |
|
static |
Method for creation through the object factory.
|
inlineoverrideprotectedvirtual |
If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an implementation of ThreadedGenerateData(). This superclass will automatically split the output image into a number of pieces, spawn multiple threads, and call ThreadedGenerateData() in each thread. Prior to spawning threads, the BeforeThreadedGenerateData() method is called. After all the threads have completed, the AfterThreadedGenerateData() method is called. If an image processing filter cannot support threading, that filter should provide an implementation of the GenerateData() method instead of providing an implementation of ThreadedGenerateData(). If a filter provides a GenerateData() method as its implementation, then the filter is responsible for allocating the output data. If a filter provides a ThreadedGenerateData() method as its implementation, then the output memory will allocated automatically by this superclass. The ThreadedGenerateData() method should only produce the output specified by "outputThreadRegion" parameter. ThreadedGenerateData() cannot write to any other portion of the output image (as this is responsibility of a different thread).
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 70 of file itkUnaryFunctorWithIndexImageFilter.h.
References itk::ImageConstIteratorWithIndex< TImage >::GetIndex(), itk::ImageToImageFilter< TInputImage, TOutputImage >::GetInput(), itk::ImageSource< TOutputImage >::GetOutput(), itk::ImageScanlineConstIterator< TImage >::GoToBegin(), itk::ImageConstIteratorWithIndex< TImage >::GoToBegin(), itk::ImageConstIterator< TImage >::IsAtEnd(), itk::ImageScanlineConstIterator< TImage >::IsAtEndOfLine(), itk::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunctor >::m_Functor, itk::ImageScanlineConstIterator< TImage >::NextLine(), itk::ImageScanlineIterator< TImage >::Set(), and itk::ImageConstIteratorWithIndex< TImage >::Value().
|
protected |
Definition at line 65 of file itkUnaryFunctorWithIndexImageFilter.h.
Referenced by itk::UnaryFunctorWithIndexImageFilter< TInputImage, TOutputImage, TFunctor >::ThreadedGenerateData().