ANIMA
4.0
|
Class selecting the connected components touching a given mask border. In MRI, external CSF may contain artifacts due to fluid flow. These effects can cause voxels in the cortex or external CSF to have intensities similar to MS lesions. In order to reduce the number of false positives due to these effects, we remove all candidate lesions that are contiguous to the brain mask border. More...
#include <animaRemoveTouchingBorderFilter.h>
Public Types | |
typedef itk::ConnectedComponentImageFilter< InputImageType, ImageTypeInt > | ConnectedComponentImageFilterType |
typedef itk::ConnectedComponentImageFilter< TMask, ImageTypeInt > | ConnectedComponentImageFilterType2 |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ImageRegionIterator< ImageTypeInt > | ImageIteratorTypeInt |
typedef itk::Image< PixelTypeInt, 3 > | ImageTypeInt |
typedef itk::ImageRegionConstIterator< InputImageType > | InputConstIteratorType |
typedef InputImageType::Pointer | InputImagePointer |
typedef TInput | InputImageType |
typedef itk::ImageRegionIterator< InputImageType > | InputIteratorType |
typedef itk::LabelContourImageFilter< ImageTypeInt, ImageTypeInt > | LabelContourImageFilterType |
typedef itk::LabelImageToLabelMapFilter< ImageTypeInt > | LabelImageToLabelMapFilterType |
typedef itk::LabelImageToLabelMapFilter< TInput, TOutputMap > | LabelImageToLabelMapFilterType2 |
typedef itk::LabelMapToLabelImageFilter< TOutputMap, ImageTypeInt > | LabelMapToLabelImageFilterType |
typedef itk::ImageRegionConstIterator< MaskImageType > | MaskConstIteratorType |
typedef MaskImageType::Pointer | MaskImagePointer |
typedef TMask | MaskImageType |
typedef itk::ImageRegionIterator< MaskImageType > | MaskIteratorType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef Superclass::OutputImageRegionType | OutputImageRegionType |
typedef TOutput | OutputImageType |
typedef itk::ImageRegionIterator< OutputImageType > | OutputIteratorType |
typedef unsigned int | PixelTypeInt |
typedef itk::SmartPointer< Self > | Pointer |
typedef RemoveTouchingBorderFilter | Self |
typedef itk::ImageToImageFilter< TInput, TOutput > | Superclass |
typedef LabelImageToLabelMapFilterType::OutputImageType | TOutputMap |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual bool | GetLabeledImage () |
virtual const char * | GetNameOfClass () const |
virtual bool | GetNoContour () |
TOutput * | GetOutputNonTouchingBorder () |
TOutput * | GetOutputTouchingBorder () |
virtual bool | GetVerbose () |
void | SetInputImageSeg (const TInput *image) |
virtual void | SetLabeledImage (bool _arg) |
void | SetMask (const TMask *mask) |
virtual void | SetNoContour (bool _arg) |
void | SetOutputNonTouchingBorderFilename (std::string fn) |
void | SetOutputTouchingBorderFilename (std::string fn) |
void | SetTol (const double tol) |
virtual void | SetVerbose (bool _arg) |
void | WriteOutputs () |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
virtual void | GenerateData () ITK_OVERRIDE |
TInput::ConstPointer | GetInputImageSeg () |
TMask::ConstPointer | GetMask () |
itk::DataObject::Pointer | MakeOutput (unsigned int idx) |
RemoveTouchingBorderFilter () | |
virtual | ~RemoveTouchingBorderFilter () |
Class selecting the connected components touching a given mask border. In MRI, external CSF may contain artifacts due to fluid flow. These effects can cause voxels in the cortex or external CSF to have intensities similar to MS lesions. In order to reduce the number of false positives due to these effects, we remove all candidate lesions that are contiguous to the brain mask border.
Definition at line 22 of file animaRemoveTouchingBorderFilter.h.
typedef itk::ConnectedComponentImageFilter<InputImageType,ImageTypeInt> anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::ConnectedComponentImageFilterType |
Definition at line 67 of file animaRemoveTouchingBorderFilter.h.
typedef itk::ConnectedComponentImageFilter<TMask, ImageTypeInt > anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::ConnectedComponentImageFilterType2 |
Definition at line 68 of file animaRemoveTouchingBorderFilter.h.
typedef itk::SmartPointer<const Self> anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::ConstPointer |
Definition at line 30 of file animaRemoveTouchingBorderFilter.h.
typedef itk::ImageRegionIterator< ImageTypeInt > anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::ImageIteratorTypeInt |
Definition at line 59 of file animaRemoveTouchingBorderFilter.h.
typedef itk::Image<PixelTypeInt,3> anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::ImageTypeInt |
Definition at line 58 of file animaRemoveTouchingBorderFilter.h.
typedef itk::ImageRegionConstIterator< InputImageType > anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::InputConstIteratorType |
Definition at line 44 of file animaRemoveTouchingBorderFilter.h.
typedef InputImageType::Pointer anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::InputImagePointer |
Definition at line 42 of file animaRemoveTouchingBorderFilter.h.
typedef TInput anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::InputImageType |
Image typedef support Type of the input image.
Definition at line 41 of file animaRemoveTouchingBorderFilter.h.
typedef itk::ImageRegionIterator< InputImageType > anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::InputIteratorType |
Definition at line 43 of file animaRemoveTouchingBorderFilter.h.
typedef itk::LabelContourImageFilter<ImageTypeInt, ImageTypeInt> anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::LabelContourImageFilterType |
Definition at line 70 of file animaRemoveTouchingBorderFilter.h.
typedef itk::LabelImageToLabelMapFilter<ImageTypeInt> anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::LabelImageToLabelMapFilterType |
Definition at line 61 of file animaRemoveTouchingBorderFilter.h.
typedef itk::LabelImageToLabelMapFilter<TInput,TOutputMap> anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::LabelImageToLabelMapFilterType2 |
Definition at line 63 of file animaRemoveTouchingBorderFilter.h.
typedef itk::LabelMapToLabelImageFilter<TOutputMap, ImageTypeInt> anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::LabelMapToLabelImageFilterType |
Definition at line 65 of file animaRemoveTouchingBorderFilter.h.
typedef itk::ImageRegionConstIterator< MaskImageType > anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::MaskConstIteratorType |
Definition at line 50 of file animaRemoveTouchingBorderFilter.h.
typedef MaskImageType::Pointer anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::MaskImagePointer |
Definition at line 48 of file animaRemoveTouchingBorderFilter.h.
typedef TMask anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::MaskImageType |
Type of the mask image.
Definition at line 47 of file animaRemoveTouchingBorderFilter.h.
typedef itk::ImageRegionIterator< MaskImageType > anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::MaskIteratorType |
Definition at line 49 of file animaRemoveTouchingBorderFilter.h.
typedef OutputImageType::Pointer anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::OutputImagePointer |
Definition at line 54 of file animaRemoveTouchingBorderFilter.h.
typedef Superclass::OutputImageRegionType anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::OutputImageRegionType |
Superclass typedefs.
Definition at line 94 of file animaRemoveTouchingBorderFilter.h.
typedef TOutput anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::OutputImageType |
Type of the output image.
Definition at line 53 of file animaRemoveTouchingBorderFilter.h.
typedef itk::ImageRegionIterator< OutputImageType > anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::OutputIteratorType |
Definition at line 55 of file animaRemoveTouchingBorderFilter.h.
typedef unsigned int anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::PixelTypeInt |
Definition at line 57 of file animaRemoveTouchingBorderFilter.h.
typedef itk::SmartPointer<Self> anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::Pointer |
Definition at line 29 of file animaRemoveTouchingBorderFilter.h.
typedef RemoveTouchingBorderFilter anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::Self |
Standard class typedefs.
Definition at line 27 of file animaRemoveTouchingBorderFilter.h.
typedef itk::ImageToImageFilter< TInput , TOutput > anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::Superclass |
Definition at line 28 of file animaRemoveTouchingBorderFilter.h.
typedef LabelImageToLabelMapFilterType::OutputImageType anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::TOutputMap |
Definition at line 62 of file animaRemoveTouchingBorderFilter.h.
|
inlineprotected |
Definition at line 106 of file animaRemoveTouchingBorderFilter.h.
References anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::MakeOutput().
|
inlineprotectedvirtual |
Definition at line 121 of file animaRemoveTouchingBorderFilter.h.
References anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::GenerateData(), anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::GetInputImageSeg(), anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::GetMask(), and anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::MakeOutput().
virtual::itk::LightObject::Pointer anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::CreateAnother | ( | void | ) | const |
|
protectedvirtual |
Does the real work.
Definition at line 89 of file animaRemoveTouchingBorderFilter.hxx.
Referenced by anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::WriteOutputs(), and anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::~RemoveTouchingBorderFilter().
|
protected |
Definition at line 22 of file animaRemoveTouchingBorderFilter.hxx.
Referenced by anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::~RemoveTouchingBorderFilter().
|
virtual |
|
protected |
Definition at line 28 of file animaRemoveTouchingBorderFilter.hxx.
Referenced by anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::~RemoveTouchingBorderFilter().
|
virtual |
Run-time type information (and related methods)
|
virtual |
TOutput * anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::GetOutputNonTouchingBorder | ( | ) |
Definition at line 57 of file animaRemoveTouchingBorderFilter.hxx.
Referenced by anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::SetOutputTouchingBorderFilename().
TOutput * anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::GetOutputTouchingBorder | ( | ) |
Definition at line 63 of file animaRemoveTouchingBorderFilter.hxx.
References anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::WriteOutputs().
Referenced by anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::SetOutputTouchingBorderFilename().
|
virtual |
|
protected |
Create the Output
Definition at line 36 of file animaRemoveTouchingBorderFilter.hxx.
Referenced by anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::RemoveTouchingBorderFilter(), and anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::~RemoveTouchingBorderFilter().
|
static |
Method for creation through the object factory.
void anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::SetInputImageSeg | ( | const TInput * | image | ) |
The mri images.
Definition at line 9 of file animaRemoveTouchingBorderFilter.hxx.
|
virtual |
void anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::SetMask | ( | const TMask * | mask | ) |
mask in which the segmentation will be performed
Definition at line 15 of file animaRemoveTouchingBorderFilter.hxx.
Referenced by anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::SetOutputTouchingBorderFilename().
|
virtual |
|
inline |
Definition at line 75 of file animaRemoveTouchingBorderFilter.h.
|
inline |
Definition at line 76 of file animaRemoveTouchingBorderFilter.h.
References anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::GetOutputNonTouchingBorder(), anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::GetOutputTouchingBorder(), anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::SetMask(), and anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::WriteOutputs().
|
inline |
Definition at line 86 of file animaRemoveTouchingBorderFilter.h.
|
virtual |
void anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::WriteOutputs | ( | ) |
Definition at line 71 of file animaRemoveTouchingBorderFilter.hxx.
References anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::GenerateData().
Referenced by anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::GetOutputTouchingBorder(), and anima::RemoveTouchingBorderFilter< TInput, TMask, TOutput >::SetOutputTouchingBorderFilename().