NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Performs the re-thresholding, described in step 5 of "Interactive Algorithms for the segmentation and quantification of 3-D MRI scans" Freeborough et. al. CMPB 53 (1997) 15-25. More...
Public Member Functions | |
virtual const char * | GetClassName () const |
void | SetGreyScaleImageInput (const InputMainImageType *image) |
void | SetBinaryImageInput (const InputMaskImageType *image) |
void | SetThresholdedImageInput (const InputMaskImageType *image) |
virtual void | SetInValue (PixelType2 _arg) |
virtual PixelType2 | GetInValue () const |
virtual void | SetOutValue (PixelType2 _arg) |
virtual PixelType2 | GetOutValue () const |
virtual void | SetDownSamplingFactor (unsigned int _arg) |
virtual unsigned int | GetDownSamplingFactor () const |
virtual void | SetLowPercentageThreshold (unsigned int _arg) |
virtual unsigned int | GetLowPercentageThreshold () const |
virtual void | SetHighPercentageThreshold (unsigned int _arg) |
virtual unsigned int | GetHighPercentageThreshold () const |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
MIDASRethresholdingFilter () | |
virtual | ~MIDASRethresholdingFilter () |
void | PrintSelf (std::ostream &os, Indent indent) const |
void | GenerateData () |
Performs the re-thresholding, described in step 5 of "Interactive Algorithms for the segmentation and quantification of 3-D MRI scans" Freeborough et. al. CMPB 53 (1997) 15-25.
The image is downsampled by an integer amount using the parameter SetDownSamplingFactor. It is eroded using the standard ITK erosion with a simple binary cross structuring element. It is then upsampled to match the original size.
The net effect is that the interior region has holes filled. This filter is implemented as a composite filter to hide the memory management of different size images and the use of multiple filters.
typedef SmartPointer<const Self> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::ConstPointer |
typedef DownSamplingFilterType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::DownSamplingFilterPointer |
typedef itk::MIDASDownSamplingFilter<InputMaskImageType, InputMaskImageType> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::DownSamplingFilterType |
typedef ErosionFilterType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::ErosionFilterPointer |
typedef itk::BinaryErodeImageFilter<InputMaskImageType, InputMaskImageType, StructuringElementType> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::ErosionFilterType |
typedef InputMainImageType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImagePointer |
typedef InputMainImageType::RegionType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImageRegionType |
typedef InputMainImageType::SizeType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImageSizeType |
typedef TInputImage1 itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMainImageType |
Some additional typedefs
typedef InputMaskImageType::IndexType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageIndexType |
typedef InputMaskImageType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImagePointer |
typedef InputMaskImageType::RegionType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageRegionType |
typedef InputMaskImageType::SizeType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageSizeType |
typedef TInputImage2 itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::InputMaskImageType |
typedef OutputImageType::IndexType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageIndexType |
typedef OutputImageType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImagePointer |
typedef OutputImageType::RegionType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageRegionType |
typedef OutputImageType::SizeType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageSizeType |
typedef TInputImage2 itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::OutputImageType |
typedef PasteImageFilterType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::PasteImageFilterPointer |
typedef itk::PasteImageFilter<InputMaskImageType, InputMaskImageType> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::PasteImageFilterType |
typedef TInputImage1::PixelType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::PixelType1 |
Typedef to describe the type of pixel for the first image, which should be the grey scale image.
typedef TInputImage2::PixelType itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::PixelType2 |
Typedef to describe the type of pixel for the second image, which should be a binary mask image.
typedef SmartPointer<Self> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::Pointer |
typedef ROIImageFilterType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::ROIImageFilterPointer |
typedef itk::RegionOfInterestImageFilter<InputMaskImageType, InputMaskImageType> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::ROIImageFilterType |
typedef MIDASRethresholdingFilter itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::Self |
Standard class typedefs
typedef itk::BinaryCrossStructuringElement<typename InputMaskImageType::PixelType, InputMaskImageType::ImageDimension > itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::StructuringElementType |
typedef ImageToImageFilter<TInputImage1, TOutputImage> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SuperClass |
typedef UpSamplingFilterType::Pointer itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::UpSamplingFilterPointer |
typedef itk::MIDASUpSamplingFilter<InputMaskImageType, InputMaskImageType> itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::UpSamplingFilterType |
|
protected |
|
inlineprotectedvirtual |
|
protected |
Generate the output data.
|
virtual |
Run-time type information (and related methods)
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory
|
protected |
void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SetBinaryImageInput | ( | const InputMaskImageType * | image | ) |
Set the second input, which is the binary mask (output of dilation stage), that will be down sampled, eroded and up-sampled.
|
virtual |
Set/Get methods to set the down-sampling factor, which defaults to 1 which passes the mask image straight through.
void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SetGreyScaleImageInput | ( | const InputMainImageType * | image | ) |
Set the first input, for the grey scale image.
|
virtual |
Set/Get methods to set the high percentage threshold, which defaults to 150%
|
virtual |
Set/Get methods to set the output value for inside the region. Default 1.
|
virtual |
Set/Get methods to set the low percentage threshold, which defaults to 50%
|
virtual |
Set/Get methods to set the output value for outside the region. Default 0.
void itk::MIDASRethresholdingFilter< TInputImage1, TInputImage2, TOutputImage >::SetThresholdedImageInput | ( | const InputMaskImageType * | image | ) |
Sets the output of the thresholding stage onto this filter, as it provides a size basis for the down/up sampling.