NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Implements region growing limited by contours. More...
Public Types | |
typedef MIDASRegionGrowingImageFilter | Self |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef ImageToImageFilter < TInputImage, TOutputImage > | Superclass |
typedef TInputImage | InputImageType |
typedef InputImageType::PixelType | InputPixelType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::SizeType | OutputImageSizeType |
typedef OutputImageType::IndexType | OutputImageIndexType |
typedef OutputImageType::Pointer | OutputImagePointerType |
typedef OutputImageType::ConstPointer | OutputImageConstPointerType |
typedef OutputImageType::PixelType | OutputPixelType |
typedef TPointSet | PointSetType |
typedef itk::ContinuousIndex < double, TInputImage::ImageDimension > | ContinuousIndexType |
typedef itk::PolyLineParametricPath < TInputImage::ImageDimension > | ParametricPathType |
typedef ParametricPathType::Pointer | ParametricPathPointer |
typedef std::vector < ParametricPathPointer > | ParametricPathVectorType |
typedef ParametricPathType::VertexListType | ParametricPathVertexListType |
typedef ParametricPathType::VertexType | ParametricPathVertexType |
Public Member Functions | |
virtual const char * | GetClassName () const |
virtual void | SetLowerThreshold (InputPixelType _arg) |
Values lower than the LowerThreshold are not grown into. More... | |
virtual InputPixelType | GetLowerThreshold () const |
virtual void | SetUpperThreshold (InputPixelType _arg) |
Values higher than the UpperThreshold are not grown into. More... | |
virtual InputPixelType | GetUpperThreshold () const |
virtual void | SetForegroundValue (OutputPixelType _arg) |
The output "foreground" value, normally 1 or 255. More... | |
virtual OutputPixelType | GetForegroundValue () const |
virtual void | SetBackgroundValue (OutputPixelType _arg) |
The output "background" value, normally 0. More... | |
virtual OutputPixelType | GetBackgroundValue () const |
virtual void | SetRegionOfInterest (OutputImageRegionType _arg) |
Set a region of interest, and only operate within that. More... | |
virtual OutputImageRegionType | GetRegionOfInterest () const |
virtual void | SetUseRegionOfInterest (bool _arg) |
If true, the filter will use RegionOfInterest and otherwise won't. More... | |
virtual bool | GetUseRegionOfInterest () const |
virtual void | SetProjectSeedsIntoRegion (bool _arg) |
It may be the case that you need to project seeds into a region. Say you have seeds on one slice that you want to use as seeds for region growing upwards, then you need to shift them along the upwards axis. More... | |
virtual bool | GetProjectSeedsIntoRegion () const |
virtual void | SetMaximumSeedProjectionDistanceInVoxels (unsigned int _arg) |
virtual unsigned int | GetMaximumSeedProjectionDistanceInVoxels () |
virtual void | SetSegmentationContourImageInsideValue (OutputPixelType _arg) |
virtual OutputPixelType | GetSegmentationContourImageInsideValue () const |
virtual void | SetSegmentationContourImageBorderValue (OutputPixelType _arg) |
virtual OutputPixelType | GetSegmentationContourImageBorderValue () const |
virtual void | SetSegmentationContourImageOutsideValue (OutputPixelType _arg) |
virtual OutputPixelType | GetSegmentationContourImageOutsideValue () const |
virtual void | SetManualContourImageBorderValue (OutputPixelType _arg) |
virtual OutputPixelType | GetManualContourImageBorderValue () const |
virtual void | SetEraseFullSlice (bool _arg) |
Within MIDAS, if region growing covers the whole slice, the output is zero, not the whole slice. More... | |
virtual bool | GetEraseFullSlice () const |
virtual void | SetPropMask (OutputImageIndexType _arg) |
virtual OutputImageIndexType | GetPropMask () const |
virtual void | SetUsePropMaskMode (bool _arg) |
virtual bool | GetUsePropMaskMode () const |
void | SetManualContours (ParametricPathVectorType *contours) |
Setting the "manual" contours means those that come from DrawTool or PolyTool. More... | |
const PointSetType & | GetSeedPoints (void) const |
Retrieve the seeds. More... | |
void | SetSeedPoints (const PointSetType &seeds) |
Set the seeds, as region growing starts from each seed point. More... | |
const OutputImageType * | GetSegmentationContourImage (void) const |
Retrieve the contour image. More... | |
virtual void | SetSegmentationContourImage (OutputImageType *_arg) |
Set the contour image. More... | |
const OutputImageType * | GetManualContourImage (void) const |
Retrieve the "manual" contour image. More... | |
virtual void | SetManualContourImage (OutputImageType *_arg) |
Set the manual contour image. More... | |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
MIDASRegionGrowingImageFilter () | |
virtual | ~MIDASRegionGrowingImageFilter (void) |
virtual void | GenerateData (void) |
virtual void | ThreadedGenerateData (const typename OutputImageType::RegionType &outputRegionForThread, ThreadIdType threadId) |
Implements region growing limited by contours.
typedef SmartPointer<const Self> itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::ConstPointer |
typedef itk::ContinuousIndex<double,TInputImage::ImageDimension> itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::ContinuousIndexType |
typedef TInputImage itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::InputImageType |
typedef InputImageType::PixelType itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::InputPixelType |
typedef OutputImageType::ConstPointer itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::OutputImageConstPointerType |
typedef OutputImageType::IndexType itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::OutputImageIndexType |
typedef OutputImageType::Pointer itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::OutputImagePointerType |
typedef OutputImageType::RegionType itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::OutputImageRegionType |
typedef OutputImageType::SizeType itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::OutputImageSizeType |
typedef TOutputImage itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::OutputImageType |
typedef OutputImageType::PixelType itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::OutputPixelType |
typedef ParametricPathType::Pointer itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::ParametricPathPointer |
typedef itk::PolyLineParametricPath<TInputImage::ImageDimension> itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::ParametricPathType |
typedef std::vector<ParametricPathPointer> itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::ParametricPathVectorType |
typedef ParametricPathType::VertexListType itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::ParametricPathVertexListType |
typedef ParametricPathType::VertexType itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::ParametricPathVertexType |
typedef SmartPointer<Self> itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::Pointer |
typedef TPointSet itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::PointSetType |
typedef MIDASRegionGrowingImageFilter itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::Self |
typedef ImageToImageFilter<TInputImage, TOutputImage> itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::Superclass |
|
protected |
|
inlineprotectedvirtual |
|
protectedvirtual |
|
virtual |
|
virtual |
Run-time type information (and related methods).
|
virtual |
|
virtual |
|
virtual |
|
inline |
Retrieve the "manual" contour image.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
inline |
Retrieve the seeds.
|
inline |
Retrieve the contour image.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
Method for creation through the object factory.
|
virtual |
The output "background" value, normally 0.
|
virtual |
Within MIDAS, if region growing covers the whole slice, the output is zero, not the whole slice.
We need this flag as there are two use cases. When region growing, and we want to see the blue outline of the region growing, then when the whole slice is covered MIDAS erases (or ignores) the region growing, so it disappears. However, for testing whether seeds are enclosed or not, we need to region grow to the edge, and check if we hit it, so we dont want to erase the whole slice.
|
virtual |
The output "foreground" value, normally 1 or 255.
|
virtual |
Values lower than the LowerThreshold are not grown into.
|
virtual |
Set the manual contour image.
The manual contour image is the image generated by taking all the lines from DrawTool and PolyTool, and rendering them into the image. As these lines may be unclosed (eg. a line, and not a circle), there is no concept of "inside" or "outside" the line. The only thing we can render is "border" or "not-border".
The lines are represented by a two voxel wide stripe of "border" values, one voxel on both sides of the lines all along them.
|
virtual |
void itk::MIDASRegionGrowingImageFilter< TInputImage, TOutputImage, TPointSet >::SetManualContours | ( | ParametricPathVectorType * | contours | ) |
Setting the "manual" contours means those that come from DrawTool or PolyTool.
|
virtual |
|
virtual |
It may be the case that you need to project seeds into a region. Say you have seeds on one slice that you want to use as seeds for region growing upwards, then you need to shift them along the upwards axis.
|
virtual |
|
virtual |
Set a region of interest, and only operate within that.
|
inline |
Set the seeds, as region growing starts from each seed point.
|
virtual |
Set the contour image.
The "contour image" is the image generated by working out the edge of the current segmentation, and rendering an image of all the borders between foreground and background. The contour image contains a value for "inside" the contour (i.e. background), the contour itself, and "outside" which is background that it known to be outside the segmented object.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Values higher than the UpperThreshold are not grown into.
|
virtual |
|
virtual |
If true, the filter will use RegionOfInterest and otherwise won't.
|
inlineprotectedvirtual |