OTB
9.0.0
Orfeo Toolbox
|
#include <otbSubsampleImageFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef SubsampleImageFilter | Self |
typedef itk::ImageToImageFilter< TInputImage, TOutputImage > | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
Static Public Member Functions | |
static Pointer | New () |
typedef Wavelet::WaveletDirection | DirectionOfTransformationEnumType |
typedef TInputImage | InputImageType |
typedef InputImageType::RegionType | InputImageRegionType |
typedef InputImageType::IndexType | InputImageIndexType |
typedef InputImageIndexType::IndexValueType | InputImageIndexValueType |
typedef TOutputImage | OutputImageType |
typedef OutputImageType::Pointer | OutputImagePointerType |
typedef OutputImageType::RegionType | OutputImageRegionType |
typedef OutputImageType::SizeType | OutputImageSizeType |
typedef OutputImageType::IndexType | OutputImageIndexType |
typedef OutputImageType::PixelType | OutputPixelType |
static const unsigned int | InputImageDimension = TInputImage::ImageDimension |
static const unsigned int | OutputImageDimension = TOutputImage::ImageDimension |
static const DirectionOfTransformationEnumType | DirectionOfTransformation = TDirectionOfTransformation |
InputImageIndexType | m_SubsampleFactor |
virtual const InputImageIndexType & | GetSubsampleFactor () |
virtual void | SetSubsampleFactor (InputImageIndexType &_arg) |
void | SetSubSampleFactor (InputImageIndexValueType factor) |
SubsampleImageFilter () | |
~SubsampleImageFilter () override | |
bool | IsSubsampleFactorOne () const |
void | CallCopyOutputRegionToInputRegion (InputImageRegionType &destRegion, const OutputImageRegionType &srcRegion) override |
void | CallCopyInputRegionToOutputRegion (OutputImageRegionType &destRegion, const InputImageRegionType &srcRegion) override |
void | GenerateOutputInformation () override |
void | BeforeThreadedGenerateData () override |
void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) override |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
SubsampleImageFilter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Performs a down sampling of an image.
This class performs a simple resampling image filtering.
The third template is a Wavelet::FORWARD/Wavelet::INVERSE Wavelet::WaveletDirection enumeration type. With Wavelet::FORWARD, the output image is of the same size of the one of the input image. But the output image contains only co-located subsample, the rest being 0. When Wavelet::INVERSE is used, the input image is considered as the sub-sampled. Then, the output image is larger. Initial pixel values are preserved but the output image is interleaved with 0.
Definition at line 54 of file otbSubsampleImageFilter.h.
typedef itk::SmartPointer<const Self> otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::ConstPointer |
Definition at line 61 of file otbSubsampleImageFilter.h.
typedef Wavelet::WaveletDirection otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::DirectionOfTransformationEnumType |
Direction definition
Definition at line 75 of file otbSubsampleImageFilter.h.
typedef InputImageType::IndexType otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::InputImageIndexType |
Direction definition
Definition at line 81 of file otbSubsampleImageFilter.h.
typedef InputImageIndexType::IndexValueType otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::InputImageIndexValueType |
Direction definition
Definition at line 82 of file otbSubsampleImageFilter.h.
typedef InputImageType::RegionType otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::InputImageRegionType |
Direction definition
Definition at line 80 of file otbSubsampleImageFilter.h.
typedef TInputImage otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::InputImageType |
Image typedef support.
Definition at line 79 of file otbSubsampleImageFilter.h.
typedef OutputImageType::IndexType otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::OutputImageIndexType |
Direction definition
Definition at line 88 of file otbSubsampleImageFilter.h.
typedef OutputImageType::Pointer otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::OutputImagePointerType |
Direction definition
Definition at line 85 of file otbSubsampleImageFilter.h.
typedef OutputImageType::RegionType otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::OutputImageRegionType |
Direction definition
Definition at line 86 of file otbSubsampleImageFilter.h.
typedef OutputImageType::SizeType otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::OutputImageSizeType |
Direction definition
Definition at line 87 of file otbSubsampleImageFilter.h.
typedef TOutputImage otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::OutputImageType |
Direction definition
Definition at line 84 of file otbSubsampleImageFilter.h.
typedef OutputImageType::PixelType otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::OutputPixelType |
Direction definition
Definition at line 89 of file otbSubsampleImageFilter.h.
typedef itk::SmartPointer<Self> otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::Pointer |
Definition at line 60 of file otbSubsampleImageFilter.h.
typedef SubsampleImageFilter otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::Self |
Standard class typedefs.
Definition at line 58 of file otbSubsampleImageFilter.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::Superclass |
Definition at line 59 of file otbSubsampleImageFilter.h.
|
inlineprotected |
Direction definition
Definition at line 103 of file otbSubsampleImageFilter.h.
|
inlineoverrideprotected |
Direction definition
Definition at line 107 of file otbSubsampleImageFilter.h.
|
privatedelete |
Direction definition
|
overrideprotected |
Set output image to 0 before processing
Definition at line 124 of file otbSubsampleImageFilter.hxx.
|
overrideprotected |
Direction definition
Definition at line 99 of file otbSubsampleImageFilter.hxx.
References otb::Wavelet::INVERSE.
|
overrideprotected |
Since input and output image are very likely to be of different size. Region estimation functions has to be reimplemented
Definition at line 73 of file otbSubsampleImageFilter.hxx.
References otb::Wavelet::INVERSE.
virtual::itk::LightObject::Pointer otb::SubsampleImageFilter< TInputImage, TOutputImage, TDirectionOfTransformation >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
Output image region size is not of the same dimension as the input. That is why GenerateOutputInformation has to be redefined.
Definition at line 60 of file otbSubsampleImageFilter.hxx.
|
virtual |
Run-time type information (and related methods).
|
virtual |
Set/Get the SubsampleFactor
|
protected |
Internal test function to check if there is any direction to subsample
Definition at line 48 of file otbSubsampleImageFilter.hxx.
|
static |
Method for creation through the object factory.
|
privatedelete |
Direction definition
|
overrideprotected |
Direction definition
Definition at line 36 of file otbSubsampleImageFilter.hxx.
|
virtual |
Direction definition
|
inline |
Direction definition
Definition at line 94 of file otbSubsampleImageFilter.h.
|
overrideprotected |
Allows multithreading
Definition at line 131 of file otbSubsampleImageFilter.hxx.
References otb::Wavelet::FORWARD, otb::SubsampledImageRegionConstIterator< TImage >::GetIndex(), otb::SubsampledImageRegionConstIterator< TImage >::GetOffset(), otb::SubsampledImageRegionConstIterator< TImage >::GoToBegin(), otb::SubsampledImageRegionConstIterator< TImage >::IsAtEnd(), otb::SubsampledImageRegionIterator< TImage >::Set(), otb::SubsampledImageRegionConstIterator< TImage >::SetIndex(), otb::SubsampledImageRegionConstIterator< TImage >::SetOffset(), and otb::SubsampledImageRegionConstIterator< TImage >::SetSubsampleFactor().
|
static |
Direction definition
Definition at line 76 of file otbSubsampleImageFilter.h.
|
static |
Extract dimension from input and output image.
Definition at line 70 of file otbSubsampleImageFilter.h.
|
private |
Direction definition
Definition at line 138 of file otbSubsampleImageFilter.h.
|
static |
Direction definition
Definition at line 71 of file otbSubsampleImageFilter.h.