ITK
4.9.0
Insight Segmentation and Registration Toolkit
|
#include <itkPolylineMask2DImageFilter.h>
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.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | NDimensions = TInputImage::ImageDimension |
static const unsigned int | NOutputDimensions = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TOutputImage > | |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Static Public Attributes inherited from itk::ImageSource< TOutputImage > | |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
Private Member Functions | |
void | operator= (const Self &) ITK_DELETE_FUNCTION |
PolylineMask2DImageFilter (const Self &) ITK_DELETE_FUNCTION | |
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 |
Static Protected Member Functions inherited from itk::ImageSource< TOutputImage > | |
static const ImageRegionSplitterBase * | GetGlobalDefaultSplitter () |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
AtomicInt< int > | m_ReferenceCount |
typedef SmartPointer< const Self > itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::ConstPointer |
Definition at line 56 of file itkPolylineMask2DImageFilter.h.
typedef InputImageType::ConstPointer itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::InputImageConstPointer |
Definition at line 73 of file itkPolylineMask2DImageFilter.h.
typedef InputImageType::PixelType itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::InputImagePixelType |
Definition at line 76 of file itkPolylineMask2DImageFilter.h.
typedef InputImageType::Pointer itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::InputImagePointer |
Definition at line 74 of file itkPolylineMask2DImageFilter.h.
typedef InputImageType::RegionType itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::InputImageRegionType |
Definition at line 75 of file itkPolylineMask2DImageFilter.h.
typedef TInputImage itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::InputImageType |
Some convenient typedefs for input image
Definition at line 72 of file itkPolylineMask2DImageFilter.h.
typedef OutputImageType::PixelType itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::OutputImagePixelType |
Definition at line 85 of file itkPolylineMask2DImageFilter.h.
typedef OutputImageType::Pointer itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::OutputImagePointer |
Definition at line 83 of file itkPolylineMask2DImageFilter.h.
typedef OutputImageType::RegionType itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::OutputImageRegionType |
Definition at line 84 of file itkPolylineMask2DImageFilter.h.
typedef TOutputImage itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::OutputImageType |
Definition at line 82 of file itkPolylineMask2DImageFilter.h.
typedef SmartPointer< Self > itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::Pointer |
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.
Definition at line 53 of file itkPolylineMask2DImageFilter.h.
typedef ImageToImageFilter< TInputImage, TOutputImage > itk::PolylineMask2DImageFilter< TInputImage, TPolyline, TOutputImage >::Superclass |
Definition at line 54 of file itkPolylineMask2DImageFilter.h.
|
protected |
|
inlineprotectedvirtual |
Definition at line 107 of file itkPolylineMask2DImageFilter.h.
|
private |
|
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.
|
overrideprotectedvirtual |
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.
|
private |
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 > | ) |
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.