#include <itkScalarImageToCooccurrenceListSampleFilter.h>
Converts pixel data into a list of pairs in order to compute a cooccurrence Histogram.
This class is intended to be used in combination with the ListToHistogramFilter class.
Definition at line 52 of file itkScalarImageToCooccurrenceListSampleFilter.h.
Static Public Member Functions | |
static Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool val) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Static Public Attributes | |
static constexpr unsigned int | ImageDimension = TImage::ImageDimension |
static constexpr unsigned int | MeasurementVectorSize = 2 |
Protected Types | |
using | DataObjectPointer = DataObject::Pointer |
using | DataObjectPointerArraySizeType = ProcessObject::DataObjectPointerArraySizeType |
Private Attributes | |
OffsetTable | m_OffsetTable {} |
Additional Inherited Members | |
![]() | |
template<typename TSourceObject> | |
static void | MakeRequiredOutputs (TSourceObject &sourceObject, const DataObjectPointerArraySizeType numberOfRequiredOutputs) |
static constexpr float | progressFixedToFloat (uint32_t fixed) |
static uint32_t | progressFloatToFixed (float f) |
![]() | |
TimeStamp | m_OutputInformationMTime {} |
bool | m_Updating {} |
![]() | |
std::atomic< int > | m_ReferenceCount {} |
using itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::ConstPointer = SmartPointer<const Self> |
Definition at line 68 of file itkScalarImageToCooccurrenceListSampleFilter.h.
|
protected |
Definition at line 110 of file itkScalarImageToCooccurrenceListSampleFilter.h.
|
protected |
Definition at line 111 of file itkScalarImageToCooccurrenceListSampleFilter.h.
using itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::ImageType = TImage |
Definition at line 57 of file itkScalarImageToCooccurrenceListSampleFilter.h.
using itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::MeasurementVectorSizeType = typename SampleType::MeasurementVectorSizeType |
Definition at line 62 of file itkScalarImageToCooccurrenceListSampleFilter.h.
using itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::MeasurementVectorType = FixedArray<typename TImage::PixelType, 2> |
Definition at line 59 of file itkScalarImageToCooccurrenceListSampleFilter.h.
using itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::OffsetTable = std::vector<OffsetType> |
Definition at line 75 of file itkScalarImageToCooccurrenceListSampleFilter.h.
using itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::OffsetType = typename ShapedNeighborhoodIteratorType::OffsetType |
Offset type used for Neighborhoods
Definition at line 74 of file itkScalarImageToCooccurrenceListSampleFilter.h.
using itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::Pointer = SmartPointer<Self> |
Definition at line 67 of file itkScalarImageToCooccurrenceListSampleFilter.h.
using itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::SampleType = itk::Statistics::ListSample<MeasurementVectorType> |
Definition at line 61 of file itkScalarImageToCooccurrenceListSampleFilter.h.
using itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::Self = ScalarImageToCooccurrenceListSampleFilter |
Standard class type aliases
Definition at line 65 of file itkScalarImageToCooccurrenceListSampleFilter.h.
using itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::ShapedNeighborhoodIteratorType = itk::ShapedNeighborhoodIterator<TImage, ConstantBoundaryCondition<TImage>> |
Neighborhood iterator type.
Definition at line 71 of file itkScalarImageToCooccurrenceListSampleFilter.h.
using itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::Superclass = ProcessObject |
Definition at line 66 of file itkScalarImageToCooccurrenceListSampleFilter.h.
|
protected |
Referenced by GetNameOfClass().
|
overrideprotecteddefault |
|
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.
|
overrideprotectedvirtual |
This method causes the filter to generate its output.
Reimplemented from itk::ProcessObject.
const ImageType * itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::GetInput | ( | ) | const |
|
overridevirtual |
Reimplemented from itk::ProcessObject.
References ScalarImageToCooccurrenceListSampleFilter().
const SampleType * itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::GetOutput | ( | ) | const |
method to get the List sample
|
protectedvirtual |
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.
|
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 |
Method for creation through the object factory.
|
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 |
Method to set/get the image
Reimplemented from itk::ProcessObject.
void itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::SetInput | ( | const ImageType * | image | ) |
void itk::Statistics::ScalarImageToCooccurrenceListSampleFilter< TImage >::UseNeighbor | ( | const OffsetType & | offset | ) |
References itk::ProcessObject::SetInput().
|
staticconstexpr |
Image dimension.
Definition at line 102 of file itkScalarImageToCooccurrenceListSampleFilter.h.
|
private |
Definition at line 121 of file itkScalarImageToCooccurrenceListSampleFilter.h.
|
staticconstexpr |
the number of components in a measurement vector
Definition at line 99 of file itkScalarImageToCooccurrenceListSampleFilter.h.