Applies a voting operation in a neighborhood of each pixel.
More...
#include <sitkVotingBinaryImageFilter.h>
|
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 TPixelType , unsigned int VImageDimension, unsigned int VLength, template< typename, unsigned int > class TVector> |
static Image | CastITKToImage (itk::Image< TVector< TPixelType, VLength >, VImageDimension > *img) |
|
template<class TImageType > |
static Image | CastITKToImage (TImageType *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) |
|
Applies a voting operation in a neighborhood of each pixel.
- Note
- Pixels which are not Foreground or Background will remain unchanged.
- See also
- Image
-
Neighborhood
-
NeighborhoodOperator
-
NeighborhoodIterator
-
itk::simple::VotingBinary for the procedural interface
-
itk::VotingBinaryImageFilter for the Doxygen on the original ITK class.
Definition at line 50 of file sitkVotingBinaryImageFilter.h.
◆ MemberFunctionType
typedef Image(Self::* itk::simple::VotingBinaryImageFilter::MemberFunctionType) (const Image &image1) |
|
private |
◆ PixelIDTypeList
◆ Self
◆ ~VotingBinaryImageFilter()
virtual itk::simple::VotingBinaryImageFilter::~VotingBinaryImageFilter |
( |
| ) |
|
|
virtual |
◆ VotingBinaryImageFilter()
itk::simple::VotingBinaryImageFilter::VotingBinaryImageFilter |
( |
| ) |
|
Default Constructor that takes no arguments and initializes default parameters
◆ Execute() [1/2]
Image itk::simple::VotingBinaryImageFilter::Execute |
( |
const Image & |
image1 | ) |
|
Execute the filter on the input image
◆ Execute() [2/2]
Image itk::simple::VotingBinaryImageFilter::Execute |
( |
const Image & |
image1, |
|
|
const std::vector< unsigned int > & |
radius, |
|
|
unsigned int |
birthThreshold, |
|
|
unsigned int |
survivalThreshold, |
|
|
double |
foregroundValue, |
|
|
double |
backgroundValue |
|
) |
| |
Execute the filter on the input image with the given parameters
◆ ExecuteInternal()
template<class TImageType >
Image itk::simple::VotingBinaryImageFilter::ExecuteInternal |
( |
const Image & |
image1 | ) |
|
|
private |
◆ GetBackgroundValue()
double itk::simple::VotingBinaryImageFilter::GetBackgroundValue |
( |
| ) |
const |
|
inline |
Get the value associated with the Foreground (or the object) on the binary input image and the Background .
Definition at line 118 of file sitkVotingBinaryImageFilter.h.
◆ GetBirthThreshold()
unsigned int itk::simple::VotingBinaryImageFilter::GetBirthThreshold |
( |
| ) |
const |
|
inline |
Birth threshold. Pixels that are OFF will turn ON when the number of neighbors ON is larger than the value defined in this threshold.
Definition at line 88 of file sitkVotingBinaryImageFilter.h.
◆ GetForegroundValue()
double itk::simple::VotingBinaryImageFilter::GetForegroundValue |
( |
| ) |
const |
|
inline |
Get the value associated with the Foreground (or the object) on the binary input image and the Background .
Definition at line 108 of file sitkVotingBinaryImageFilter.h.
◆ GetName()
std::string itk::simple::VotingBinaryImageFilter::GetName |
( |
| ) |
const |
|
inlinevirtual |
◆ GetRadius()
std::vector<unsigned int> itk::simple::VotingBinaryImageFilter::GetRadius |
( |
| ) |
const |
|
inline |
◆ GetSurvivalThreshold()
unsigned int itk::simple::VotingBinaryImageFilter::GetSurvivalThreshold |
( |
| ) |
const |
|
inline |
Survival threshold. Pixels that are ON will turn OFF when the number of neighbors ON is smaller than the value defined in this survival threshold.
Definition at line 98 of file sitkVotingBinaryImageFilter.h.
◆ SetBackgroundValue()
Self& itk::simple::VotingBinaryImageFilter::SetBackgroundValue |
( |
double |
BackgroundValue | ) |
|
|
inline |
Set the value associated with the Foreground (or the object) on the binary input image and the Background .
Definition at line 113 of file sitkVotingBinaryImageFilter.h.
◆ SetBirthThreshold()
Self& itk::simple::VotingBinaryImageFilter::SetBirthThreshold |
( |
unsigned int |
BirthThreshold | ) |
|
|
inline |
Birth threshold. Pixels that are OFF will turn ON when the number of neighbors ON is larger than the value defined in this threshold.
Definition at line 83 of file sitkVotingBinaryImageFilter.h.
◆ SetForegroundValue()
Self& itk::simple::VotingBinaryImageFilter::SetForegroundValue |
( |
double |
ForegroundValue | ) |
|
|
inline |
Set the value associated with the Foreground (or the object) on the binary input image and the Background .
Definition at line 103 of file sitkVotingBinaryImageFilter.h.
◆ SetRadius() [1/2]
Self& itk::simple::VotingBinaryImageFilter::SetRadius |
( |
const std::vector< unsigned int > & |
Radius | ) |
|
|
inline |
◆ SetRadius() [2/2]
Self& itk::simple::VotingBinaryImageFilter::SetRadius |
( |
unsigned int |
value | ) |
|
|
inline |
◆ SetSurvivalThreshold()
Self& itk::simple::VotingBinaryImageFilter::SetSurvivalThreshold |
( |
unsigned int |
SurvivalThreshold | ) |
|
|
inline |
Survival threshold. Pixels that are ON will turn OFF when the number of neighbors ON is smaller than the value defined in this survival threshold.
Definition at line 93 of file sitkVotingBinaryImageFilter.h.
◆ ToString()
std::string itk::simple::VotingBinaryImageFilter::ToString |
( |
| ) |
const |
|
virtual |
◆ detail::MemberFunctionAddressor< MemberFunctionType >
◆ m_BackgroundValue
double itk::simple::VotingBinaryImageFilter::m_BackgroundValue |
|
private |
◆ m_BirthThreshold
unsigned int itk::simple::VotingBinaryImageFilter::m_BirthThreshold |
|
private |
◆ m_ForegroundValue
double itk::simple::VotingBinaryImageFilter::m_ForegroundValue |
|
private |
◆ m_MemberFactory
◆ m_Radius
std::vector<unsigned int> itk::simple::VotingBinaryImageFilter::m_Radius |
|
private |
◆ m_SurvivalThreshold
unsigned int itk::simple::VotingBinaryImageFilter::m_SurvivalThreshold |
|
private |
The documentation for this class was generated from the following file: