OTB
9.0.0
Orfeo Toolbox
|
#include <otbStreamingCompareImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::DataObject::Pointer | DataObjectPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef TInputImage | ImageType |
typedef TInputImage::IndexType | IndexType |
typedef TInputImage::Pointer | InputImagePointer |
typedef itk::SimpleDataObjectDecorator< PixelType > | PixelObjectType |
typedef TInputImage::PixelType | PixelType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SimpleDataObjectDecorator< RealType > | RealObjectType |
typedef itk::NumericTraits< PixelType >::RealType | RealType |
typedef TInputImage::RegionType | RegionType |
typedef PersistentCompareImageFilter | Self |
typedef TInputImage::SizeType | SizeType |
typedef PersistentImageFilter< TInputImage, TInputImage > | Superclass |
Public Types inherited from otb::PersistentImageFilter< TInputImage, TInputImage > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef TInputImage | InputImageType |
typedef TInputImage | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef PersistentImageFilter | Self |
typedef itk::ImageToImageFilter< TInputImage, TInputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Public Member Functions inherited from otb::PersistentImageFilter< TInputImage, TInputImage > | |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Attributes | |
static const unsigned int | ImageDimension = TInputImage::ImageDimension |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
itk::Array< RealType > | m_SquareOfDifferences |
itk::Array< RealType > | m_AbsoluteValueOfDifferences |
itk::Array< PixelType > | m_ThreadMinRef |
itk::Array< PixelType > | m_ThreadMaxRef |
itk::Array< long > | m_Count |
itk::Array< long > | m_DiffCount |
bool | m_PhysicalSpaceCheck |
const TInputImage * | GetInput1 () |
const TInputImage * | GetInput2 () |
void | SetInput1 (const TInputImage *image) |
void | SetInput2 (const TInputImage *image) |
RealType | GetPSNR () const |
RealObjectType * | GetPSNROutput () |
const RealObjectType * | GetPSNROutput () const |
RealType | GetMSE () const |
RealObjectType * | GetMSEOutput () |
const RealObjectType * | GetMSEOutput () const |
RealType | GetMAE () const |
RealObjectType * | GetMAEOutput () |
const RealObjectType * | GetMAEOutput () const |
RealType | GetDiffCount () const |
RealObjectType * | GetDiffCountOutput () |
const RealObjectType * | GetDiffCountOutput () const |
virtual bool | GetPhysicalSpaceCheck () |
virtual void | SetPhysicalSpaceCheck (bool _arg) |
DataObjectPointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
void | AllocateOutputs () override |
void | GenerateOutputInformation () override |
void | Synthetize (void) override |
void | Reset (void) override |
PersistentCompareImageFilter () | |
~PersistentCompareImageFilter () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
void | ThreadedGenerateData (const RegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | VerifyInputInformation () override |
PersistentCompareImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Additional Inherited Members | |
Protected Member Functions inherited from otb::PersistentImageFilter< TInputImage, TInputImage > | |
PersistentImageFilter () | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
~PersistentImageFilter () override | |
Compute mean squared error, mean absolute error and PSNR of two imagee using the output requested region.
This filter persists its temporary data. It means that if you Update it n times on n different requested regions, the output estimators will be the estimators of the whole set of n regions.
To reset the temporary data, one should call the Reset() function.
To get the estimators once the regions have been processed via the pipeline, use the Synthetize() method.
Definition at line 51 of file otbStreamingCompareImageFilter.h.
typedef itk::SmartPointer<const Self> otb::PersistentCompareImageFilter< TInputImage >::ConstPointer |
Definition at line 58 of file otbStreamingCompareImageFilter.h.
typedef itk::DataObject::Pointer otb::PersistentCompareImageFilter< TInputImage >::DataObjectPointer |
Smart Pointer type to a DataObject.
Definition at line 85 of file otbStreamingCompareImageFilter.h.
typedef itk::ProcessObject::DataObjectPointerArraySizeType otb::PersistentCompareImageFilter< TInputImage >::DataObjectPointerArraySizeType |
Definition at line 74 of file otbStreamingCompareImageFilter.h.
typedef TInputImage otb::PersistentCompareImageFilter< TInputImage >::ImageType |
Image related typedefs.
Definition at line 64 of file otbStreamingCompareImageFilter.h.
typedef TInputImage::IndexType otb::PersistentCompareImageFilter< TInputImage >::IndexType |
Definition at line 72 of file otbStreamingCompareImageFilter.h.
typedef TInputImage::Pointer otb::PersistentCompareImageFilter< TInputImage >::InputImagePointer |
Definition at line 68 of file otbStreamingCompareImageFilter.h.
typedef itk::SimpleDataObjectDecorator<PixelType> otb::PersistentCompareImageFilter< TInputImage >::PixelObjectType |
Definition at line 89 of file otbStreamingCompareImageFilter.h.
typedef TInputImage::PixelType otb::PersistentCompareImageFilter< TInputImage >::PixelType |
Definition at line 73 of file otbStreamingCompareImageFilter.h.
typedef itk::SmartPointer<Self> otb::PersistentCompareImageFilter< TInputImage >::Pointer |
Definition at line 57 of file otbStreamingCompareImageFilter.h.
typedef itk::SimpleDataObjectDecorator<RealType> otb::PersistentCompareImageFilter< TInputImage >::RealObjectType |
Type of DataObjects used for scalar outputs
Definition at line 88 of file otbStreamingCompareImageFilter.h.
typedef itk::NumericTraits<PixelType>::RealType otb::PersistentCompareImageFilter< TInputImage >::RealType |
Type to use for computations.
Definition at line 82 of file otbStreamingCompareImageFilter.h.
typedef TInputImage::RegionType otb::PersistentCompareImageFilter< TInputImage >::RegionType |
Definition at line 70 of file otbStreamingCompareImageFilter.h.
typedef PersistentCompareImageFilter otb::PersistentCompareImageFilter< TInputImage >::Self |
Standard Self typedef
Definition at line 55 of file otbStreamingCompareImageFilter.h.
typedef TInputImage::SizeType otb::PersistentCompareImageFilter< TInputImage >::SizeType |
Definition at line 71 of file otbStreamingCompareImageFilter.h.
typedef PersistentImageFilter<TInputImage, TInputImage> otb::PersistentCompareImageFilter< TInputImage >::Superclass |
Definition at line 56 of file otbStreamingCompareImageFilter.h.
|
protected |
Get the inputs
Definition at line 34 of file otbStreamingCompareImageFilter.hxx.
References otb::PersistentCompareImageFilter< TInputImage >::GetDiffCountOutput(), otb::PersistentCompareImageFilter< TInputImage >::GetMAEOutput(), otb::PersistentCompareImageFilter< TInputImage >::GetMSEOutput(), otb::PersistentCompareImageFilter< TInputImage >::GetPSNROutput(), otb::PersistentCompareImageFilter< TInputImage >::MakeOutput(), and otb::PersistentCompareImageFilter< TInputImage >::Reset().
|
inlineoverrideprotected |
Get the inputs
Definition at line 157 of file otbStreamingCompareImageFilter.h.
|
privatedelete |
Get the inputs
|
override |
Pass the input through unmodified. Do this by Grafting in the AllocateOutputs method.
Definition at line 182 of file otbStreamingCompareImageFilter.hxx.
virtual::itk::LightObject::Pointer otb::PersistentCompareImageFilter< TInputImage >::CreateAnother | ( | void | ) | const |
|
override |
Get the inputs
Definition at line 167 of file otbStreamingCompareImageFilter.hxx.
|
inline |
Return the Number of Pixel which are different.
Definition at line 130 of file otbStreamingCompareImageFilter.h.
const PersistentCompareImageFilter< TInputImage >::RealObjectType * otb::PersistentCompareImageFilter< TInputImage >::GetDiffCountOutput |
Get the inputs
Definition at line 155 of file otbStreamingCompareImageFilter.hxx.
Referenced by otb::PersistentCompareImageFilter< TInputImage >::PersistentCompareImageFilter().
const RealObjectType* otb::PersistentCompareImageFilter< TInputImage >::GetDiffCountOutput | ( | ) | const |
Get the inputs
const TInputImage * otb::PersistentCompareImageFilter< TInputImage >::GetInput1 |
Get the inputs
Definition at line 78 of file otbStreamingCompareImageFilter.hxx.
const TInputImage * otb::PersistentCompareImageFilter< TInputImage >::GetInput2 |
Get the inputs
Definition at line 88 of file otbStreamingCompareImageFilter.hxx.
|
inline |
Return the computed MAE.
Definition at line 121 of file otbStreamingCompareImageFilter.h.
const PersistentCompareImageFilter< TInputImage >::RealObjectType * otb::PersistentCompareImageFilter< TInputImage >::GetMAEOutput |
Get the inputs
Definition at line 143 of file otbStreamingCompareImageFilter.hxx.
Referenced by otb::PersistentCompareImageFilter< TInputImage >::PersistentCompareImageFilter().
const RealObjectType* otb::PersistentCompareImageFilter< TInputImage >::GetMAEOutput | ( | ) | const |
Get the inputs
|
inline |
Return the computed MSE.
Definition at line 112 of file otbStreamingCompareImageFilter.h.
const PersistentCompareImageFilter< TInputImage >::RealObjectType * otb::PersistentCompareImageFilter< TInputImage >::GetMSEOutput |
Get the inputs
Definition at line 131 of file otbStreamingCompareImageFilter.hxx.
Referenced by otb::PersistentCompareImageFilter< TInputImage >::PersistentCompareImageFilter().
const RealObjectType* otb::PersistentCompareImageFilter< TInputImage >::GetMSEOutput | ( | ) | const |
Get the inputs
|
virtual |
Runtime information support.
|
virtual |
Get the inputs
|
inline |
Return the computed PSNR.
Definition at line 103 of file otbStreamingCompareImageFilter.h.
const PersistentCompareImageFilter< TInputImage >::RealObjectType * otb::PersistentCompareImageFilter< TInputImage >::GetPSNROutput |
Get the inputs
Definition at line 119 of file otbStreamingCompareImageFilter.hxx.
Referenced by otb::PersistentCompareImageFilter< TInputImage >::PersistentCompareImageFilter().
const RealObjectType* otb::PersistentCompareImageFilter< TInputImage >::GetPSNROutput | ( | ) | const |
Get the inputs
|
override |
Make a DataObject of the correct type to be used as the specified output.
Definition at line 98 of file otbStreamingCompareImageFilter.hxx.
Referenced by otb::PersistentCompareImageFilter< TInputImage >::PersistentCompareImageFilter().
|
static |
Method for creation through the object factory.
|
privatedelete |
Get the inputs
|
overrideprotected |
Get the inputs
Definition at line 330 of file otbStreamingCompareImageFilter.hxx.
|
overridevirtual |
Get the inputs
Implements otb::PersistentImageFilter< TInputImage, TInputImage >.
Definition at line 248 of file otbStreamingCompareImageFilter.hxx.
Referenced by otb::PersistentCompareImageFilter< TInputImage >::PersistentCompareImageFilter().
void otb::PersistentCompareImageFilter< TInputImage >::SetInput1 | ( | const TInputImage * | image | ) |
Connect one the first operands.
Connect one of the first operand
Definition at line 61 of file otbStreamingCompareImageFilter.hxx.
void otb::PersistentCompareImageFilter< TInputImage >::SetInput2 | ( | const TInputImage * | image | ) |
Connect one the second operands.
Connect one of the second operand
Definition at line 71 of file otbStreamingCompareImageFilter.hxx.
|
virtual |
Get the inputs
|
overridevirtual |
Get the inputs
Implements otb::PersistentImageFilter< TInputImage, TInputImage >.
Definition at line 192 of file otbStreamingCompareImageFilter.hxx.
|
overrideprotected |
Multi-thread version GenerateData.
Grab the input
Definition at line 278 of file otbStreamingCompareImageFilter.hxx.
|
overrideprotected |
Allows skipping the verification of physical space between the two input images (see flag m_PhysicalSpaceCheck)
Definition at line 271 of file otbStreamingCompareImageFilter.hxx.
|
static |
Image related typedefs.
Definition at line 79 of file otbStreamingCompareImageFilter.h.
|
static |
Definition at line 76 of file otbStreamingCompareImageFilter.h.
|
private |
Get the inputs
Definition at line 175 of file otbStreamingCompareImageFilter.h.
|
private |
Get the inputs
Definition at line 178 of file otbStreamingCompareImageFilter.h.
|
private |
Get the inputs
Definition at line 179 of file otbStreamingCompareImageFilter.h.
|
private |
Get the inputs
Definition at line 180 of file otbStreamingCompareImageFilter.h.
|
private |
Get the inputs
Definition at line 174 of file otbStreamingCompareImageFilter.h.
|
private |
Get the inputs
Definition at line 177 of file otbStreamingCompareImageFilter.h.
|
private |
Get the inputs
Definition at line 176 of file otbStreamingCompareImageFilter.h.