ITK  5.2.0
Insight Toolkit
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members

#include <itkBinaryStatisticsKeepNObjectsImageFilter.h>

+ Inheritance diagram for itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >:
+ Collaboration diagram for itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >:

Public Types

using AttributeType = typename LabelObjectType::AttributeType
 
using BinarizerType = LabelMapToBinaryImageFilter< LabelMapType, OutputImageType >
 
using ConstPointer = SmartPointer< const Self >
 
using FeatureImageConstPointer = typename FeatureImageType::ConstPointer
 
using FeatureImagePixelType = typename FeatureImageType::PixelType
 
using FeatureImagePointer = typename FeatureImageType::Pointer
 
using FeatureImageType = TFeatureImage
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using KeepNObjectsType = StatisticsKeepNObjectsLabelMapFilter< LabelMapType >
 
using LabelizerType = BinaryImageToLabelMapFilter< InputImageType, LabelMapType >
 
using LabelMapType = LabelMap< LabelObjectType >
 
using LabelObjectType = StatisticsLabelObject< LabelType, Self::ImageDimension >
 
using LabelObjectValuatorType = StatisticsLabelMapFilter< LabelMapType, TFeatureImage >
 
using LabelType = SizeValueType
 
using OutputImageConstPointer = typename OutputImageType::ConstPointer
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TInputImage
 
using Pointer = SmartPointer< Self >
 
using Self = BinaryStatisticsKeepNObjectsImageFilter
 
using Superclass = ImageToImageFilter< TInputImage, TInputImage >
 
- Public Types inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
using ConstPointer = SmartPointer< const Self >
 
using InputImageConstPointer = typename InputImageType::ConstPointer
 
using InputImagePixelType = typename InputImageType::PixelType
 
using InputImagePointer = typename InputImageType::Pointer
 
using InputImageRegionType = typename InputImageType::RegionType
 
using InputImageType = TInputImage
 
using OutputImagePixelType = typename Superclass::OutputImagePixelType
 
using OutputImageRegionType = typename Superclass::OutputImageRegionType
 
using Pointer = SmartPointer< Self >
 
using Self = ImageToImageFilter
 
using Superclass = ImageSource< TInputImage >
 
- Public Types inherited from itk::ImageSource< TInputImage >
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = Superclass::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArraySizeType = Superclass::DataObjectPointerArraySizeType
 
using OutputImagePixelType = typename OutputImageType::PixelType
 
using OutputImagePointer = typename OutputImageType::Pointer
 
using OutputImageRegionType = typename OutputImageType::RegionType
 
using OutputImageType = TInputImage
 
using Pointer = SmartPointer< Self >
 
using Self = ImageSource
 
using Superclass = ProcessObject
 
- Public Types inherited from itk::ProcessObject
using ConstPointer = SmartPointer< const Self >
 
using DataObjectIdentifierType = DataObject::DataObjectIdentifierType
 
using DataObjectPointer = DataObject::Pointer
 
using DataObjectPointerArray = std::vector< DataObjectPointer >
 
using DataObjectPointerArraySizeType = DataObjectPointerArray::size_type
 
using MultiThreaderType = MultiThreaderBase
 
using NameArray = std::vector< DataObjectIdentifierType >
 
using Pointer = SmartPointer< Self >
 
using Self = ProcessObject
 
using Superclass = Object
 
- Public Types inherited from itk::Object
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = Object
 
using Superclass = LightObject
 
- Public Types inherited from itk::LightObject
using ConstPointer = SmartPointer< const Self >
 
using Pointer = SmartPointer< Self >
 
using Self = LightObject
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother () const
 
virtual const char * GetNameOfClass () const
 
- Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
const InputImageTypeGetInput () const
 
const InputImageTypeGetInput (unsigned int idx) const
 
void PopBackInput () override
 
void PopFrontInput () override
 
virtual void PushBackInput (const InputImageType *input)
 
virtual void PushFrontInput (const InputImageType *input)
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetInput (const InputImageType *input)
 
virtual void SetInput (unsigned int, const TInputImage *image)
 
virtual void SetCoordinateTolerance (double _arg)
 
virtual double GetCoordinateTolerance () const
 
virtual void SetDirectionTolerance (double _arg)
 
virtual double GetDirectionTolerance () const
 
- Public Member Functions inherited from itk::ImageSource< TInputImage >
OutputImageTypeGetOutput ()
 
const OutputImageTypeGetOutput () const
 
OutputImageTypeGetOutput (unsigned int idx)
 
virtual void GraftOutput (DataObject *graft)
 
virtual void GraftOutput (const DataObjectIdentifierType &key, DataObject *graft)
 
virtual void GraftNthOutput (unsigned int idx, DataObject *graft)
 
ProcessObject::DataObjectPointer MakeOutput (ProcessObject::DataObjectPointerArraySizeType idx) override
 
ProcessObject::DataObjectPointer MakeOutput (const ProcessObject::DataObjectIdentifierType &) override
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual DataObjectPointerArraySizeType GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual float GetProgress () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
void IncrementProgress (float increment)
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
virtual void SetReleaseDataFlag (bool val)
 
virtual bool GetReleaseDataFlag () const
 
void ReleaseDataFlagOn ()
 
void ReleaseDataFlagOff ()
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void SetNumberOfWorkUnits (ThreadIdType _arg)
 
virtual const ThreadIdTypeGetNumberOfWorkUnits () const
 
MultiThreaderTypeGetMultiThreader () const
 
void SetMultiThreader (MultiThreaderType *threader)
 
virtual void PrepareOutputs ()
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
unsigned long AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
virtual ModifiedTimeType GetMTime () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetReferenceCount (int) override
 
void UnRegister () const noexcept override
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
void SetMetaDataDictionary (MetaDataDictionary &&rrhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual const std::string & GetObjectName () const
 
- Public Member Functions inherited from itk::LightObject
Pointer Clone () const
 
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
static void SetGlobalDefaultDirectionTolerance (double)
 
static double GetGlobalDefaultDirectionTolerance ()
 
static void SetGlobalDefaultCoordinateTolerance (double)
 
static double GetGlobalDefaultCoordinateTolerance ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool val)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Static Public Attributes

static constexpr unsigned int ImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int InputImageDimension = TInputImage::ImageDimension
 
static constexpr unsigned int OutputImageDimension = TInputImage::ImageDimension
 
- Static Public Attributes inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
static constexpr unsigned int InputImageDimension
 
static constexpr unsigned int OutputImageDimension
 
- Static Public Attributes inherited from itk::ImageSource< TInputImage >
static constexpr unsigned int OutputImageDimension
 
bool m_FullyConnected { false }
 
OutputImagePixelType m_BackgroundValue
 
OutputImagePixelType m_ForegroundValue
 
SizeValueType m_NumberOfObjects { 0 }
 
bool m_ReverseOrdering { false }
 
AttributeType m_Attribute
 
virtual void SetFullyConnected (bool _arg)
 
virtual const bool & GetFullyConnected () const
 
virtual void FullyConnectedOn ()
 
virtual void FullyConnectedOff ()
 
virtual void SetBackgroundValue (OutputImagePixelType _arg)
 
virtual OutputImagePixelType GetBackgroundValue () const
 
virtual void SetForegroundValue (OutputImagePixelType _arg)
 
virtual OutputImagePixelType GetForegroundValue () const
 
virtual SizeValueType GetNumberOfObjects () const
 
virtual void SetNumberOfObjects (SizeValueType _arg)
 
virtual bool GetReverseOrdering () const
 
virtual void SetReverseOrdering (bool _arg)
 
virtual void ReverseOrderingOn ()
 
virtual void ReverseOrderingOff ()
 
virtual AttributeType GetAttribute () const
 
virtual void SetAttribute (AttributeType _arg)
 
void SetAttribute (const std::string &s)
 
void SetFeatureImage (const TFeatureImage *input)
 
const FeatureImageTypeGetFeatureImage ()
 
void SetInput1 (const InputImageType *input)
 
