ITK
5.0.0
Insight Segmentation and Registration Toolkit
|
#include <itkImageToHistogramFilter.h>
This class generates an histogram from an image.
The concept of Histogram in ITK is quite generic. It has been designed to manage multiple components data. This class facilitates the computation of an histogram from an image. Internally it creates a List that is feed into the SampleToHistogramFilter.
Definition at line 44 of file itkImageToHistogramFilter.h.
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Types | |
using | DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType |
Protected Attributes | |
HistogramMeasurementVectorType | m_Maximum |
HistogramPointer | m_MergeHistogram |
HistogramMeasurementVectorType | m_Minimum |
std::mutex | m_Mutex |
Protected Attributes inherited from itk::ProcessObject | |
TimeStamp | m_OutputInformationMTime |
bool | m_Updating |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount |
Private Member Functions | |
void | ApplyMarginalScale (HistogramMeasurementVectorType &min, HistogramMeasurementVectorType &max, HistogramSizeType &size) |
Additional Inherited Members | |
Static Public Attributes inherited from itk::ImageTransformer< TImage > | |
static constexpr unsigned int | InputImageDimension |
Static Protected Member Functions inherited from itk::ImageTransformer< TImage > | |
static ITK_THREAD_RETURN_FUNCTION_CALL_CONVENTION | ThreaderCallback (void *arg) |
using itk::Statistics::ImageToHistogramFilter< TImage >::ConstPointer = SmartPointer< const Self > |
Definition at line 53 of file itkImageToHistogramFilter.h.
|
protected |
Method that construct the outputs
Definition at line 132 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::HistogramConstPointer = typename HistogramType::ConstPointer |
Definition at line 69 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::HistogramMeasurementType = typename HistogramType::MeasurementType |
Definition at line 71 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::HistogramMeasurementVectorType = typename HistogramType::MeasurementVectorType |
Definition at line 72 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::HistogramPointer = typename HistogramType::Pointer |
Definition at line 68 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::HistogramSizeType = typename HistogramType::SizeType |
Definition at line 70 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::HistogramType = Histogram< ValueRealType > |
Definition at line 67 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::ImageType = TImage |
Definition at line 61 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::InputBooleanObjectType = SimpleDataObjectDecorator< bool > |
Type of DataObjects to use for AutoMinimumMaximum input
Definition at line 92 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::InputHistogramMeasurementObjectType = SimpleDataObjectDecorator<HistogramMeasurementType> |
Type of DataObjects to use for Marginal Scale inputs
Definition at line 85 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::InputHistogramMeasurementVectorObjectType = SimpleDataObjectDecorator<HistogramMeasurementVectorType> |
Type of DataObjects to use for Minimum and Maximums values of the histogram bins.
Definition at line 89 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::InputHistogramSizeObjectType = SimpleDataObjectDecorator<HistogramSizeType> |
Type of DataObjects to use for Size inputs
Definition at line 82 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::PixelType = typename ImageType::PixelType |
Definition at line 62 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::Pointer = SmartPointer< Self > |
Definition at line 52 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::RegionType = typename ImageType::RegionType |
Definition at line 63 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::Self = ImageToHistogramFilter |
Standard type alias
Definition at line 50 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::Superclass = ImageTransformer<TImage> |
Definition at line 51 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::ValueRealType = typename NumericTraits< ValueType >::RealType |
Definition at line 65 of file itkImageToHistogramFilter.h.
using itk::Statistics::ImageToHistogramFilter< TImage >::ValueType = typename NumericTraits< PixelType >::ValueType |
Definition at line 64 of file itkImageToHistogramFilter.h.
|
protected |
|
overrideprotecteddefault |
|
overrideprotectedvirtual |
If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
Reimplemented from itk::ImageTransformer< TImage >.
|
private |
|
overrideprotectedvirtual |
If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). The execution flow in the default GenerateData() method will be: 1) Allocate the output buffer 2) Call BeforeThreadedGenerateData() 3) Spawn threads, calling ThreadedGenerateData() in each thread. 4) Call AfterThreadedGenerateData() Note that this flow of control is only available if a filter provides a ThreadedGenerateData() method and NOT a GenerateData() method.
Reimplemented from itk::ImageTransformer< TImage >.
|
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.
Reimplemented in itk::Statistics::MaskedImageToHistogramFilter< TImage, TMaskImage >.
|
overrideprotectedvirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
|
virtual |
|
virtual |
|
virtual |
Methods for setting and getting the Minimum and Maximum values of the histogram bins.
|
virtual |
Methods for setting and getting the Minimum and Maximum values of the histogram bins.
|
virtual |
Methods for setting and getting the Minimum and Maximum values of the histogram bins.
|
virtual |
Methods for setting and getting the Minimum and Maximum values of the histogram bins.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::ImageTransformer< TImage >.
Reimplemented in itk::Statistics::MaskedImageToHistogramFilter< TImage, TMaskImage >.
const HistogramType* itk::Statistics::ImageToHistogramFilter< TImage >::GetOutput | ( | ) | const |
Return the output histogram.
HistogramType* itk::Statistics::ImageToHistogramFilter< TImage >::GetOutput | ( | ) |
Return the output histogram.
|
virtual |
Method that facilitates the use of this filter in the internal pipeline of another filter.
|
overrideprotectedvirtual |
Make a DataObject of the correct type to used as the specified output.
Every ProcessObject subclass must be able to create a DataObject that can be used as a specified output. This method is automatically called when DataObject::DisconnectPipeline() is called. DataObject::DisconnectPipeline, disconnects a data object from being an output of its current source. When the data object is disconnected, the ProcessObject needs to construct a replacement output data object so that the ProcessObject is in a valid state. So DataObject::DisconnectPipeline eventually calls ProcessObject::MakeOutput. Note that MakeOutput always returns a itkSmartPointer to a DataObject. ImageSource and MeshSource override this method to create the correct type of image and mesh respectively. If a filter has multiple outputs of different types, then that filter must provide an implementation of MakeOutput().
Reimplemented from itk::ProcessObject.
|
static |
standard New() method support
|
overrideprotectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::ProcessObject.
|
virtual |
|
virtual |
|
virtual |
Methods for setting and getting the boolean flag that defines whether the minimum and maximum of the histogram are going to be computed automatically from the values of the sample
|
virtual |
Methods for setting and getting the Minimum and Maximum values of the histogram bins.
|
virtual |
Methods for setting and getting the Minimum and Maximum values of the histogram bins.
|
virtual |
Methods for setting and getting the Minimum and Maximum values of the histogram bins.
|
virtual |
Methods for setting and getting the Minimum and Maximum values of the histogram bins.
|
virtual |
Methods for setting and getting the Minimum and Maximum values of the histogram bins.
|
virtual |
Methods for setting and getting the Minimum and Maximum values of the histogram bins.
|
virtual |
|
virtual |
|
virtual |
Methods for setting and getting the histogram size. The histogram size is encapsulated inside a decorator class. For this reason, it is possible to set and get the decorator class, but it is only possible to set the histogram size by value. This macro declares the methods SetHistogramSize(), SetHistogramSizeInput(), GetHistogramSizeInput().
|
virtual |
|
virtual |
|
virtual |
Methods for setting and getting the Marginal scale value. The marginal scale is used when the type of the measurement vector componets are of integer type.
|
protectedvirtual |
Reimplemented in itk::Statistics::MaskedImageToHistogramFilter< TImage, TMaskImage >.
|
protectedvirtual |
Reimplemented in itk::Statistics::MaskedImageToHistogramFilter< TImage, TMaskImage >.
|
protectedvirtual |
|
protected |
Definition at line 147 of file itkImageToHistogramFilter.h.
|
protected |
Definition at line 144 of file itkImageToHistogramFilter.h.
|
protected |
Definition at line 146 of file itkImageToHistogramFilter.h.
|
protected |
Definition at line 142 of file itkImageToHistogramFilter.h.