![]() |
OTB
10.0.0
Orfeo Toolbox
|
#include <otbStreamingStatisticsMapFromLabelImageFilter.h>
Public Types | |
typedef std::vector< AccumulatorMapType > | AccumulatorMapCollectionType |
typedef std::unordered_map< LabelPixelType, AccumulatorType > | AccumulatorMapType |
typedef StatisticsAccumulator< RealVectorPixelType > | AccumulatorType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::DataObject::Pointer | DataObjectPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef itk::ImageBase< InputImageDimension > | ImageBaseType |
typedef ImageBaseType::RegionType | InputImageRegionType |
typedef TInputVectorImage::Pointer | InputVectorImagePointer |
typedef TLabelImage::Pointer | LabelImagePointer |
typedef TLabelImage | LabelImageType |
typedef LabelImageType::PixelType | LabelPixelType |
typedef std::unordered_map< LabelPixelType, double > | LabelPopulationMapType |
typedef itk::SimpleDataObjectDecorator< PixelValueMapType > | PixelValueMapObjectType |
typedef std::unordered_map< LabelPixelType, RealVectorPixelType > | PixelValueMapType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::VariableLengthVector< double > | RealVectorPixelType |
typedef VectorImageType::RegionType | RegionType |
typedef PersistentStreamingStatisticsMapFromLabelImageFilter | Self |
typedef PersistentImageFilter< TInputVectorImage, TInputVectorImage > | Superclass |
typedef TInputVectorImage | VectorImageType |
typedef VectorImageType::PixelType | VectorPixelType |
typedef VectorImageType::PixelType::ValueType | VectorPixelValueType |
![]() | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef TInputVectorImage | InputImageType |
typedef TInputVectorImage | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef PersistentImageFilter | Self |
typedef itk::ImageToImageFilter< TInputVectorImage, TInputVectorImage > | Superclass |
Public Member Functions | |
void | AllocateOutputs () override |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
void | GenerateInputRequestedRegion () override |
void | GenerateOutputInformation () override |
virtual const LabelImageType * | GetInputLabelImage () |
LabelPopulationMapType | GetLabelPopulationMap () const |
PixelValueMapType | GetMaxValueMap () const |
PixelValueMapType | GetMeanValueMap () const |
PixelValueMapType | GetMinValueMap () const |
virtual const char * | GetNameOfClass () const |
virtual VectorPixelValueType | GetNoDataValue () |
PixelValueMapType | GetStandardDeviationValueMap () const |
virtual bool | GetUseNoDataValue () |
DataObjectPointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
void | Reset (void) override |
virtual void | SetInputLabelImage (const LabelImageType *image) |
virtual void | SetNoDataValue (VectorPixelValueType _arg) |
virtual void | SetUseNoDataValue (bool _arg) |
void | Synthetize (void) override |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputVectorImage::ImageDimension |
static const unsigned int | InputImageDimension = TInputVectorImage::ImageDimension |
Protected Member Functions | |
PersistentStreamingStatisticsMapFromLabelImageFilter () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
~PersistentStreamingStatisticsMapFromLabelImageFilter () override | |
void | ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
![]() | |
PersistentImageFilter () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
virtual void | VerifyInputInformation () const |
~PersistentImageFilter () override | |
Private Member Functions | |
void | operator= (const Self &)=delete |
PersistentStreamingStatisticsMapFromLabelImageFilter (const Self &)=delete | |
Computes mean radiometric value for each label of a label image, based on a support VectorImage.
This filter persists its temporary data. It means that if you Update it n times on n different requested regions, the output statistics will be the statistics of the whole set of n regions.
To reset the temporary data, one should call the Reset() function.
To get the statistics once the regions have been processed via the pipeline, use the Synthetize() method.
Definition at line 177 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef std::vector<AccumulatorMapType> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::AccumulatorMapCollectionType |
Definition at line 205 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef std::unordered_map<LabelPixelType, AccumulatorType> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::AccumulatorMapType |
Definition at line 204 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef StatisticsAccumulator<RealVectorPixelType> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::AccumulatorType |
Definition at line 203 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef itk::SmartPointer<const Self> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::ConstPointer |
Definition at line 184 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef itk::DataObject::Pointer otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::DataObjectPointer |
Smart Pointer type to a DataObject.
Definition at line 220 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::DataObjectPointerArraySizeType |
Definition at line 221 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef itk::ImageBase<InputImageDimension> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::ImageBaseType |
Definition at line 223 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef ImageBaseType::RegionType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::InputImageRegionType |
Definition at line 224 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef TInputVectorImage::Pointer otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::InputVectorImagePointer |
Definition at line 194 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef TLabelImage::Pointer otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::LabelImagePointer |
Definition at line 196 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef TLabelImage otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::LabelImageType |
Definition at line 195 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef LabelImageType::PixelType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::LabelPixelType |
Definition at line 201 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef std::unordered_map<LabelPixelType, double> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::LabelPopulationMapType |
Definition at line 207 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef itk::SimpleDataObjectDecorator<PixelValueMapType> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PixelValueMapObjectType |
Type of DataObjects used for scalar outputs
Definition at line 227 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef std::unordered_map<LabelPixelType, RealVectorPixelType> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PixelValueMapType |
Definition at line 206 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef itk::SmartPointer<Self> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::Pointer |
Definition at line 183 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef itk::VariableLengthVector<double> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::RealVectorPixelType |
Definition at line 202 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef VectorImageType::RegionType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::RegionType |
Definition at line 198 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef PersistentStreamingStatisticsMapFromLabelImageFilter otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::Self |
Standard Self typedef
Definition at line 181 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef PersistentImageFilter<TInputVectorImage, TInputVectorImage> otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::Superclass |
Definition at line 182 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef TInputVectorImage otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::VectorImageType |
Image related typedefs.
Definition at line 193 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef VectorImageType::PixelType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::VectorPixelType |
Definition at line 199 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
typedef VectorImageType::PixelType::ValueType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::VectorPixelValueType |
Definition at line 200 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
|
protected |
Definition at line 37 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
References otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::MakeOutput(), and otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::Reset().
|
inlineoverrideprotected |
Definition at line 273 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
|
privatedelete |
|
override |
Pass the input through unmodified. Do this by Grafting in the AllocateOutputs method.
Definition at line 127 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
virtual::itk::LightObject::Pointer otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::CreateAnother | ( | void | ) | const |
|
override |
Due to heterogeneous input template GenerateInputRequestedRegion must be reimplemented using explicit cast This new implementation is inspired by the one of itk::ImageToImageFilter
Definition at line 217 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
|
override |
Definition at line 110 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
|
virtual |
Get input label image
Definition at line 69 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::LabelPopulationMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetLabelPopulationMap |
Return the computed number of labeled pixels for each label in the input label image
Definition at line 104 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PixelValueMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetMaxValueMap |
Return the computed Max for each label in the input label image
Definition at line 97 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PixelValueMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetMeanValueMap |
Return the computed Mean for each label in the input label image
Definition at line 76 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PixelValueMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetMinValueMap |
Return the computed Min for each label in the input label image
Definition at line 90 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
|
virtual |
Runtime information support.
Reimplemented from otb::PersistentImageFilter< TInputVectorImage, TInputVectorImage >.
|
virtual |
PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::PixelValueMapType otb::PersistentStreamingStatisticsMapFromLabelImageFilter< TInputVectorImage, TLabelImage >::GetStandardDeviationValueMap |
Return the computed Standard Deviation for each label in the input label image
Definition at line 83 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
|
virtual |
|
override |
Make a DataObject of the correct type to be used as the specified output.
Definition at line 55 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
|
static |
Method for creation through the object factory.
|
privatedelete |
|
overrideprotected |
Definition at line 284 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
|
overridevirtual |
Reset the persistent data of the filter.
Implements otb::PersistentImageFilter< TInputVectorImage, TInputVectorImage >.
Definition at line 204 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
|
virtual |
Set input label image
Definition at line 61 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
|
virtual |
|
virtual |
|
overridevirtual |
Synthesize the persistent data of the filter.
Implements otb::PersistentImageFilter< TInputVectorImage, TInputVectorImage >.
Definition at line 137 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
|
overrideprotected |
Grab the input
Definition at line 245 of file otbStreamingStatisticsMapFromLabelImageFilter.hxx.
|
static |
Image related typedefs.
Definition at line 212 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
|
static |
Definition at line 209 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
|
private |
Definition at line 287 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
|
private |
Definition at line 294 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
|
private |
Definition at line 292 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
|
private |
Definition at line 289 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
|
private |
Definition at line 291 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
|
private |
Definition at line 284 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
|
private |
Definition at line 290 of file otbStreamingStatisticsMapFromLabelImageFilter.h.
|
private |
Definition at line 285 of file otbStreamingStatisticsMapFromLabelImageFilter.h.