Threshold an image using the KittlerIllingworth Threshold.
More...
#include <sitkKittlerIllingworthThresholdImageFilter.h>
|
Image | Execute (const Image &image, const Image &maskImage) |
|
Image | Execute (const Image &image) |
|
Image | Execute (const Image &image, const Image &maskImage, uint8_t insideValue, uint8_t outsideValue, uint32_t numberOfHistogramBins, bool maskOutput, uint8_t maskValue) |
|
Image | Execute (const Image &image, uint8_t insideValue, uint8_t outsideValue, uint32_t numberOfHistogramBins, bool maskOutput, uint8_t maskValue) |
|
uint8_t | GetInsideValue () const |
|
bool | GetMaskOutput () const |
|
uint8_t | GetMaskValue () const |
|
std::string | GetName () const |
|
uint32_t | GetNumberOfHistogramBins () const |
|
uint8_t | GetOutsideValue () const |
|
double | GetThreshold () const |
| Get the computed threshold. More...
|
|
| KittlerIllingworthThresholdImageFilter () |
|
Self & | MaskOutputOff () |
|
Self & | MaskOutputOn () |
|
Self & | SetInsideValue (uint8_t InsideValue) |
|
Self & | SetMaskOutput (bool MaskOutput) |
|
Self & | SetMaskValue (uint8_t MaskValue) |
|
Self & | SetNumberOfHistogramBins (uint32_t NumberOfHistogramBins) |
|
Self & | SetOutsideValue (uint8_t OutsideValue) |
|
std::string | ToString () const |
|
virtual | ~KittlerIllingworthThresholdImageFilter () |
|
| ImageFilter () |
|
virtual | ~ImageFilter ()=0 |
|
virtual void | Abort () |
|
virtual int | AddCommand (itk::simple::EventEnum event, itk::simple::Command &cmd) |
| Add a Command Object to observer the event. More...
|
|
virtual float | GetProgress () const |
| An Active Measurement of the progress of execution. More...
|
|
virtual bool | HasCommand (itk::simple::EventEnum event) const |
| Query of this object has any registered commands for event. More...
|
|
| ProcessObject () |
|
virtual void | RemoveAllCommands () |
| Remove all registered commands. More...
|
|
virtual | ~ProcessObject () |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
virtual bool | GetDebug () const |
|
virtual void | SetDebug (bool debugFlag) |
|
virtual void | SetNumberOfThreads (unsigned int n) |
|
virtual unsigned int | GetNumberOfThreads () const |
|
|
static bool | GetGlobalDefaultDebug () |
|
static void | GlobalDefaultDebugOff () |
|
static void | GlobalDefaultDebugOn () |
|
static void | SetGlobalDefaultDebug (bool debugFlag) |
|
static void | GlobalWarningDisplayOn () |
|
static void | GlobalWarningDisplayOff () |
|
static void | SetGlobalWarningDisplay (bool flag) |
|
static bool | GetGlobalWarningDisplay () |
|
static void | SetGlobalDefaultNumberOfThreads (unsigned int n) |
|
static unsigned int | GetGlobalDefaultNumberOfThreads () |
|
static double | GetGlobalDefaultCoordinateTolerance () |
| Access the global tolerance to determine congruent spaces. More...
|
|
static void | SetGlobalDefaultCoordinateTolerance (double) |
| Access the global tolerance to determine congruent spaces. More...
|
|
static double | GetGlobalDefaultDirectionTolerance () |
| Access the global tolerance to determine congruent spaces. More...
|
|
static void | SetGlobalDefaultDirectionTolerance (double) |
| Access the global tolerance to determine congruent spaces. More...
|
|
virtual unsigned long | AddITKObserver (const itk::EventObject &, itk::Command *) |
|
virtual itk::ProcessObject * | GetActiveProcess () |
|
virtual void | OnActiveProcessDelete () |
|
virtual void | onCommandDelete (const itk::simple::Command *cmd) SITK_NOEXCEPT |
|
virtual void | PreUpdate (itk::ProcessObject *p) |
|
virtual void | RemoveITKObserver (EventCommand &e) |
|
| NonCopyable () |
|
static void | FixNonZeroIndex (TImageType *img) |
|
template<class TImageType > |
static TImageType::ConstPointer | CastImageToITK (const Image &img) |
|
template<class TImageType > |
static Image | CastITKToImage (TImageType *img) |
|
template<class TPixelType , unsigned int VImageDimension, unsigned int VLength, template< typename, unsigned int > class TVector> |
static Image | CastITKToImage (itk::Image< TVector< TPixelType, VLength >, VImageDimension > *img) |
|
static const itk::EventObject & | GetITKEventObject (EventEnum e) |
|
template<typename T > |
static std::ostream & | ToStringHelper (std::ostream &os, const T &v) |
|
static std::ostream & | ToStringHelper (std::ostream &os, const char &v) |
|
static std::ostream & | ToStringHelper (std::ostream &os, const signed char &v) |
|
static std::ostream & | ToStringHelper (std::ostream &os, const unsigned char &v) |
|
Threshold an image using the KittlerIllingworth Threshold.
This filter creates a binary thresholded image that separates an image into foreground and background components. The filter computes the threshold using the KittlerIllingworthThresholdCalculator and applies that threshold to the input image using the BinaryThresholdImageFilter .
- Author
- Richard Beare. Department of Medicine, Monash University, Melbourne, Australia.
-
Gaetan Lehmann. Biologie du Developpement et de la Reproduction, INRA de Jouy-en-Josas, France.
This implementation was taken from the Insight Journal paper: https://hdl.handle.net/10380/3279 or http://www.insight-journal.org/browse/publication/811
- See also
- HistogramThresholdImageFilter
-
itk::simple::KittlerIllingworthThreshold for the procedural interface
-
itk::KittlerIllingworthThresholdImageFilter for the Doxygen on the original ITK class.
Definition at line 50 of file sitkKittlerIllingworthThresholdImageFilter.h.
typedef Image(Self::* itk::simple::KittlerIllingworthThresholdImageFilter::MemberFunctionType) (const Image *image, const Image *maskImage) |
|
private |
virtual itk::simple::KittlerIllingworthThresholdImageFilter::~KittlerIllingworthThresholdImageFilter |
( |
| ) |
|
|
virtual |
itk::simple::KittlerIllingworthThresholdImageFilter::KittlerIllingworthThresholdImageFilter |
( |
| ) |
|
Default Constructor that takes no arguments and initializes default parameters
Image itk::simple::KittlerIllingworthThresholdImageFilter::Execute |
( |
const Image & |
image, |
|
|
const Image & |
maskImage |
|
) |
| |
Execute the filter on the input image
Image itk::simple::KittlerIllingworthThresholdImageFilter::Execute |
( |
const Image & |
image | ) |
|
Image itk::simple::KittlerIllingworthThresholdImageFilter::Execute |
( |
const Image & |
image, |
|
|
const Image & |
maskImage, |
|
|
uint8_t |
insideValue, |
|
|
uint8_t |
outsideValue, |
|
|
uint32_t |
numberOfHistogramBins, |
|
|
bool |
maskOutput, |
|
|
uint8_t |
maskValue |
|
) |
| |
Execute the filter on the input image with the given parameters
Image itk::simple::KittlerIllingworthThresholdImageFilter::Execute |
( |
const Image & |
image, |
|
|
uint8_t |
insideValue, |
|
|
uint8_t |
outsideValue, |
|
|
uint32_t |
numberOfHistogramBins, |
|
|
bool |
maskOutput, |
|
|
uint8_t |
maskValue |
|
) |
| |
template<class TImageType >
Image itk::simple::KittlerIllingworthThresholdImageFilter::ExecuteInternal |
( |
const Image * |
image, |
|
|
const Image * |
maskImage |
|
) |
| |
|
private |
uint8_t itk::simple::KittlerIllingworthThresholdImageFilter::GetInsideValue |
( |
| ) |
const |
|
inline |
bool itk::simple::KittlerIllingworthThresholdImageFilter::GetMaskOutput |
( |
| ) |
const |
|
inline |
uint8_t itk::simple::KittlerIllingworthThresholdImageFilter::GetMaskValue |
( |
| ) |
const |
|
inline |
std::string itk::simple::KittlerIllingworthThresholdImageFilter::GetName |
( |
| ) |
const |
|
inlinevirtual |
uint32_t itk::simple::KittlerIllingworthThresholdImageFilter::GetNumberOfHistogramBins |
( |
| ) |
const |
|
inline |
uint8_t itk::simple::KittlerIllingworthThresholdImageFilter::GetOutsideValue |
( |
| ) |
const |
|
inline |
double itk::simple::KittlerIllingworthThresholdImageFilter::GetThreshold |
( |
| ) |
const |
|
inline |
Self& itk::simple::KittlerIllingworthThresholdImageFilter::MaskOutputOff |
( |
| ) |
|
|
inline |
Self& itk::simple::KittlerIllingworthThresholdImageFilter::MaskOutputOn |
( |
| ) |
|
|
inline |
Self& itk::simple::KittlerIllingworthThresholdImageFilter::SetInsideValue |
( |
uint8_t |
InsideValue | ) |
|
|
inline |
Self& itk::simple::KittlerIllingworthThresholdImageFilter::SetMaskOutput |
( |
bool |
MaskOutput | ) |
|
|
inline |
Self& itk::simple::KittlerIllingworthThresholdImageFilter::SetMaskValue |
( |
uint8_t |
MaskValue | ) |
|
|
inline |
Self& itk::simple::KittlerIllingworthThresholdImageFilter::SetNumberOfHistogramBins |
( |
uint32_t |
NumberOfHistogramBins | ) |
|
|
inline |
Self& itk::simple::KittlerIllingworthThresholdImageFilter::SetOutsideValue |
( |
uint8_t |
OutsideValue | ) |
|
|
inline |
std::string itk::simple::KittlerIllingworthThresholdImageFilter::ToString |
( |
| ) |
const |
|
virtual |
uint8_t itk::simple::KittlerIllingworthThresholdImageFilter::m_InsideValue |
|
private |
bool itk::simple::KittlerIllingworthThresholdImageFilter::m_MaskOutput |
|
private |
uint8_t itk::simple::KittlerIllingworthThresholdImageFilter::m_MaskValue |
|
private |
uint32_t itk::simple::KittlerIllingworthThresholdImageFilter::m_NumberOfHistogramBins |
|
private |
uint8_t itk::simple::KittlerIllingworthThresholdImageFilter::m_OutsideValue |
|
private |
double itk::simple::KittlerIllingworthThresholdImageFilter::m_Threshold |
|
private |
The documentation for this class was generated from the following file: