OTB
9.0.0
Orfeo Toolbox
|
#include <otbStreamingMosaicFilterBase.h>
Public Types | |
typedef itk::ImageRegionConstIterator< OutputImageType > | ConstIteratorType |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ContinuousIndex< double, 2 > | ContinuousIndexType |
typedef itk::NearestNeighborInterpolateImageFunction< InputImageType, InternalValueType > | DefaultInterpolatorType |
typedef std::vector< unsigned int > | IndicesListType |
typedef InputImageType::IndexType | InputImageIndexType |
typedef InputImageType::InternalPixelType | InputImageInternalPixelType |
typedef InputImageType::PixelType | InputImagePixelType |
typedef InputImageType::ConstPointer | InputImagePointer |
typedef InputImageType::PointType | InputImagePointType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::SizeType | InputImageSizeType |
typedef InputImageType::SpacingType | InputImageSpacingType |
typedef TInputImage | InputImageType |
typedef otb::VectorImage< InternalValueType, 2 > | InternalImageType |
typedef InternalImageType::PixelType | InternalPixelType |
typedef TInternalValueType | InternalValueType |
typedef InterpolatorType::Pointer | InterpolatorPointerType |
typedef itk::InterpolateImageFunction< InputImageType, InternalValueType > | InterpolatorType |
typedef itk::ImageRegionIterator< OutputImageType > | IteratorType |
typedef vnl_matrix< InternalValueType > | MatrixType |
typedef OutputImageType::IndexType | OutputImageIndexType |
typedef OutputImageType::InternalPixelType | OutputImageInternalPixelType |
typedef OutputImageType::PixelType | OutputImagePixelType |
typedef OutputImageType::Pointer | OutputImagePointer |
typedef OutputImageType::PointType | OutputImagePointType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::SizeType | OutputImageSizeType |
typedef OutputImageType::SpacingType | OutputImageSpacingType |
typedef TOutputImage | OutputImageType |
typedef itk::SmartPointer< Self > | Pointer |
typedef StreamingMosaicFilterBase | Self |
typedef otb::StreamingTraits< OutputImageType > | StreamingTraitsType |
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
Base class for mosaic filters. Computes the total extent of multiple inputs, and provide routines to compute whether or not an input image region must be requested.
The otb::StreamingMosaicFilterBase allows to compute what the final mosaic of multiple input of otb::VectorImage is, and provide the requested regions of input images. There is a shift-scale mode which allows to shift-scale input images, which can be useful e.g. color or radiometric harmonization of input set of images. The output spacing (SetOutputSpacing()), the start index (SetOutputIndex()) and the interpolator (SetInterpolator()) and the origin (SetOrigin()) can be set using the method between brackets.
Definition at line 54 of file otbStreamingMosaicFilterBase.h.
typedef itk::ImageRegionConstIterator<OutputImageType> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::ConstIteratorType |
Definition at line 97 of file otbStreamingMosaicFilterBase.h.
typedef itk::SmartPointer<const Self> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::ConstPointer |
Definition at line 61 of file otbStreamingMosaicFilterBase.h.
typedef itk::ContinuousIndex<double, 2> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::ContinuousIndexType |
Definition at line 90 of file otbStreamingMosaicFilterBase.h.
typedef itk::NearestNeighborInterpolateImageFunction<InputImageType, InternalValueType> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::DefaultInterpolatorType |
Definition at line 93 of file otbStreamingMosaicFilterBase.h.
typedef std::vector<unsigned int> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::IndicesListType |
Typedef for input images indices TODO maybe use a itk class instead of std::vector ?
Definition at line 102 of file otbStreamingMosaicFilterBase.h.
typedef InputImageType::IndexType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImageIndexType |
Definition at line 72 of file otbStreamingMosaicFilterBase.h.
typedef InputImageType::InternalPixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImageInternalPixelType |
Definition at line 75 of file otbStreamingMosaicFilterBase.h.
typedef InputImageType::PixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImagePixelType |
Definition at line 70 of file otbStreamingMosaicFilterBase.h.
typedef InputImageType::ConstPointer otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImagePointer |
Definition at line 68 of file otbStreamingMosaicFilterBase.h.
typedef InputImageType::PointType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImagePointType |
Definition at line 71 of file otbStreamingMosaicFilterBase.h.
typedef InputImageType::RegionType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImageRegionType |
Definition at line 69 of file otbStreamingMosaicFilterBase.h.
typedef InputImageType::SizeType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImageSizeType |
Definition at line 73 of file otbStreamingMosaicFilterBase.h.
typedef InputImageType::SpacingType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImageSpacingType |
Definition at line 74 of file otbStreamingMosaicFilterBase.h.
typedef TInputImage otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InputImageType |
Input image typedefs.
Definition at line 64 of file otbStreamingMosaicFilterBase.h.
typedef otb::VectorImage<InternalValueType, 2> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InternalImageType |
Definition at line 94 of file otbStreamingMosaicFilterBase.h.
typedef InternalImageType::PixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InternalPixelType |
Definition at line 95 of file otbStreamingMosaicFilterBase.h.
typedef TInternalValueType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InternalValueType |
Internal computing typedefs
Definition at line 89 of file otbStreamingMosaicFilterBase.h.
typedef InterpolatorType::Pointer otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InterpolatorPointerType |
Definition at line 92 of file otbStreamingMosaicFilterBase.h.
typedef itk::InterpolateImageFunction<InputImageType, InternalValueType> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::InterpolatorType |
Definition at line 91 of file otbStreamingMosaicFilterBase.h.
typedef itk::ImageRegionIterator<OutputImageType> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::IteratorType |
Definition at line 96 of file otbStreamingMosaicFilterBase.h.
typedef vnl_matrix<InternalValueType> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::MatrixType |
Typedef for matrices
Definition at line 105 of file otbStreamingMosaicFilterBase.h.
typedef OutputImageType::IndexType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImageIndexType |
Definition at line 81 of file otbStreamingMosaicFilterBase.h.
typedef OutputImageType::InternalPixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImageInternalPixelType |
Definition at line 86 of file otbStreamingMosaicFilterBase.h.
typedef OutputImageType::PixelType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImagePixelType |
Definition at line 85 of file otbStreamingMosaicFilterBase.h.
typedef OutputImageType::Pointer otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImagePointer |
Definition at line 79 of file otbStreamingMosaicFilterBase.h.
typedef OutputImageType::PointType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImagePointType |
Definition at line 82 of file otbStreamingMosaicFilterBase.h.
typedef OutputImageType::RegionType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImageRegionType |
Definition at line 80 of file otbStreamingMosaicFilterBase.h.
typedef OutputImageType::SizeType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImageSizeType |
Definition at line 83 of file otbStreamingMosaicFilterBase.h.
typedef OutputImageType::SpacingType otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImageSpacingType |
Definition at line 84 of file otbStreamingMosaicFilterBase.h.
typedef TOutputImage otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::OutputImageType |
Output image typedefs typedefs.
Definition at line 78 of file otbStreamingMosaicFilterBase.h.
typedef itk::SmartPointer<Self> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::Pointer |
Definition at line 60 of file otbStreamingMosaicFilterBase.h.
typedef StreamingMosaicFilterBase otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::Self |
Standard class typedef
Definition at line 58 of file otbStreamingMosaicFilterBase.h.
typedef otb::StreamingTraits<OutputImageType> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::StreamingTraitsType |
Definition at line 98 of file otbStreamingMosaicFilterBase.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::Superclass |
Definition at line 59 of file otbStreamingMosaicFilterBase.h.
|
protected |
Internal
Definition at line 31 of file otbStreamingMosaicFilterBase.hxx.
|
inlineprotected |
Internal
Definition at line 171 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
|
inlineprotectedvirtual |
Get the used input images indices
Reimplemented in otb::StreamingMosaicFilterWithBlendingBase< TInputImage, TOutputImage, TDistanceImage, TInternalValueType >, and otb::StreamingMosaicFilterWithBlendingBase< TInputImage, TOutputImage, TDistanceImage, double >.
Definition at line 199 of file otbStreamingMosaicFilterBase.h.
|
overrideprotected |
Setup state of filter after multi-threading.
Definition at line 421 of file otbStreamingMosaicFilterBase.hxx.
|
overrideprotected |
Setup state of filter before multi-threading. InterpolatorType::SetInputImage is not thread-safe and hence has to be setup before ThreadedGenerateData
Definition at line 408 of file otbStreamingMosaicFilterBase.hxx.
|
protectedvirtual |
Check the shift scale matrices
Check if scales and shifts are good
Definition at line 167 of file otbStreamingMosaicFilterBase.hxx.
|
protectedvirtual |
Compute output mosaic parameters (size, spacing, origin, ...)
Definition at line 206 of file otbStreamingMosaicFilterBase.hxx.
|
protectedvirtual |
Compute the requested region of a given input image
Definition at line 122 of file otbStreamingMosaicFilterBase.hxx.
|
overrideprotected |
Generate the input requested region and the used input images list
Definition at line 154 of file otbStreamingMosaicFilterBase.hxx.
|
overrideprotected |
Methods
Generates output information: size, spacing, etc. Default behavior: the output spacing is the min or all input images
Definition at line 257 of file otbStreamingMosaicFilterBase.hxx.
|
virtual |
Internal
|
virtual |
|
virtual |
Internal
|
virtual |
Internal
|
inlineprotectedvirtual |
Get number of bands
Definition at line 224 of file otbStreamingMosaicFilterBase.h.
|
inlineprotectedvirtual |
Get the number of input images
Reimplemented in otb::StreamingMosaicFilterWithBlendingBase< TInputImage, TOutputImage, TDistanceImage, TInternalValueType >, and otb::StreamingMosaicFilterWithBlendingBase< TInputImage, TOutputImage, TDistanceImage, double >.
Definition at line 218 of file otbStreamingMosaicFilterBase.h.
|
inlineprotectedvirtual |
Internal
Definition at line 209 of file otbStreamingMosaicFilterBase.h.
|
virtual |
Internal
|
virtual |
Internal
|
virtual |
Internal
|
inlinevirtual |
Internal
Definition at line 164 of file otbStreamingMosaicFilterBase.h.
|
inlinevirtual |
Internal
Definition at line 159 of file otbStreamingMosaicFilterBase.h.
|
virtual |
Internal
|
inlineprotectedvirtual |
Internal
Reimplemented in otb::StreamingMosaicFilterWithBlendingBase< TInputImage, TOutputImage, TDistanceImage, TInternalValueType >, and otb::StreamingMosaicFilterWithBlendingBase< TInputImage, TOutputImage, TDistanceImage, double >.
Definition at line 204 of file otbStreamingMosaicFilterBase.h.
|
protectedvirtual |
Image extent computing
Compute the input image extent i.e. corners inf & sup
Definition at line 49 of file otbStreamingMosaicFilterBase.hxx.
|
protectedvirtual |
Check if the given pixel is empty
Definition at line 379 of file otbStreamingMosaicFilterBase.hxx.
otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::itkGetObjectMacro | ( | Interpolator | , |
InterpolatorType | |||
) |
Internal
|
protectedvirtual |
normalize pixel value, according to numeric type
Definition at line 394 of file otbStreamingMosaicFilterBase.hxx.
|
private |
Internal
|
protectedvirtual |
Requested region computing
Compute the region of the input image which correspond to the given output requested region Return true if the region exists, false if not
TODO: Pad the Image's LargestPossibleRegion with the interpolator radius to avoid side effects near the Image's border?
Definition at line 80 of file otbStreamingMosaicFilterBase.hxx.
|
protectedvirtual |
Prepare interpolators, valid regions, and input images pointers
Definition at line 428 of file otbStreamingMosaicFilterBase.hxx.
|
virtual |
Set/Get automatic compute output parameters mode
|
virtual |
Set/Get the interpolator function.
|
virtual |
Set/Get the input no data value
|
virtual |
Set/Get the output no data value
|
virtual |
Set/Get output origin
|
virtual |
Set/Get output size
|
virtual |
Set/Get output spacing
|
inlinevirtual |
Internal
Definition at line 154 of file otbStreamingMosaicFilterBase.h.
|
inlinevirtual |
Set the shift-scale matrices
Definition at line 149 of file otbStreamingMosaicFilterBase.h.
|
virtual |
Set shift-scale mode
|
virtual |
Internal
|
virtual |
Internal
|
inlineprotectedvirtual |
Shift-Scale a value
Definition at line 233 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 265 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 257 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 249 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 251 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 250 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 254 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 255 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 253 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 261 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 260 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 258 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 268 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 267 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 264 of file otbStreamingMosaicFilterBase.h.
|
private |
Internal
Definition at line 266 of file otbStreamingMosaicFilterBase.h.