ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkPolylineMask2DImageFilter.h>
Static Public Member Functions | |
static Pointer | New () |
Additional Inherited Members | |
Protected Types inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(OutputImageDimension), itkGetStaticConstMacro(InputImageDimension) > | InputToOutputRegionCopierType |
typedef ImageToImageFilterDetail::ImageRegionCopier < itkGetStaticConstMacro(InputImageDimension), itkGetStaticConstMacro(OutputImageDimension) > | OutputToInputRegionCopierType |
Implements 2D image masking operation constrained by a contour.
This class is parameterized over input image type, contour defined by a polyline, and output image type. If the input image is three dimensional, the masking operation is performed on each slice (2D image). The output image will have two regions demarcated by the contour i.e inside(masked) and outside region. The pixels in the masked region will keep their original intensity values. Whereas, intensity value of pixels outside the masked region will be set to zero.
Definition at line 49 of file itkPolylineMask2DImageFilter.h.
typedef SmartPointer< const Self > itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::ConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 56 of file itkPolylineMask2DImageFilter.h.
typedef InputImageType::ConstPointer itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::InputImageConstPointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 73 of file itkPolylineMask2DImageFilter.h.
typedef InputImageType::PixelType itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::InputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 76 of file itkPolylineMask2DImageFilter.h.
typedef InputImageType::Pointer itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::InputImagePointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 74 of file itkPolylineMask2DImageFilter.h.
typedef InputImageType::RegionType itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::InputImageRegionType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 75 of file itkPolylineMask2DImageFilter.h.
typedef TInputImage itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::InputImageType |
Some convenient typedefs for input image
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 72 of file itkPolylineMask2DImageFilter.h.
typedef OutputImageType::PixelType itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::OutputImagePixelType |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 85 of file itkPolylineMask2DImageFilter.h.
typedef OutputImageType::Pointer itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::OutputImagePointer |
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 83 of file itkPolylineMask2DImageFilter.h.
typedef OutputImageType::RegionType itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::OutputImageRegionType |
Superclass typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 84 of file itkPolylineMask2DImageFilter.h.
typedef TOutputImage itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::OutputImageType |
Some convenient typedefs.
Reimplemented from itk::ImageSource< TOutputImage >.
Definition at line 82 of file itkPolylineMask2DImageFilter.h.
typedef SmartPointer< Self > itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::Pointer |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 55 of file itkPolylineMask2DImageFilter.h.
typedef TPolyline itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::PolylineType |
Definition at line 79 of file itkPolylineMask2DImageFilter.h.
typedef PolylineMask2DImageFilter itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::Self |
Standard class typedefs.
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 53 of file itkPolylineMask2DImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::Superclass |
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
Definition at line 54 of file itkPolylineMask2DImageFilter.h.
|
protected |
End concept checking
|
inlineprotectedvirtual |
End concept checking
Definition at line 110 of file itkPolylineMask2DImageFilter.h.
|
private |
End concept checking
|
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 |
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 >.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
|
static |
Method for creation through the object factory.
Reimplemented from itk::Object.
|
private |
End concept checking
Reimplemented from itk::ImageToImageFilter< TInputImage, TOutputImage >.
void itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::SetInput1 | ( | const InputImageType * | image | ) |
Read in image and polyline inputs
void itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::SetInput2 | ( | const PolylineType * | polyline | ) |
itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::typedef | ( | Concept::SameDimension< NDimensions, NOutputDimensions > | ) |
Begin concept checking This class requires SameDimensionCheck in the form of ( Concept::SameDimension< NDimensions, NOutputDimensions > )
itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::typedef | ( | Concept::Convertible< int, OutputImagePixelType > | ) |
This class requires IntConvertibleOutputCheck in the form of ( Concept::Convertible< int, OutputImagePixelType > )
itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::typedef | ( | Concept::EqualityComparable< OutputImagePixelType > | ) |
This class requires OutputEqualityComparableCheck in the form of ( Concept::EqualityComparable< OutputImagePixelType > )
itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::typedef | ( | Concept::Convertible< InputImagePixelType, OutputImagePixelType > | ) |
This class requires InputConvertibleToOutputCheck in the form of ( Concept::Convertible< InputImagePixelType, OutputImagePixelType > )
|
static |
Number of dimensions.
Definition at line 66 of file itkPolylineMask2DImageFilter.h.
|
static |
Number of dimensions.
Definition at line 68 of file itkPolylineMask2DImageFilter.h.