void SetInput2 (const FeatureImageType *input)
 
 BinaryStatisticsKeepNObjectsImageFilter ()
 
 ~BinaryStatisticsKeepNObjectsImageFilter () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void GenerateInputRequestedRegion () override
 
void EnlargeOutputRequestedRegion (DataObject *) override
 
void GenerateData () override
 

Additional Inherited Members

- Protected Types inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
using InputToOutputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::OutputImageDimension, Self::InputImageDimension >
 
using OutputToInputRegionCopierType = ImageToImageFilterDetail::ImageRegionCopier< Self::InputImageDimension, Self::OutputImageDimension >
 
- Protected Member Functions inherited from itk::ImageToImageFilter< TInputImage, TInputImage >
void PushBackInput (const DataObject *input) override
 
void PushFrontInput (const DataObject *input) override
 
 ImageToImageFilter ()
 
 ~ImageToImageFilter () override=default
 
void PrintSelf (std::ostream &os, Indent indent) const override
 
void VerifyInputInformation () ITKv5_CONST override
 
void GenerateInputRequestedRegion () override
 
virtual void CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion)
 
virtual void CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion)
 
- Protected Member Functions inherited from itk::ImageSource< TInputImage >
 ImageSource ()
 
 ~ImageSource () override=default
 
void GenerateData () override
 
void ClassicMultiThread (ThreadFunctionType callbackFunction)
 
virtual void ThreadedGenerateData (const OutputImageRegionType &region, ThreadIdType threadId)
 
virtual void DynamicThreadedGenerateData (const OutputImageRegionType &outputRegionForThread)
 
virtual void AllocateOutputs ()
 
virtual void BeforeThreadedGenerateData ()
 
virtual void AfterThreadedGenerateData ()
 
virtual const ImageRegionSplitterBaseGetImageRegionSplitter () const
 
virtual unsigned int SplitRequestedRegion (unsigned int i, unsigned int pieces, OutputImageRegionType &splitRegion)
 
virtual bool GetDynamicMultiThreading () const
 
virtual void SetDynamicMultiThreading (bool _arg)
 
virtual void DynamicMultiThreadingOn ()
 
virtual void DynamicMultiThreadingOff ()
 
- Protected Member Functions inherited from itk::ProcessObject
 ProcessObject ()
 
 ~ProcessObject () override
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType idx, DataObject *input)
 
virtual void AddInput (DataObject *input)
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryInputName () const
 
virtual void SetPrimaryInput (DataObject *object)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredInputs () const
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
void SetRequiredInputNames (const NameArray &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
void AddOptionalInputName (const DataObjectIdentifierType &)
 
void AddOptionalInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
virtual const char * GetPrimaryOutputName () const
 
DataObjectGetOutput (DataObjectPointerArraySizeType i)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType i) const
 
virtual void SetOutput (const DataObjectIdentifierType &name, DataObject *output)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual void SetPrimaryOutput (DataObject *object)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType idx, DataObject *output)
 
virtual void AddOutput (DataObject *output)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual const DataObjectPointerArraySizeTypeGetNumberOfRequiredOutputs () const
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
virtual void VerifyPreconditions () ITKv5_CONST
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
virtual void GenerateOutputInformation ()
 
virtual void PropagateResetPipeline ()
 
virtual void ReleaseInputs ()
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual bool GetThreaderUpdateProgress () const
 
virtual void ThreaderUpdateProgressOn ()
 
virtual void ThreaderUpdateProgressOff ()
 
virtual void SetThreaderUpdateProgress (bool arg)
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
 ~Object () override
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &timeStamp)
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 
- Static Protected Member Functions inherited from itk::ImageSource< TInputImage >
static const ImageRegionSplitterBaseGetGlobalDefaultSplitter ()
 
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION ThreaderCallback (void *arg)
 
- Static Protected Member Functions inherited from itk::ProcessObject
static constexpr float progressFixedToFloat (uint32_t fixed)
 
static uint32_t progressFloatToFixed (float f)
 
