NifTK
16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
|
Returns true is the value of an image lies within a range of thresholds This ImageFunction returns true (or false) if the pixel value lies within (outside) a lower and upper threshold value. The threshold range can be set with the ThresholdBelow, ThresholdBetween or ThresholdAbove methods. The input image is set via method SetInputImage(). More...
Public Types | |
typedef BinaryThresholdSurfaceVoxelImageFunction | Self |
typedef ImageFunction < TInputImage, bool, TCoordRep > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImageType | InputImageType |
typedef TInputImage::PixelType | PixelType |
typedef Superclass::PointType | PointType |
typedef Superclass::IndexType | IndexType |
typedef InputImageType::RegionType | RegionType |
typedef Superclass::ContinuousIndexType | ContinuousIndexType |
Public Member Functions | |
virtual const char * | GetClassName () const |
itkStaticConstMacro (ImageDimension, unsigned int, Superclass::ImageDimension) | |
virtual bool | Evaluate (const PointType &point) const |
virtual bool | EvaluateAtContinuousIndex (const ContinuousIndexType &index) const |
virtual bool | EvaluateAtIndex (const IndexType &index) const |
virtual const PixelType & | GetLower () |
virtual const PixelType & | GetUpper () |
void | ThresholdAbove (PixelType thresh) |
void | ThresholdBelow (PixelType thresh) |
void | ThresholdBetween (PixelType lower, PixelType upper) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
BinaryThresholdSurfaceVoxelImageFunction () | |
~BinaryThresholdSurfaceVoxelImageFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
Returns true is the value of an image lies within a range of thresholds This ImageFunction returns true (or false) if the pixel value lies within (outside) a lower and upper threshold value. The threshold range can be set with the ThresholdBelow, ThresholdBetween or ThresholdAbove methods. The input image is set via method SetInputImage().
Methods Evaluate, EvaluateAtIndex and EvaluateAtContinuousIndex respectively evaluate the function at an geometric point, image index and continuous image index.
typedef SmartPointer<const Self> itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::ConstPointer |
typedef Superclass::ContinuousIndexType itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::ContinuousIndexType |
ContinuousIndex typedef support.
typedef Superclass::IndexType itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::IndexType |
Index typedef support.
typedef Superclass::InputImageType itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::InputImageType |
InputImageType typedef support.
typedef TInputImage::PixelType itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::PixelType |
Typedef to describe the type of pixel.
typedef SmartPointer<Self> itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::Pointer |
typedef Superclass::PointType itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::PointType |
Point typedef support.
typedef InputImageType::RegionType itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::RegionType |
Region typedef support.
typedef BinaryThresholdSurfaceVoxelImageFunction itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::Self |
Standard class typedefs.
typedef ImageFunction<TInputImage,bool,TCoordRep> itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::Superclass |
|
protected |
|
inlineprotected |
|
inlinevirtual |
BinaryThreshold the image at a point position
Returns true if the image intensity at the specified point position satisfies the threshold criteria. The point is assumed to lie within the image buffer.
ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.
|
inlinevirtual |
BinaryThreshold the image at a continuous index position
Returns true if the image intensity at the specified point position satisfies the threshold criteria. The point is assumed to lie within the image buffer.
ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.
|
inlinevirtual |
BinaryThreshold the image at an index position.
Returns true if the image intensity at the specified point position satisfies the threshold criteria. The point is assumed to lie within the image buffer.
ImageFunction::IsInsideBuffer() can be used to check bounds before calling the method.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Get the lower threshold value.
|
virtual |
Get the upper threshold value.
itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::itkStaticConstMacro | ( | ImageDimension | , |
unsigned | int, | ||
Superclass::ImageDimension | |||
) |
Dimension underlying input image.
|
static |
Method for creation through the object factory.
|
protected |
void itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::ThresholdAbove | ( | PixelType | thresh | ) |
Values greater than or equal to the value are inside.
void itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::ThresholdBelow | ( | PixelType | thresh | ) |
Values less than or equal to the value are inside.
void itk::BinaryThresholdSurfaceVoxelImageFunction< TInputImage, TCoordRep >::ThresholdBetween | ( | PixelType | lower, |
PixelType | upper | ||
) |
Values that lie between lower and upper inclusive are inside.