OTB
9.0.0
Orfeo Toolbox
|
#include <otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef TFunction | FunctorType |
typedef HistogramType::SizeType | HistogramSizeType |
typedef itk::Statistics::Histogram< double, itk::Statistics::DenseFrequencyContainer2 > | HistogramType |
typedef Input1ImageType::ConstPointer | Input1ImageConstPointer |
typedef Input1ImageType::PixelType | Input1ImagePixelType |
typedef Input1ImageType::Pointer | Input1ImagePointer |
typedef Input1ImageType::RegionType | Input1ImageRegionType |
typedef TInputImage1 | Input1ImageType |
typedef Input2ImageType::ConstPointer | Input2ImageConstPointer |
typedef Input2ImageType::PixelType | Input2ImagePixelType |
typedef Input2ImageType::Pointer | Input2ImagePointer |
typedef Input2ImageType::RegionType | Input2ImageRegionType |
typedef TInputImage2 | Input2ImageType |
typedef HistogramType::MeasurementVectorType | MeasurementVectorType |
typedef itk::ConstNeighborhoodIterator< TInputImage1 > | NeighborhoodIteratorType1 |
typedef itk::ConstNeighborhoodIterator< TInputImage2 > | NeighborhoodIteratorType2 |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef TOutputImage | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::ProcessObject | ProcessObjectType |
typedef unsigned char | RadiusSizeType |
typedef NeighborhoodIteratorType1::RadiusType | RadiusType1 |
typedef NeighborhoodIteratorType2::RadiusType | RadiusType2 |
typedef BinaryFunctorNeighborhoodJoinHistogramImageFilter | Self |
typedef itk::ImageToImageFilter< TInputImage1, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | SetInput1 (const TInputImage1 *image1) |
void | SetInput2 (const TInputImage2 *image2) |
Implements neighborhood-wise generic operation of two images.
This class is parameterized over the types of the two input images and the type of the output image. It is also parameterized by the operation to be applied. A Functor style is used.
Definition at line 44 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef itk::SmartPointer<const Self> otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ConstPointer |
Definition at line 51 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef TFunction otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::FunctorType |
Some convenient typedefs.
Definition at line 57 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef HistogramType::SizeType otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::HistogramSizeType |
Definition at line 91 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef itk::Statistics::Histogram<double, itk::Statistics::DenseFrequencyContainer2> otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::HistogramType |
Typedefs for histogram. This should have been defined as Histogram<RealType, 2> but a bug in VC++7 produced an internal compiler error with such declaration.
Definition at line 89 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef Input1ImageType::ConstPointer otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Input1ImageConstPointer |
Definition at line 63 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef Input1ImageType::PixelType otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Input1ImagePixelType |
Definition at line 65 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef Input1ImageType::Pointer otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Input1ImagePointer |
Definition at line 62 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef Input1ImageType::RegionType otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Input1ImageRegionType |
Definition at line 64 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef TInputImage1 otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Input1ImageType |
Definition at line 61 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef Input2ImageType::ConstPointer otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Input2ImageConstPointer |
Definition at line 68 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef Input2ImageType::PixelType otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Input2ImagePixelType |
Definition at line 70 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef Input2ImageType::Pointer otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Input2ImagePointer |
Definition at line 67 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef Input2ImageType::RegionType otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Input2ImageRegionType |
Definition at line 69 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef TInputImage2 otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Input2ImageType |
Definition at line 66 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef HistogramType::MeasurementVectorType otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::MeasurementVectorType |
Definition at line 90 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef itk::ConstNeighborhoodIterator<TInputImage1> otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::NeighborhoodIteratorType1 |
Definition at line 78 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef itk::ConstNeighborhoodIterator<TInputImage2> otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::NeighborhoodIteratorType2 |
Definition at line 79 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef OutputImageType::PixelType otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::OutputImagePixelType |
Definition at line 74 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef OutputImageType::Pointer otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::OutputImagePointer |
Definition at line 72 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef OutputImageType::RegionType otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::OutputImageRegionType |
Definition at line 73 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef TOutputImage otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::OutputImageType |
Definition at line 71 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef itk::SmartPointer<Self> otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Pointer |
Definition at line 50 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef itk::ProcessObject otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::ProcessObjectType |
Definition at line 76 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef unsigned char otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::RadiusSizeType |
Definition at line 84 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef NeighborhoodIteratorType1::RadiusType otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::RadiusType1 |
Definition at line 81 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef NeighborhoodIteratorType2::RadiusType otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::RadiusType2 |
Definition at line 82 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef BinaryFunctorNeighborhoodJoinHistogramImageFilter otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Self |
Standard class typedefs.
Definition at line 48 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
typedef itk::ImageToImageFilter<TInputImage1, TOutputImage> otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::Superclass |
Definition at line 49 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
|
protected |
Constructor
Definition at line 36 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.hxx.
|
inlineoverrideprotected |
The padding value.
Definition at line 150 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
|
privatedelete |
The padding value.
|
overrideprotected |
The padding value.
Definition at line 156 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.hxx.
|
private |
Initialize the histogram
Definition at line 165 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.hxx.
virtual::itk::LightObject::Pointer otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Pad the inputs requested regions by radius
Definition at line 86 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.hxx.
|
inline |
Get the functor object. The functor is returned by reference. (Functors do not have to derive from itk::LightObject, so they do not necessarily have a reference count. So we cannot return a SmartPointer.)
Definition at line 108 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
const TInputImage1 * otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::GetInput1 |
Get the inputs
Definition at line 66 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.hxx.
const TInputImage2 * otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::GetInput2 |
The padding value.
Definition at line 76 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.hxx.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Returns the padding value.
|
virtual |
The padding value.
|
virtual |
The padding value.
|
static |
Method for creation through the object factory.
|
privatedelete |
The padding value.
|
inline |
Set the functor object. This replaces the current Functor with a copy of the specified Functor. This allows the user to specify a functor that has ivars set differently than the default functor. This method requires an operator!=() be defined on the functor (or the compiler's default implementation of operator!=() being appropriate).
Definition at line 119 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
void otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::SetInput1 | ( | const TInputImage1 * | image1 | ) |
Connect one of the operands for pixel-wise addition
Connect one of the operands for neighborhood-wise operation
Definition at line 49 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.hxx.
void otb::BinaryFunctorNeighborhoodJoinHistogramImageFilter< TInputImage1, TInputImage2, TOutputImage, TFunction >::SetInput2 | ( | const TInputImage2 * | image2 | ) |
Connect one of the operands for pixel-wise addition
Connect one of the operands for neighborhood-wise operation
Definition at line 59 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.hxx.
|
virtual |
The padding value.
|
virtual |
Neighborhood radius
|
virtual |
Factor to increase the upper bound for the samples in the histogram. Default value is 0.001
|
virtual |
Set whether the padding value should be used to determine which pixels should be ignored when calculating the similarity measure. Those pixels in the fixed image which have the padding value will be ignored.
|
overrideprotected |
BinaryFunctorNeighborhoodJoinHistogramImageFilter can be implemented as a multithreaded filter. Therefore, this implementation provides a ThreadedGenerateData() routine which is called for each processing thread. The output image data is allocated automatically by the superclass prior to calling ThreadedGenerateData(). ThreadedGenerateData can only write to the portion of the output image specified by the parameter "outputRegionForThread"
ThreadedGenerateData Performs the neighborhood-wise operation
Definition at line 267 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.hxx.
|
private |
The padding value.
Definition at line 183 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
|
protected |
The padding value.
Definition at line 175 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
|
private |
The padding value.
Definition at line 186 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
|
protected |
The padding value.
Definition at line 173 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
|
private |
The increase in the upper bound.
Definition at line 194 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.
|
private |
True if those pixels in the fixed image with the same value as the padding value should be ignored when calculating the similarity measure.
Definition at line 191 of file otbBinaryFunctorNeighborhoodJoinHistogramImageFilter.h.