- Protected Attributes inherited from itk::ImageSource< TInputImage >
bool m_DynamicMultiThreading
 
- Protected Attributes inherited from itk::ProcessObject
bool m_Updating
 
TimeStamp m_OutputInformationMTime
 
- Protected Attributes inherited from itk::LightObject
std::atomic< int > m_ReferenceCount
 

Detailed Description

template<typename TInputImage, typename TFeatureImage>
class itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >

keep N objects according to their statistics attributes

BinaryStatisticsKeepNObjectsImageFilter keep the N objects in a binary image with the highest (or lowest) attribute value. The attributes are the ones of the StatisticsLabelObject.

Author
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://www.insight-journal.org/browse/publication/176

See also
StatisticsLabelObject, LabelStatisticsKeepNObjectsImageFilter, BinaryShapeKeepNObjectsImageFilter

Definition at line 46 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

Member Typedef Documentation

◆ AttributeType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::AttributeType = typename LabelObjectType::AttributeType

Definition at line 85 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ BinarizerType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::BinarizerType = LabelMapToBinaryImageFilter<LabelMapType, OutputImageType>

Definition at line 87 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ ConstPointer

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::ConstPointer = SmartPointer<const Self>

Definition at line 55 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ FeatureImageConstPointer

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::FeatureImageConstPointer = typename FeatureImageType::ConstPointer

Definition at line 71 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ FeatureImagePixelType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::FeatureImagePixelType = typename FeatureImageType::PixelType

Definition at line 72 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ FeatureImagePointer

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::FeatureImagePointer = typename FeatureImageType::Pointer

Definition at line 70 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ FeatureImageType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::FeatureImageType = TFeatureImage

Definition at line 69 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ InputImageConstPointer

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::InputImageConstPointer = typename InputImageType::ConstPointer

Definition at line 61 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ InputImagePixelType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::InputImagePixelType = typename InputImageType::PixelType

Definition at line 63 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ InputImagePointer

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::InputImagePointer = typename InputImageType::Pointer

Definition at line 60 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ InputImageRegionType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::InputImageRegionType = typename InputImageType::RegionType

Definition at line 62 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ InputImageType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::InputImageType = TInputImage

Some convenient type alias.

Definition at line 58 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ KeepNObjectsType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::KeepNObjectsType = StatisticsKeepNObjectsLabelMapFilter<LabelMapType>

Definition at line 86 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ LabelizerType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::LabelizerType = BinaryImageToLabelMapFilter<InputImageType, LabelMapType>

Definition at line 83 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ LabelMapType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::LabelMapType = LabelMap<LabelObjectType>

Definition at line 82 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ LabelObjectType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::LabelObjectType = StatisticsLabelObject<LabelType, Self::ImageDimension>

Definition at line 81 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ LabelObjectValuatorType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::LabelObjectValuatorType = StatisticsLabelMapFilter<LabelMapType, TFeatureImage>

Definition at line 84 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ LabelType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::LabelType = SizeValueType

Definition at line 79 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ OutputImageConstPointer

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::OutputImageConstPointer = typename OutputImageType::ConstPointer

Definition at line 65 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ OutputImagePixelType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::OutputImagePixelType = typename OutputImageType::PixelType

Definition at line 67 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ OutputImagePointer

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::OutputImagePointer = typename OutputImageType::Pointer

Definition at line 64 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ OutputImageRegionType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::OutputImageRegionType = typename OutputImageType::RegionType

Definition at line 66 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ OutputImageType

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::OutputImageType = TInputImage

Definition at line 59 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ Pointer

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::Pointer = SmartPointer<Self>

Definition at line 54 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ Self

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::Self = BinaryStatisticsKeepNObjectsImageFilter

Standard class type aliases.

Definition at line 52 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ Superclass

template<typename TInputImage , typename TFeatureImage >
using itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::Superclass = ImageToImageFilter<TInputImage, TInputImage>

Definition at line 53 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

Constructor & Destructor Documentation

◆ BinaryStatisticsKeepNObjectsImageFilter()

