NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Base class for MIDASConditionalErosionFilter and MIDASConditionalDilationFilter. More...
Public Member Functions | |
virtual const char * | GetClassName () const |
void | SetRegion (InputMaskImageRegionType region) |
InputMaskImageRegionType | GetRegion () const |
virtual void | SetNumberOfIterations (unsigned int _arg) |
virtual unsigned int | GetNumberOfIterations () const |
virtual void | SetInValue (PixelType1 _arg) |
virtual PixelType1 | GetInValue () const |
virtual void | SetOutValue (PixelType1 _arg) |
virtual PixelType1 | GetOutValue () const |
void | SetBinaryImageInput (const InputMaskImageType *image) |
void | SetGreyScaleImageInput (const InputMainImageType *image) |
Protected Member Functions | |
MIDASBaseConditionalMorphologyFilter () | |
virtual | ~MIDASBaseConditionalMorphologyFilter () |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | GenerateData () |
virtual void | DoFilter (InputMainImageType *inGrey, OutputImageType *inMask, OutputImageType *out)=0 |
virtual void | BeforeFilter () |
virtual void | AfterFilter () |
virtual void | BeforeIteration () |
virtual void | AfterIteration () |
void | CopyImageData (OutputImageType *in, OutputImageType *out) |
bool | IsOnBoundaryOfImage (const OutputImageIndexType &voxelIndex, const OutputImageSizeType &size) |
bool | IsOnBoundaryOfRegion (const OutputImageIndexType &voxelIndex, const OutputImageRegionType ®ion) |
Protected Attributes | |
InputMaskImageRegionType | m_Region |
bool | m_UserSetRegion |
Base class for MIDASConditionalErosionFilter and MIDASConditionalDilationFilter.
typedef SmartPointer<const Self> itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer |
typedef InputMainImageType::Pointer itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImagePointer |
typedef InputMainImageType::RegionType itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImageRegionType |
typedef InputMainImageType::SizeType itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImageSizeType |
typedef TInputImage2 itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImageType |
typedef InputMaskImageType::IndexType itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageIndexType |
typedef InputMaskImageType::Pointer itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImagePointer |
typedef InputMaskImageType::RegionType itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageRegionType |
typedef InputMaskImageType::SizeType itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageSizeType |
typedef TInputImage1 itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageType |
Some additional typedefs
typedef MaskImageDuplicatorType::Pointer itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::MaskImageDuplicatorPointer |
typedef itk::ImageDuplicator<OutputImageType> itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::MaskImageDuplicatorType |
So we can copy the mask image.
typedef OutputImageType::IndexType itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageIndexType |
typedef OutputImageType::Pointer itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImagePointer |
typedef itk::ConstNeighborhoodIterator<OutputImageType>::RadiusType itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageRadiusType |
typedef OutputImageType::RegionType itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageRegionType |
typedef OutputImageType::SizeType itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageSizeType |
typedef TOutputImage itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageType |
typedef TInputImage1::PixelType itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::PixelType1 |
Typedef to describe the type of pixel for the first image, which should be the binary mask image.
typedef TInputImage2::PixelType itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::PixelType2 |
Typedef to describe the type of pixel for the second image, which should be a grey scale image.
typedef SmartPointer<Self> itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer |
typedef MIDASBaseConditionalMorphologyFilter itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::Self |
Standard class typedefs
typedef ImageToImageFilter<TInputImage1, TOutputImage> itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::SuperClass |
|
protected |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
This method called right at the end of the filter.
|
inlineprotectedvirtual |
This method called at the end of each iteration of filtering.
|
inlineprotectedvirtual |
This method called after some initial sanity checks, but before the main filtering process runs.
|
inlineprotectedvirtual |
This method called at the start of each iteration of filtering.
|
protected |
|
protectedpure virtual |
GenerateData() is implemented in this class for both sub-classess and calls DoFilter, (TemplateMethod pattern).
Implemented in itk::MIDASConditionalDilationFilter< TInputImage1, TInputImage2, TOutputImage >, and itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >.
|
protectedvirtual |
The main method to implement the erosion in this single-threaded class
|
virtual |
Run-time type information (and related methods)
Reimplemented in itk::MIDASConditionalDilationFilter< TInputImage1, TInputImage2, TOutputImage >, and itk::MIDASConditionalErosionFilter< TInputImage1, TInputImage2, TOutputImage >.
|
virtual |
|
virtual |
|
virtual |
|
inline |
|
protected |
|
protected |
|
protected |
void itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::SetBinaryImageInput | ( | const InputMaskImageType * | image | ) |
Set the first input, which is the binary mask, that will be eroded/dilated.
void itk::MIDASBaseConditionalMorphologyFilter< TInputImage1, TInputImage2, TOutputImage >::SetGreyScaleImageInput | ( | const InputMainImageType * | image | ) |
Set the second input, for the grey scale image.
|
virtual |
Set/Get methods to set the output value for inside the region. Default 1.
|
virtual |
Set/Get methods to set the number of iterations, which in subclasses could be erosions or dilations. Default 0.
|
virtual |
Set/Get methods to set the output value for inside the region. Default 0.
|
inline |
Set/Get methods to set the region to keep.
|
protected |
|
protected |