OTB
9.0.0
Orfeo Toolbox
|
#include <otbGenericRSResampleImageFilter.h>
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
otbGetObjectMemberConstReferenceMacro (Resampler, DisplacementFieldSpacing, SpacingType) | |
otbSetObjectMemberMacro (Resampler, DisplacementFieldSpacing, SpacingType) | |
This class is a composite filter that allows you to project an input image from any coordinate system to any other one. The coordinate systems can be defined by their projection reference, the keyword list or a meta data dictionary.
This class uses the otb::StreamingResampleImageFilter. It defines and uses a otb::GenericRSTransform using the input/output coordinate system information listed below. This class can resample the input to an output image with the Size/Origin/Spacing/StartIndex defined by the user. Note that there are no default values for all the parameters, so it is mandatory to set correct parameters to have a correct result.
The methods SetOutputParametersFromMap can estimate the output image parameters Size/Origin/Spacing so the hole image can be reprojected without setting any output parameter.
Definition at line 56 of file otbGenericRSResampleImageFilter.h.
typedef itk::SmartPointer<const Self> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::ConstPointer |
Definition at line 63 of file otbGenericRSResampleImageFilter.h.
typedef GenericRSTransformType::Pointer otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GenericRSTransformPointerType |
Definition at line 100 of file otbGenericRSResampleImageFilter.h.
typedef GenericRSTransform otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GenericRSTransformType |
Specialisation of OptResampleFilter with a remote sensing transform
Definition at line 99 of file otbGenericRSResampleImageFilter.h.
typedef itk::ImageBase<OutputImageType::ImageDimension> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::ImageBaseType |
Definition at line 102 of file otbGenericRSResampleImageFilter.h.
typedef ResamplerType::IndexType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::IndexType |
Definition at line 84 of file otbGenericRSResampleImageFilter.h.
typedef TInputImage otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::InputImageType |
Typedef parameters
Definition at line 69 of file otbGenericRSResampleImageFilter.h.
typedef InputRpcModelEstimatorType::Pointer otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::InputRpcModelEstimatorPointerType |
Definition at line 90 of file otbGenericRSResampleImageFilter.h.
typedef PhysicalToRPCSensorModelImageFilter<InputImageType> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::InputRpcModelEstimatorType |
Estimate the rpc model
Definition at line 89 of file otbGenericRSResampleImageFilter.h.
typedef ResamplerType::InterpolatorType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::InterpolatorType |
Definition at line 86 of file otbGenericRSResampleImageFilter.h.
typedef ResamplerType::OriginType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::OriginType |
Definition at line 83 of file otbGenericRSResampleImageFilter.h.
typedef TOutputImage otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::OutputImageType |
Definition at line 73 of file otbGenericRSResampleImageFilter.h.
typedef OutputImageType::InternalPixelType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::OutputInternalPixelType |
Definition at line 74 of file otbGenericRSResampleImageFilter.h.
typedef OutputImageType::PointType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::OutputPointType |
Definition at line 75 of file otbGenericRSResampleImageFilter.h.
typedef OutputRpcModelEstimatorType::Pointer otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::OutputRpcModelEstimatorPointerType |
Definition at line 93 of file otbGenericRSResampleImageFilter.h.
typedef PhysicalToRPCSensorModelImageFilter<OutputImageType> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::OutputRpcModelEstimatorType |
Definition at line 92 of file otbGenericRSResampleImageFilter.h.
typedef itk::SmartPointer<Self> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::Pointer |
Definition at line 62 of file otbGenericRSResampleImageFilter.h.
typedef ResamplerType::RegionType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::RegionType |
Definition at line 85 of file otbGenericRSResampleImageFilter.h.
typedef ResamplerType::Pointer otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::ResamplerPointerType |
Definition at line 79 of file otbGenericRSResampleImageFilter.h.
typedef StreamingResampleImageFilter<InputImageType, OutputImageType> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::ResamplerType |
Internal filters typedefs
Definition at line 78 of file otbGenericRSResampleImageFilter.h.
typedef GenericRSResampleImageFilter otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::Self |
Standard class typedefs.
Definition at line 60 of file otbGenericRSResampleImageFilter.h.
typedef ResamplerType::SizeType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SizeType |
Definition at line 81 of file otbGenericRSResampleImageFilter.h.
typedef ResamplerType::SpacingType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SpacingType |
Definition at line 82 of file otbGenericRSResampleImageFilter.h.
typedef itk::ImageToImageFilter<TInputImage, TOutputImage> otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::Superclass |
Definition at line 61 of file otbGenericRSResampleImageFilter.h.
typedef ResamplerType::TransformType otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::TransformType |
Definition at line 80 of file otbGenericRSResampleImageFilter.h.
|
protected |
Set number of threads to 1 for Displacement field generator (use for faster access to OSSIM elevation source, which does not handle multithreading when accessing to DEM data)
Definition at line 42 of file otbGenericRSResampleImageFilter.hxx.
References otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetDisplacementFilterNumberOfThreads().
|
inlineoverrideprotected |
Destructor
Definition at line 288 of file otbGenericRSResampleImageFilter.h.
|
privatedelete |
The resampled image parameters Output Origin
virtual::itk::LightObject::Pointer otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::CreateAnother | ( | void | ) | const |
|
private |
Method to estimate the rpc model of the input using a temporary image to avoid adding this rpc estimator filter in the minipipeline.
Definition at line 169 of file otbGenericRSResampleImageFilter.hxx.
|
virtual |
The resampled image parameters Output Origin
|
virtual |
The resampled image parameters Output Origin
|
private |
Method to estimate the rpc model of the output using a temporary image
Definition at line 112 of file otbGenericRSResampleImageFilter.hxx.
References otb::ProjectionWKT.
|
virtual |
The resampled image parameters Output Origin
|
virtual |
The resampled image parameters Output Origin
|
overrideprotected |
The resampled image parameters Output Origin
Definition at line 61 of file otbGenericRSResampleImageFilter.hxx.
|
overrideprotected |
Generate the right output requested region following the parameters set by the user
Definition at line 80 of file otbGenericRSResampleImageFilter.hxx.
References otb::ProjectionWKT.
|
virtual |
The resampled image parameters Output Origin
|
virtual |
The resampled image parameters Output Origin
|
inline |
The resampled image parameters Output Origin
Definition at line 186 of file otbGenericRSResampleImageFilter.h.
|
inline |
The resampled image parameters Output Origin
Definition at line 161 of file otbGenericRSResampleImageFilter.h.
|
inline |
Get the input rpc model estimator grid size used
Definition at line 239 of file otbGenericRSResampleImageFilter.h.
|
virtual |
Run-time type information (and related methods).
|
inline |
The resampled image parameters Output Origin
Definition at line 200 of file otbGenericRSResampleImageFilter.h.
|
inline |
The resampled image parameters Output Origin
Definition at line 172 of file otbGenericRSResampleImageFilter.h.
|
inline |
Get the output rpc model estimator grid size used
Definition at line 265 of file otbGenericRSResampleImageFilter.h.
|
static |
Method for creation through the object factory.
|
privatedelete |
The resampled image parameters Output Origin
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberConstMacro | ( | Resampler | , |
Interpolator | , | ||
const InterpolatorType * | |||
) |
The resampled image parameters Output Origin
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberConstReferenceMacro | ( | Resampler | , |
DisplacementFieldSpacing | , | ||
SpacingType | |||
) |
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberConstReferenceMacro | ( | Resampler | , |
OutputOrigin | , | ||
OriginType | |||
) |
The resampled image parameters Output Origin
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberConstReferenceMacro | ( | Resampler | , |
OutputSize | , | ||
SizeType | |||
) |
The resampled image parameters Output Origin
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberConstReferenceMacro | ( | Resampler | , |
OutputSpacing | , | ||
SpacingType | |||
) |
The resampled image parameters Output Origin
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberConstReferenceMacro | ( | Resampler | , |
OutputStartIndex | , | ||
IndexType | |||
) |
The resampled image parameters Output Origin
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbGetObjectMemberMacro | ( | Resampler | , |
EdgePaddingValue | , | ||
typename OutputImageType::PixelType | |||
) |
The resampled image parameters Output Origin
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbSetObjectMemberMacro | ( | Resampler | , |
DisplacementFieldSpacing | , | ||
SpacingType | |||
) |
The Displacement field spacing & size
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbSetObjectMemberMacro | ( | Resampler | , |
EdgePaddingValue | , | ||
typename OutputImageType::PixelType | |||
) |
Default Edge padding value
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbSetObjectMemberMacro | ( | Resampler | , |
OutputSize | , | ||
SizeType | |||
) |
Output Size
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbSetObjectMemberMacro | ( | Resampler | , |
OutputSpacing | , | ||
SpacingType | |||
) |
Output Spacing
otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::otbSetObjectMemberMacro | ( | Resampler | , |
OutputStartIndex | , | ||
IndexType | |||
) |
Output Start index
|
overrideprotected |
The resampled image parameters Output Origin
Definition at line 328 of file otbGenericRSResampleImageFilter.hxx.
|
override |
Override itk::ProcessObject method to let the internal filter do the propagation
Definition at line 152 of file otbGenericRSResampleImageFilter.hxx.
|
inline |
Set number of threads for Displacement field generator
Definition at line 277 of file otbGenericRSResampleImageFilter.h.
Referenced by otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::GenericRSResampleImageFilter().
|
virtual |
Macro to tune the EstimateInputRpcModel flag
|
virtual |
Macro to tune the EstimateOutputRpcModel flag
|
inline |
Set/Get Input ImageMetadata
Definition at line 179 of file otbGenericRSResampleImageFilter.h.
|
inline |
Set/Get input & output projections. The macro are not used here cause the input and the output are inversed.
Definition at line 154 of file otbGenericRSResampleImageFilter.h.
|
inline |
Set/Get the grid size for rpc estimator
Definition at line 225 of file otbGenericRSResampleImageFilter.h.
|
inline |
unsigned int as parameter
Definition at line 232 of file otbGenericRSResampleImageFilter.h.
|
inline |
Methods to Set/Get the interpolator
Definition at line 136 of file otbGenericRSResampleImageFilter.h.
|
inline |
Set/Get Output ImageMetadata
Definition at line 193 of file otbGenericRSResampleImageFilter.h.
|
inline |
The resampled image parameters Output Origin
Definition at line 112 of file otbGenericRSResampleImageFilter.h.
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputParametersFromImage | ( | const ImageBaseType * | image | ) |
Useful to set the output parameters from an existing image
Method used to copy the parameters of the input image
Definition at line 195 of file otbGenericRSResampleImageFilter.hxx.
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputParametersFromImage | ( | const TImageType * | image | ) |
Useful to set output parameters form an existing image with type different from input or output image
Method used to copy the parameters of the input image
Definition at line 213 of file otbGenericRSResampleImageFilter.hxx.
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputParametersFromMap | ( | const std::string & | map, |
const SpacingType & | spacing | ||
) |
Useful to set the output parameters using a map (UTM|WGS84) and a spacing set by the user
Method used to project the input image in a defined srs, estimating the output size and origin. The spacing is set by the user. The supported projection are UTM and WGS84.
Definition at line 231 of file otbGenericRSResampleImageFilter.hxx.
References otb::SpatialReference::FromUTM(), otb::SpatialReference::FromWGS84(), otb::SpatialReference::ToWkt(), and otb::SpatialReference::UTMFromGeoPoint().
void otb::GenericRSResampleImageFilter< TInputImage, TOutputImage >::SetOutputParametersFromMap | ( | const std::string & | projectionRef | ) |
Useful to set the output parameters from a projectionRef, the output size, spacing and origin are estimated
Used to project the input image in a srs defined by its WKT projectionRef (as parameter) only. estimating the output size, spacing and origin.
Definition at line 307 of file otbGenericRSResampleImageFilter.hxx.
|
inline |
The resampled image parameters Output Origin
Definition at line 166 of file otbGenericRSResampleImageFilter.h.
|
inline |
Macro to Set/Get the grid size for rpc estimator
Definition at line 251 of file otbGenericRSResampleImageFilter.h.
|
inline |
unsigned int as parameter
Definition at line 258 of file otbGenericRSResampleImageFilter.h.
|
protectedvirtual |
Fill with the default dict of the input and the output and instantiate the transform
Definition at line 140 of file otbGenericRSResampleImageFilter.hxx.
|
private |
The resampled image parameters Output Origin
Definition at line 307 of file otbGenericRSResampleImageFilter.h.
|
private |
The resampled image parameters Output Origin
Definition at line 308 of file otbGenericRSResampleImageFilter.h.
|
private |
The resampled image parameters Output Origin
Definition at line 313 of file otbGenericRSResampleImageFilter.h.
|
private |
The resampled image parameters Output Origin
Definition at line 314 of file otbGenericRSResampleImageFilter.h.
|
private |
The resampled image parameters Output Origin
Definition at line 312 of file otbGenericRSResampleImageFilter.h.
|
private |
The resampled image parameters Output Origin
Definition at line 309 of file otbGenericRSResampleImageFilter.h.
|
private |
The resampled image parameters Output Origin
Definition at line 315 of file otbGenericRSResampleImageFilter.h.