template<typename TInputImage , typename TFeatureImage >
itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::BinaryStatisticsKeepNObjectsImageFilter ( )
protected

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ ~BinaryStatisticsKeepNObjectsImageFilter()

template<typename TInputImage , typename TFeatureImage >
itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::~BinaryStatisticsKeepNObjectsImageFilter ( )
overrideprotecteddefault

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

Member Function Documentation

◆ CreateAnother()

template<typename TInputImage , typename TFeatureImage >
virtual::itk::LightObject::Pointer itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::CreateAnother ( ) const
virtual

Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.

Reimplemented from itk::Object.

◆ EnlargeOutputRequestedRegion()

template<typename TInputImage , typename TFeatureImage >
void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::EnlargeOutputRequestedRegion ( DataObject )
overrideprotectedvirtual

BinaryStatisticsKeepNObjectsImageFilter will produce the entire output.

Reimplemented from itk::ProcessObject.

◆ FullyConnectedOff()

template<typename TInputImage , typename TFeatureImage >
virtual void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::FullyConnectedOff ( )
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ FullyConnectedOn()

template<typename TInputImage , typename TFeatureImage >
virtual void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::FullyConnectedOn ( )
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ GenerateData()

template<typename TInputImage , typename TFeatureImage >
void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::GenerateData ( )
overrideprotectedvirtual

Single-threaded version of GenerateData. This filter delegates to GrayscaleGeodesicErodeImageFilter.

Reimplemented from itk::ProcessObject.

◆ GenerateInputRequestedRegion()

template<typename TInputImage , typename TFeatureImage >
void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::GenerateInputRequestedRegion ( )
overrideprotectedvirtual

BinaryStatisticsKeepNObjectsImageFilter needs the entire input be available. Thus, it needs to provide an implementation of GenerateInputRequestedRegion().

Reimplemented from itk::ProcessObject.

◆ GetAttribute()

template<typename TInputImage , typename TFeatureImage >
virtual AttributeType itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::GetAttribute ( ) const
virtual

Set/Get the attribute to use to select the object to keep. The default is "Mean".

◆ GetBackgroundValue()

template<typename TInputImage , typename TFeatureImage >
virtual OutputImagePixelType itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::GetBackgroundValue ( ) const
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ GetFeatureImage()

template<typename TInputImage , typename TFeatureImage >
const FeatureImageType* itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::GetFeatureImage ( )
inline

Get the feature image

Definition at line 170 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

References itk::ProcessObject::GetInput().

◆ GetForegroundValue()

template<typename TInputImage , typename TFeatureImage >
virtual OutputImagePixelType itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::GetForegroundValue ( ) const
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ GetFullyConnected()

template<typename TInputImage , typename TFeatureImage >
virtual const bool& itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::GetFullyConnected ( ) const
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ GetNameOfClass()

template<typename TInputImage , typename TFeatureImage >
virtual const char* itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::GetNameOfClass ( ) const
virtual

Runtime information support.

Reimplemented from itk::ImageToImageFilter< TInputImage, TInputImage >.

◆ GetNumberOfObjects()

template<typename TInputImage , typename TFeatureImage >
virtual SizeValueType itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::GetNumberOfObjects ( ) const
virtual

Set/Get the number of objects to keep

◆ GetReverseOrdering()

template<typename TInputImage , typename TFeatureImage >
virtual bool itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::GetReverseOrdering ( ) const
virtual

Set/Get the ordering of the objects. By default, the ones with the highest value are kept. Turming ReverseOrdering to true make this filter keep the objects with the smallest values

◆ New()

template<typename TInputImage , typename TFeatureImage >
static Pointer itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::New ( )
static

Standard New method.

◆ PrintSelf()

template<typename TInputImage , typename TFeatureImage >
void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::PrintSelf ( std::ostream &  os,
Indent  indent 
) const
overrideprotectedvirtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

Reimplemented from itk::ProcessObject.

◆ ReverseOrderingOff()

template<typename TInputImage , typename TFeatureImage >
virtual void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::ReverseOrderingOff ( )
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ ReverseOrderingOn()

template<typename TInputImage , typename TFeatureImage >
virtual void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::ReverseOrderingOn ( )
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ SetAttribute() [1/2]

template<typename TInputImage , typename TFeatureImage >
virtual void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::SetAttribute ( AttributeType  _arg)
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ SetAttribute() [2/2]

template<typename TInputImage , typename TFeatureImage >
void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::SetAttribute ( const std::string &  s)
inline

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

Definition at line 154 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ SetBackgroundValue()

template<typename TInputImage , typename TFeatureImage >
virtual void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::SetBackgroundValue ( OutputImagePixelType  _arg)
virtual

Set/Get the value used as "background" in the output image. Defaults to NumericTraits<PixelType>::NonpositiveMin().

◆ SetFeatureImage()

template<typename TInputImage , typename TFeatureImage >
void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::SetFeatureImage ( const TFeatureImage *  input)
inline

Set the feature image

Definition at line 162 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ SetForegroundValue()

template<typename TInputImage , typename TFeatureImage >
virtual void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::SetForegroundValue ( OutputImagePixelType  _arg)
virtual

Set/Get the value used as "foreground" in the output image. Defaults to NumericTraits<PixelType>::max().

◆ SetFullyConnected()

template<typename TInputImage , typename TFeatureImage >
virtual void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::SetFullyConnected ( bool  _arg)
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ SetInput1()

template<typename TInputImage , typename TFeatureImage >
void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::SetInput1 ( const InputImageType input)
inline

Set the input image

Definition at line 177 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ SetInput2()

template<typename TInputImage , typename TFeatureImage >
void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::SetInput2 ( const FeatureImageType input)
inline

Set the feature image

Definition at line 184 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ SetNumberOfObjects()

template<typename TInputImage , typename TFeatureImage >
virtual void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::SetNumberOfObjects ( SizeValueType  _arg)
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

◆ SetReverseOrdering()

template<typename TInputImage , typename TFeatureImage >
virtual void itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::SetReverseOrdering ( bool  _arg)
virtual

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

Member Data Documentation

◆ ImageDimension

template<typename TInputImage , typename TFeatureImage >
constexpr unsigned int itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::ImageDimension = TInputImage::ImageDimension
staticconstexpr

Definition at line 77 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ InputImageDimension

template<typename TInputImage , typename TFeatureImage >
constexpr unsigned int itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::InputImageDimension = TInputImage::ImageDimension
staticconstexpr

ImageDimension constants

Definition at line 75 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ m_Attribute

template<typename TInputImage , typename TFeatureImage >
AttributeType itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::m_Attribute
private

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

Definition at line 216 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ m_BackgroundValue

template<typename TInputImage , typename TFeatureImage >
OutputImagePixelType itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::m_BackgroundValue
private

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

Definition at line 212 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ m_ForegroundValue

template<typename TInputImage , typename TFeatureImage >
OutputImagePixelType itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::m_ForegroundValue
private

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

Definition at line 213 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ m_FullyConnected

template<typename TInputImage , typename TFeatureImage >
bool itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::m_FullyConnected { false }
private

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

Definition at line 211 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ m_NumberOfObjects

template<typename TInputImage , typename TFeatureImage >
SizeValueType itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::m_NumberOfObjects { 0 }
private

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

Definition at line 214 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ m_ReverseOrdering

template<typename TInputImage , typename TFeatureImage >
bool itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::m_ReverseOrdering { false }
private

Set/Get whether the connected components are defined strictly by face connectivity or by face+edge+vertex connectivity. Default is FullyConnectedOff. For objects that are 1 pixel wide, use FullyConnectedOn.

Definition at line 215 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.

◆ OutputImageDimension

template<typename TInputImage , typename TFeatureImage >
constexpr unsigned int itk::BinaryStatisticsKeepNObjectsImageFilter< TInputImage, TFeatureImage >::OutputImageDimension = TInputImage::ImageDimension
staticconstexpr

Definition at line 76 of file itkBinaryStatisticsKeepNObjectsImageFilter.h.


The documentation for this class was generated from the following file: