![]() |
OTB
10.0.0
Orfeo Toolbox
|
Typedefs | |
template<typename TInputImage , typename TOutputImage > | |
using | DotProductImageFilter = FunctorImageFilter< Functor::DotProductFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
typedef GDALResampling | GDALResamplingType |
template<class TInputImage , class TInputMaps , class TOutputImage > | |
using | GeodesicMorphologyLevelingFilter = FunctorImageFilter< Functor::LevelingFunctor< typename TInputImage::PixelType, typename TInputMaps::PixelType, typename TOutputImage::PixelType >, std::tuple< typename Functor::LevelingFunctor_tags::pixel, typename Functor::LevelingFunctor_tags::convex_pixel, typename Functor::LevelingFunctor_tags::concave_pixel > > |
template<typename TInputImage , typename TOutputImage , typename TPrecision > | |
using | ISRAUnmixingImageFilter = FunctorImageFilter< Functor::ISRAUnmixingFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType, TPrecision > > |
using | layout_left = details::generic_layout< details::policy::left_ > |
using | layout_right = details::generic_layout< details::policy::right_ > |
using | layout_stride = details::generic_layout< details::policy::stride_ > |
template<class T , ptrdiff_t... Extents> | |
using | mdspan = basic_mdspan< T, extents< Extents... > > |
template<typename TInput > | |
using | MLMSampleTraits = MLMSampleTraitsImpl< TInput, typename itk::mpl::IsNumber< TInput >::Type > |
template<typename TInput > | |
using | MLMTargetTraits = MLMTargetTraitsImpl< TInput, typename itk::mpl::IsNumber< TInput >::Type > |
template<typename TInputImage , typename TOutputImage > | |
using | MuellerToPolarisationDegreeAndPowerImageFilter = FunctorImageFilter< Functor::MuellerToPolarisationDegreeAndPowerFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
template<typename TInputImage , typename TOutputImage > | |
using | MuellerToReciprocalCovarianceImageFilter = FunctorImageFilter< Functor::MuellerToReciprocalCovarianceFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
template<typename TPixel > | |
using | PixelComponentConstIterator = internals::PixelComponentIterator< TPixel, internals::ConstTag > |
template<typename TPixel > | |
using | PixelComponentIterator = internals::PixelComponentIterator< TPixel, std::conditional_t< std::is_const< TPixel >::value, internals::ConstTag, internals::MutableTag > > |
template<typename TInputImage , typename TOutputImage , typename TPrecision > | |
using | ProjectiveProjectionImageFilter = FunctorImageFilter< Functor::ProjectiveProjectionFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType, TPrecision > > |
template<typename TInputImage , typename TOutputImage > | |
using | ReciprocalBarnesDecompImageFilter = FunctorImageFilter< Functor::ReciprocalBarnesDecompFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
template<typename TInputImage , typename TOutputImage > | |
using | ReciprocalCoherencyToReciprocalMuellerImageFilter = FunctorImageFilter< Functor::ReciprocalCoherencyToReciprocalMuellerFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
template<typename TInputImage , typename TOutputImage > | |
using | ReciprocalCovarianceToCoherencyDegreeImageFilter = FunctorImageFilter< Functor::ReciprocalCovarianceToCoherencyDegreeFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
template<typename TInputImage , typename TOutputImage > | |
using | ReciprocalCovarianceToReciprocalCoherencyImageFilter = FunctorImageFilter< Functor::ReciprocalCovarianceToReciprocalCoherencyFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
template<typename TInputImage , typename TOutputImage > | |
using | ReciprocalHAlphaImageFilter = FunctorImageFilter< Functor::ReciprocalHAlphaFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
template<typename TInputImage , typename TOutputImage > | |
using | ReciprocalHuynenDecompImageFilter = FunctorImageFilter< Functor::ReciprocalHuynenDecompFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
template<typename TInputImage , typename TOutputImage > | |
using | ReciprocalLinearCovarianceToReciprocalCircularCovarianceImageFilter = FunctorImageFilter< Functor::ReciprocalLinearCovarianceToReciprocalCircularCovarianceFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
template<typename TInputImage , typename TOutputImage > | |
using | ReciprocalPauliDecompImageFilter = FunctorImageFilter< Functor::ReciprocalPauliDecompFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType > > |
template<typename T > | |
using | RemoveCVRef = typename std::remove_cv< typename std::remove_reference< T >::type >::type |
template<class TInputValue , class TTargetValue > | |
using | SOM2DModelFactory = SOMModelFactory< TInputValue, TTargetValue, 2 > |
template<class TInputValue , class TTargetValue > | |
using | SOM3DModelFactory = SOMModelFactory< TInputValue, TTargetValue, 3 > |
template<class TInputValue , class TTargetValue > | |
using | SOM4DModelFactory = SOMModelFactory< TInputValue, TTargetValue, 4 > |
template<class TInputValue , class TTargetValue > | |
using | SOM5DModelFactory = SOMModelFactory< TInputValue, TTargetValue, 5 > |
template<typename TInputImage , typename TOutputImage , typename TPrecision > | |
using | UnConstrainedLeastSquareImageFilter = FunctorImageFilter< Functor::UnConstrainedLeastSquareFunctor< typename TInputImage::PixelType, typename TOutputImage::PixelType, TPrecision > > |
template<typename TImageIterator > | |
using | ZipConstIterator = internals::ZipIterator< TImageIterator, internals::ConstTag > |
template<typename TImageIterator > | |
using | ZipIterator = internals::ZipIterator< TImageIterator, internals::MutableTag > |
template<class TInputImage , class TOutputImage > | |
using | MultiScaleConvexOrConcaveClassificationFilter = FunctorImageFilter< Functor::MultiScaleConvexOrConcaveDecisionRule< typename TInputImage::PixelType, typename TOutputImage::PixelType >, std::tuple< Functor::MultiScaleConvexOrConcaveDecisionRule_tags::max_opening_profile_derivative, Functor::MultiScaleConvexOrConcaveDecisionRule_tags::max_closing_profile_derivative, Functor::MultiScaleConvexOrConcaveDecisionRule_tags::opening_profile_characteristics, Functor::MultiScaleConvexOrConcaveDecisionRule_tags::closing_profile_characteristics > > |
template<typename TInputImage , typename TOutputImage > | |
using | SinclairToCircularCovarianceMatrixImageFilter = FunctorImageFilter< Functor::SinclairToCircularCovarianceMatrixFunctor< typename TInputImage::PixelType, typename TInputImage::PixelType, typename TInputImage::PixelType, typename TInputImage::PixelType, typename TOutputImage::PixelType >, std::tuple< polarimetry_tags::hh, polarimetry_tags::hv, polarimetry_tags::vh, polarimetry_tags::vv > > |
template<typename TInputImage , typename TOutputImage > | |
using | SinclairToCoherencyMatrixImageFilter = FunctorImageFilter< Functor::SinclairToCoherencyMatrixFunctor< typename TInputImage::PixelType, typename TInputImage::PixelType, typename TInputImage::PixelType, typename TInputImage::PixelType, typename TOutputImage::PixelType >, std::tuple< polarimetry_tags::hh, polarimetry_tags::hv, polarimetry_tags::vh, polarimetry_tags::vv > > |
template<typename TInputImage , typename TOutputImage > | |
using | SinclairToCovarianceMatrixImageFilter = FunctorImageFilter< Functor::SinclairToCovarianceMatrixFunctor< typename TInputImage::PixelType, typename TInputImage::PixelType, typename TInputImage::PixelType, typename TInputImage::PixelType, typename TOutputImage::PixelType >, std::tuple< polarimetry_tags::hh, polarimetry_tags::hv, polarimetry_tags::vh, polarimetry_tags::vv > > |
template<typename TInputImage , typename TOutputImage > | |
using | SinclairToMuellerMatrixImageFilter = FunctorImageFilter< Functor::SinclairToMuellerMatrixFunctor< typename TInputImage::PixelType, typename TInputImage::PixelType, typename TInputImage::PixelType, typename TInputImage::PixelType, typename TOutputImage::PixelType >, std::tuple< polarimetry_tags::hh, polarimetry_tags::hv, polarimetry_tags::vh, polarimetry_tags::vv > > |
template<typename TInputImage , typename TOutputImage > | |
using | SinclairToReciprocalCircularCovarianceMatrixImageFilter = FunctorImageFilter< Functor::SinclairToReciprocalCircularCovarianceMatrixFunctor< typename TInputImage::PixelType, typename TInputImage::PixelType, typename TInputImage::PixelType, typename TOutputImage::PixelType >, std::tuple< polarimetry_tags::hh, polarimetry_tags::hv_or_vh, polarimetry_tags::vv > > |
template<typename TInputImage , typename TOutputImage > | |
using | SinclairToReciprocalCoherencyMatrixImageFilter = FunctorImageFilter< Functor::SinclairToReciprocalCoherencyMatrixFunctor< typename TInputImage::PixelType, typename TInputImage::PixelType, typename TInputImage::PixelType, typename TOutputImage::PixelType >, std::tuple< polarimetry_tags::hh, polarimetry_tags::hv_or_vh, polarimetry_tags::vv > > |
template<typename TInputImage , typename TOutputImage > | |
using | SinclairToReciprocalCovarianceMatrixImageFilter = FunctorImageFilter< Functor::SinclairToReciprocalCovarianceMatrixFunctor< typename TInputImage::PixelType, typename TInputImage::PixelType, typename TInputImage::PixelType, typename TOutputImage::PixelType >, std::tuple< polarimetry_tags::hh, polarimetry_tags::hv_or_vh, polarimetry_tags::vv > > |
Functions | |
template<typename I , typename O > | |
constexpr auto | common_highest () |
template<typename I , typename O > | |
constexpr auto | common_lowest () |
template<typename InputType , typename OutputType > | |
OutputType | ComplexCast (const std::complex< InputType > &in, const OutputType &) |
template<typename InputType , typename OutputType > | |
std::complex< OutputType > | ComplexCast (const std::complex< InputType > &in, const std::complex< OutputType > &) |
OTBMetadata_EXPORT bool | HasOpticalSensorMetadata (const ImageMetadata &imd) |
OTBMetadata_EXPORT bool | HasSARSensorMetadata (const ImageMetadata &imd) |
template<typename T > | |
T | InverseValue (const T &value) |
template<class T > | |
void | ListSampleToMat (const T *listSample, cv::Mat &output) |
template<typename T > | |
void | ListSampleToMat (typename T::ConstPointer listSample, cv::Mat &output) |
template<typename T > | |
void | ListSampleToMat (typename T::Pointer listSample, cv::Mat &output) |
template<typename T > | |
T::Pointer | MatToListSample (const cv::Mat &cvmat) |
OTBGdalAdapters_EXPORT bool | operator!= (const CoordinateTransformation &ct1, const CoordinateTransformation &ct2) noexcept |
OTBGdalAdapters_EXPORT bool | operator!= (const SpatialReference &sr1, const SpatialReference &sr2) noexcept |
template<std::ptrdiff_t... StaticExtentsL, std::ptrdiff_t... StaticExtentsR> | |
constexpr bool | operator!= (extents< StaticExtentsL... > const &lhs, extents< StaticExtentsR... > const &rhs) |
OTBGdalAdapters_EXPORT std::ostream & | operator<< (std::ostream &o, const CoordinateTransformation &i) |
OTBGdalAdapters_EXPORT std::ostream & | operator<< (std::ostream &o, const SpatialReference &i) |
OTBGdalAdapters_EXPORT std::ostream & | operator<< (std::ostream &o, const SpatialReference::hemisphere &hem) |
OTBMetadata_EXPORT std::ostream & | operator<< (std::ostream &os, const otb::ImageMetadata &imd) |
OTBMetadata_EXPORT std::ostream & | operator<< (std::ostream &os, const otb::ImageMetadataBase &imd) |
OTBCommon_EXPORT std::ostream & | operator<< (std::ostream &os, const otb::StringToHTML &str) |
template<class TType > | |
std::ostream & | operator<< (std::ostream &os, const RemoteSensingRegion< TType > ®ion) |
OTBVectorDataBase_EXPORT std::ostream & | operator<< (std::ostream &os, const VectorDataKeywordlist &kwl) |
OTBGdalAdapters_EXPORT bool | operator== (const CoordinateTransformation &ct1, const CoordinateTransformation &ct2) noexcept |
OTBGdalAdapters_EXPORT bool | operator== (const SpatialReference &sr1, const SpatialReference &sr2) noexcept |
template<std::ptrdiff_t... StaticExtentsL, std::ptrdiff_t... StaticExtentsR> | |
constexpr bool | operator== (extents< StaticExtentsL... > const &lhs, extents< StaticExtentsR... > const &rhs) |
template<class T > | |
bool | PixelIsComplex (const std::complex< T > &) |
template<class T > | |
bool | PixelIsComplex (const T &) |
template<typename TPixel > | |
auto | PixelRange (TPixel &&pixel) |
bool OTBMetadata_EXPORT | ReadNoDataFlags (const ImageMetadata &imd, std::vector< bool > &flags, std::vector< double > &values) |
template<class T > | |
void | SampleToMat (const T &sample, cv::Mat &output) |
template<typename T > | |
T | SignOfValue (const T &value) |
template<class ImageType , class RemoteSensingRegionType > | |
ImageType::RegionType | TransformPhysicalRegionToIndexRegion (const RemoteSensingRegionType ®ion, const ImageType *image) |
template<typename T > | |
T | trapezoid_area (T x1, T x2, T y1, T y2) |
OTBMetadata_EXPORT void | WriteImageMetadataToGeomFile (const ImageMetadata &imd, const std::string &filename) |
void OTBMetadata_EXPORT | WriteNoDataFlags (const std::vector< bool > &flags, const std::vector< double > &values, ImageMetadata &imd) |
template<typename TRange > | |
std::ostream & | Join (std::ostream &os, TRange const &range, std::string const &separator) |
template<typename Tmap > | |
std::ostream & | JoinMap (std::ostream &os, Tmap const &range, std::string const &separator) |
template<typename T > | |
constexpr T const & | clamp (T const &v, T const &lo, T const &hi) noexcept |
template<typename T2 , typename T1 > | |
itk::SmartPointer< T2 > | DynamicCast (const itk::SmartPointer< T1 > &p1) |
template<typename T2 , typename T1 > | |
itk::SmartPointer< const T2 > | ConstCast (const itk::SmartPointer< T1 > &p1) |
template<typename T2 , typename T1 > | |
itk::SmartPointer< T2 > | ConstCast (const itk::SmartPointer< const T1 > &p1) |
template<typename T > | |
auto | make_span (T *first, T *last) noexcept |
template<typename T > | |
auto | make_span (T *first, std::vcl_size_t count) noexcept |
template<typename T , std::vcl_size_t N> | |
auto | make_span (T(&arr)[N]) noexcept |
template<typename ContiguousContainer > | |
auto | make_span (ContiguousContainer &c) noexcept |
String view + functions | |
bool | operator== (string_view const &lhs, string_view const &rhs) |
bool | operator!= (string_view const &lhs, string_view const &rhs) |
std::ostream & | operator<< (std::ostream &os, const string_view &v) |
std::string | operator+ (string_view const &lhs, string_view const &rhs) |
bool | is_same_view (string_view const &lhs, string_view const &rhs) |
bool | starts_with (string_view const &haystack, string_view const &needle) |
bool | ends_with (string_view const &haystack, string_view const &needle) |
string_view | find (string_view const &haystack, string_view const &needle) |
bool | contains (string_view const &haystack, string_view const &needle) |
Splitting functions | |
template<typename String > | |
part_range< splitter_on_delim > | split_on (String const &str, char delim) |
string to number conversion | |
template<typename T > | |
T | to (string_view const &v, string_view const &context) |
template<typename T > | |
T | to_with_default (string_view const &v, T const &def=T()) |
OTB_GENERATE_CONV (to_integer, char) | |
OTB_GENERATE_CONV (to_uinteger, unsigned char) | |
OTB_GENERATE_CONV (to_integer, signed char) | |
OTB_GENERATE_CONV (to_uinteger, unsigned short) | |
OTB_GENERATE_CONV (to_integer, short) | |
OTB_GENERATE_CONV (to_integer, int) | |
OTB_GENERATE_CONV (to_uinteger, unsigned int) | |
OTB_GENERATE_CONV (to_integer, long) | |
OTB_GENERATE_CONV (to_uinteger, unsigned long) | |
OTB_GENERATE_CONV (to_float, float) | |
OTB_GENERATE_CONV (to_float, double) | |
OTB_GENERATE_CONV (to_float, long double) | |
template<> | |
std::string | to< std::string > (string_view const &v, string_view const &) |
template<typename T > | |
T const & | to (T const &v, string_view const &) |
template<typename T > | |
T const & | to_with_default (T const &v, T const &) |
OTBCommon_EXPORT string_view | lstrip (string_view const &v, string_view const &c) |
OTBCommon_EXPORT string_view | rstrip (string_view const &v, string_view const &c) |
bool | HasSameRPCModel (const ImageMetadataBase &a, const ImageMetadataBase &b) |
bool | HasSameSARModel (const ImageMetadataBase &a, const ImageMetadataBase &b) |
bool | HasSameSensorModel (const ImageMetadataBase &a, const ImageMetadataBase &b) |
template<typename T > | |
bool | IsNoData (const T &pixel, const std::vector< bool > &flags, const std::vector< double > &values, bool nanIsNoData=false) |
template<typename T > | |
T | ChangeNoData (const T &pixel, const std::vector< bool > &flags, const std::vector< double > &values, const std::vector< double > &newValues, bool nanIsNoData=false) |
template<typename T > | |
bool | IsNoData (const itk::VariableLengthVector< T > &pixel, const std::vector< bool > &flags, const std::vector< double > &values, bool nanIsNoData=false) |
template<typename T > | |
itk::VariableLengthVector< T > | ChangeNoData (const itk::VariableLengthVector< T > &pixel, const std::vector< bool > &flags, const std::vector< double > &values, const std::vector< double > &newValues, bool nanIsNoData=false) |
template<typename Functor , typename TNameMap = void> | |
auto | NewFunctorFilter (Functor f, itk::Size< 2 > radius={{0, 0}}) |
template<typename Functor , typename TNameMap = void> | |
auto | NewFunctorFilter (Functor f, unsigned int numberOfOutputBands, itk::Size< 2 > radius={{0, 0}}) |
template<typename TInputImage , typename TOutputImage , typename TFunctor > | |
auto | MakeSynthetizeFilter (TFunctor functor) |
Fast conviennce access functions | |
DEM fast conviennce access functions. These functions are provided to be used with a
| |
double | GetHeightAboveEllipsoid (DEMHandlerTLS const &, double lon, double lat) |
double | GetHeightAboveMSL (DEMHandlerTLS const &, double lon, double lat) |
double | GetGeoidHeight (DEMHandlerTLS const &, double lon, double lat) |
double | GetHeightAboveEllipsoid (DEMHandlerTLS const &, itk::Point< double, 2 > geoPoint) |
double | GetHeightAboveMSL (DEMHandlerTLS const &, itk::Point< double, 2 > geoPoint) |
double | GetGeoidHeight (DEMHandlerTLS const &, itk::Point< double, 2 > geoPoint) |
template<typename TInput , typename TTarget > | |
bool | ReadDataFile (const std::string &infname, itk::SmartPointer< itk::Statistics::ListSample< TInput >> samples, itk::SmartPointer< itk::Statistics::ListSample< TTarget >> labels) |
Variables | |
constexpr double | CONST_180_PI = 180.0 / CONST_PI |
constexpr double | CONST_1_PI = 1.0 / CONST_PI |
constexpr double | CONST_2_PI = 2.0 / CONST_PI |
constexpr double | CONST_2_SQRTPI = 1.12837916709551257390 |
constexpr double | CONST_2PI = 2.0 * CONST_PI |
constexpr double | CONST_E = 2.7182818284590452354 |
constexpr double | CONST_EULER = 0.57721566490153286060 |
constexpr double | CONST_LN10 = 2.30258509299404568402 |
constexpr double | CONST_LN2 = 0.69314718055994530942 |
const double | CONST_LNPI = std::log(CONST_PI) |
constexpr double | CONST_LOG10E = 0.43429448190325182765 |
constexpr double | CONST_LOG2E = 1.4426950408889634074 |
constexpr double | CONST_PI = 3.14159265358979323846 |
constexpr double | CONST_PI_180 = CONST_PI / 180.0 |
constexpr double | CONST_PI_2 = CONST_PI / 2.0 |
constexpr double | CONST_PI_4 = CONST_PI / 4.0 |
constexpr double | CONST_PI_8 = CONST_PI / 8.0 |
constexpr double | CONST_SQRT1_2 = 0.70710678118654752440 |
constexpr double | CONST_SQRT2 = 1.41421356237309504880 |
constexpr double | CONST_SQRT3 = 1.73205080756887729353 |
const double | CONST_SQRTPI = std::sqrt(CONST_PI) |
const DataSpec | DataSpecP5B [2101] |
static const char | DerivedSubdatasetPrefix [] = "DERIVED_SUBDATASET:" |
static const vcl_size_t | DerivedSubdatasetPrefixLength = sizeof(DerivedSubdatasetPrefix) |
template class OTBImageBase_EXPORT_TEMPLATE | Image< char, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | Image< double, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | Image< float, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | Image< int, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | Image< short, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | Image< unsigned char, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | Image< unsigned int, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | Image< unsigned short, 2 > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< Image< char, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< Image< double, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< Image< float, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< Image< int, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< Image< short, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< Image< unsigned char, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< Image< unsigned int, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< Image< unsigned short, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< VectorImage< char, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< VectorImage< double, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< VectorImage< float, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< VectorImage< int, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< VectorImage< short, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< VectorImage< unsigned char, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< VectorImage< unsigned int, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileReader< VectorImage< unsigned short, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< Image< char, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< Image< double, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< Image< float, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< Image< int, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< Image< short, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< Image< unsigned char, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< Image< unsigned int, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< Image< unsigned short, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< VectorImage< char, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< VectorImage< double, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< VectorImage< float, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< VectorImage< int, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< VectorImage< short, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< VectorImage< unsigned char, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< VectorImage< unsigned int, 2 > > |
template class OTBImageIO_EXPORT_TEMPLATE | ImageFileWriter< VectorImage< unsigned short, 2 > > |
template class OTBImageBase_EXPORT_TEMPLATE | VectorImage< char, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | VectorImage< double, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | VectorImage< float, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | VectorImage< int, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | VectorImage< short, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | VectorImage< unsigned char, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | VectorImage< unsigned int, 2 > |
template class OTBImageBase_EXPORT_TEMPLATE | VectorImage< unsigned short, 2 > |
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.
otbMacro.h defines standard system-wide macros, constants, and other parameters. One of its most important functions is to define macros used to interface to instance variables in a standard fashion.
There are several nested namespaces within this one.
otbMath.h defines standard math macros, constants, and other parameters. All mathematics constans, functions (used in the OTB code) are the vcl version (vcl..., CONST_PI, ).
Definition at line 56 of file otbGDALOverviewsBuilder.h.
using otb::layout_left = typedef details::generic_layout<details::policy::left_> |
Left layout implementing C++ p0009r9 draft proposal. Gives a layout mapping where the left-most extent is stride one and strides increase left-to-right as the product of extents.
Best used to iterate à la Fortran:
Definition at line 236 of file otbLayouts.h.
using otb::layout_right = typedef details::generic_layout<details::policy::right_> |
Right layout implementing C++ p0009r9 draft proposal. Gives a layout mapping where the right-most extent is stride one and strides increase right-to-left as the product of extents.
Best used to iterate à la C:
Definition at line 252 of file otbLayouts.h.
using otb::layout_stride = typedef details::generic_layout<details::policy::stride_> |
Strided layout implementing C++ p0009r9 draft proposal. Gives a layout mapping where the strides are user defined.
Best used for complex data organisation.
Definition at line 262 of file otbLayouts.h.
using otb::mdspan = typedef basic_mdspan<T, extents<Extents...> > |
Definition at line 185 of file otbMdSpan.h.
using otb::MLMSampleTraits = typedef MLMSampleTraitsImpl<TInput, typename itk::mpl::IsNumber<TInput>::Type> |
Simplified implementation of SampleTraits using MLMSampleTraitsImpl
Definition at line 71 of file otbMachineLearningModelTraits.h.
using otb::MLMTargetTraits = typedef MLMTargetTraitsImpl<TInput, typename itk::mpl::IsNumber<TInput>::Type> |
Simplified implementation of TargetTraits using MLMTargetTraitsImpl
Definition at line 111 of file otbMachineLearningModelTraits.h.
using otb::PixelComponentConstIterator = typedef internals::PixelComponentIterator<TPixel, internals::ConstTag> |
Definition at line 670 of file otbPixelComponentIterator.h.
using otb::PixelComponentIterator = typedef internals::PixelComponentIterator<TPixel, std::conditional_t<std::is_const<TPixel>::value, internals::ConstTag, internals::MutableTag> > |
Definition at line 668 of file otbPixelComponentIterator.h.
using otb::ProjectiveProjectionImageFilter = typedef FunctorImageFilter<Functor::ProjectiveProjectionFunctor<typename TInputImage::PixelType, typename TOutputImage::PixelType, TPrecision> > |
Definition at line 80 of file otbProjectiveProjectionImageFilter.h.
otb::ReciprocalCovarianceToReciprocalCoherencyImageFilter |
Applies ReciprocalCovarianceToReciprocalCoherencyFunctor.
Set inputs with:
Definition at line 109 of file otbReciprocalCovarianceToReciprocalCoherencyImageFilter.h.
using otb::RemoveCVRef = typedef typename std::remove_cv<typename std::remove_reference<T>::type>::type |
that has std::remove_cvref)
Definition at line 158 of file otbFunctorImageFilter.h.
using otb::SOM2DModelFactory = typedef SOMModelFactory<TInputValue, TTargetValue, 2> |
Definition at line 44 of file otbDimensionalityReductionModelFactory.hxx.
using otb::SOM3DModelFactory = typedef SOMModelFactory<TInputValue, TTargetValue, 3> |
Definition at line 47 of file otbDimensionalityReductionModelFactory.hxx.
using otb::SOM4DModelFactory = typedef SOMModelFactory<TInputValue, TTargetValue, 4> |
Definition at line 50 of file otbDimensionalityReductionModelFactory.hxx.
using otb::SOM5DModelFactory = typedef SOMModelFactory<TInputValue, TTargetValue, 5> |
Definition at line 53 of file otbDimensionalityReductionModelFactory.hxx.
anonymous enum : std::ptrdiff_t |
Enumerator | |
---|---|
dynamic_extent |
Definition at line 33 of file otbExtents.h.
This enumeration describes the different architectures we can find in polarimetry. HH_HV_VH_VV (0), HH_HV_VV (1), HH_VH_VV (2), HH_HV(3), VH_VV (4), HH_VV (5).
Enumerator | |
---|---|
HH_HV_VH_VV | |
HH_HV_VV | |
HH_VH_VV | |
HH_HV | |
VH_VV | |
HH_VV | |
UNKNOWN_ARCHITECTURE |
Definition at line 34 of file otbPolarimetricData.h.
enum otb::GDALCompression |
Enumerator | |
---|---|
GDAL_COMPRESSION_NONE | |
GDAL_COMPRESSION_JPEG | |
GDAL_COMPRESSION_LZW | |
GDAL_COMPRESSION_PACKBITS | |
GDAL_COMPRESSION_DEFLATE | |
GDAL_COMPRESSION_COUNT |
Definition at line 60 of file otbGDALOverviewsBuilder.h.
enum otb::GDALFormat |
Enumerator | |
---|---|
GDAL_FORMAT_ERDAS | |
GDAL_FORMAT_GEOTIFF | |
GDAL_FORMAT_COUNT |
Definition at line 75 of file otbGDALOverviewsBuilder.h.
enum otb::GDALResampling |
Enumerator | |
---|---|
GDAL_RESAMPLING_NONE | |
GDAL_RESAMPLING_NEAREST | |
GDAL_RESAMPLING_GAUSS | |
GDAL_RESAMPLING_CUBIC | |
GDAL_RESAMPLING_AVERAGE | |
GDAL_RESAMPLING_MODE | |
GDAL_RESAMPLING_AVERAGE_MAGPHASE | |
GDAL_RESAMPLING_COUNT |
Definition at line 40 of file otbGDALOverviewsBuilder.h.
|
strong |
Enumerator | |
---|---|
ProjectionWKT | |
ProjectionEPSG | |
ProjectionProj | |
RPC | |
SAR | |
SARCalib | |
SensorGeometry | |
GCP | |
Adjustment | |
Spot5Geometry | |
END |
Definition at line 216 of file otbMetaDataKey.h.
|
strong |
Metadata as LUT 1D
Enumerator | |
---|---|
SpectralSensitivity | |
END |
Definition at line 193 of file otbMetaDataKey.h.
|
strong |
|
strong |
Metadata as double
Definition at line 125 of file otbMetaDataKey.h.
|
strong |
Metadata as std::string
Definition at line 168 of file otbMetaDataKey.h.
|
strong |
Metadata as Time
Enumerator | |
---|---|
AcquisitionDate | |
ProductionDate | |
AcquisitionStartTime | |
AcquisitionStopTime | |
END |
Definition at line 207 of file otbMetaDataKey.h.
enum otb::NodeType |
This enumeration describes the type of nodes used to represent a tree of vector data in the Orfeo ToolBox.
Enumerator | |
---|---|
ROOT | |
DOCUMENT | |
FOLDER | |
FEATURE_POINT | |
FEATURE_LINE | |
FEATURE_POLYGON | |
FEATURE_MULTIPOINT | |
FEATURE_MULTILINE | |
FEATURE_MULTIPOLYGON | |
FEATURE_COLLECTION |
Definition at line 39 of file otbDataNode.h.
|
strong |
Enumerator | |
---|---|
FORWARD | |
INVERSE |
Definition at line 30 of file otbTransform.h.
itk::VariableLengthVector<T> otb::ChangeNoData | ( | const itk::VariableLengthVector< T > & | pixel, |
const std::vector< bool > & | flags, | ||
const std::vector< double > & | values, | ||
const std::vector< double > & | newValues, | ||
bool | nanIsNoData = false |
||
) |
Specialization of ChangeNoData function to handle itk::VariableLengthVector
Definition at line 135 of file otbNoDataHelper.h.
T otb::ChangeNoData | ( | const T & | pixel, |
const std::vector< bool > & | flags, | ||
const std::vector< double > & | values, | ||
const std::vector< double > & | newValues, | ||
bool | nanIsNoData = false |
||
) |
Reads a pixel and change the no data value if it is found. No data value is changed either if the pixel value is NaN or if the pixel value equals the no data value and flag is true.
pixel | The pixel to process |
flags | A vector of size > 1 containing a flag per band to indicate if a no data value is available for this band |
values | A vector of size > 1 corresponding to the current no data value for each band. If flag is 0, the value will be ignored. |
newValues | A vector of size > 1 corresponding to the new no data value for each band. If flag is 0, the value will be ignored |
nanIsNoData | If true, NaN values will be considered as no-data and changed as well. |
Definition at line 89 of file otbNoDataHelper.h.
Referenced by otb::Functor::ChangeNoDataFunctor< TInputPixel, TOutputPixel >::operator()().
|
constexprnoexcept |
Backport of C++17 std::clamp
to C++14. Clamps the value v
to [lo
, hi
] interval.
None |
Definition at line 33 of file otbAlgoClamp.h.
Referenced by otb::Wrapper::InputImageParameter::Cast(), otb::Wrapper::NumericalParameter< T >::SetValue(), and otb::Wrapper::ParameterList< T >::Swap().
|
constexpr |
Definition at line 45 of file otbNumericTraits.h.
|
constexpr |
Definition at line 33 of file otbNumericTraits.h.
OutputType otb::ComplexCast | ( | const std::complex< InputType > & | in, |
const OutputType & | |||
) |
Definition at line 64 of file otbConvertPixelBuffer.hxx.
Referenced by otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits >::ConvertComplexToGray(), and otb::ConvertPixelBuffer< InputPixelType, OutputPixelType, OutputConvertTraits >::ConvertComplexVectorImageToVectorImageComplex().
std::complex<OutputType> otb::ComplexCast | ( | const std::complex< InputType > & | in, |
const std::complex< OutputType > & | |||
) |
Definition at line 75 of file otbConvertPixelBuffer.hxx.
|
inline |
|
inline |
|
inline |
Tells whether the haystack string contains the needle string.
Definition at line 338 of file otbStringUtilities.h.
References find(), is_same_view(), and otb::string_view::null().
Referenced by otb::details::to_float().
|
inline |
|
inline |
Tells whether the haystack string starts with the needle string.
Definition at line 297 of file otbStringUtilities.h.
References otb::string_view::rbegin(), otb::string_view::rend(), and otb::string_view::size().
|
inline |
Searches needle string within the haystack string.
Definition at line 305 of file otbStringUtilities.h.
References otb::string_view::begin(), otb::string_view::belongs_to(), otb::string_view::empty(), otb::string_view::end(), otb::string_view::null(), and otb::string_view::size().
Referenced by otb::LabelImageToLabelMapWithAdjacencyFilter< TInputImage, TOutputImage >::AddAdjacency(), otb::HooverInstanceFilter< TLabelMap >::BeforeThreadedGenerateData(), otb::Function::ChannelSelectorFunctor< TInputPixel >::ChannelSelectorFunctor(), contains(), otb::Wrapper::TrainVectorBase< TInputValue, TOutputValue >::DoUpdateParameters(), otb::Wrapper::VectorPrediction< RegressionMode >::DoUpdateParameters(), otb::Wrapper::LearningApplicationBase< TInputValue, TOutputValue >::GetClassifierCategory(), otb::splitter_on_delim::operator()(), ReadDataFile(), otb::Functor::AttributesMapMeasurementFunctor< TLabelObject, TMeasurementVector >::RemoveAttribute(), and otb::HooverInstanceFilter< TLabelMap >::ThreadedProcessLabelObject().
double otb::GetGeoidHeight | ( | DEMHandlerTLS const & | , |
double | lon, | ||
double | lat | ||
) |
double otb::GetGeoidHeight | ( | DEMHandlerTLS const & | , |
itk::Point< double, 2 > | geoPoint | ||
) |
double otb::GetHeightAboveEllipsoid | ( | DEMHandlerTLS const & | , |
double | lon, | ||
double | lat | ||
) |
double otb::GetHeightAboveEllipsoid | ( | DEMHandlerTLS const & | , |
itk::Point< double, 2 > | geoPoint | ||
) |
double otb::GetHeightAboveMSL | ( | DEMHandlerTLS const & | , |
double | lon, | ||
double | lat | ||
) |
double otb::GetHeightAboveMSL | ( | DEMHandlerTLS const & | , |
itk::Point< double, 2 > | geoPoint | ||
) |
OTBMetadata_EXPORT bool otb::HasOpticalSensorMetadata | ( | const ImageMetadata & | imd | ) |
bool otb::HasSameRPCModel | ( | const ImageMetadataBase & | a, |
const ImageMetadataBase & | b | ||
) |
Comparison test
bool otb::HasSameSARModel | ( | const ImageMetadataBase & | a, |
const ImageMetadataBase & | b | ||
) |
Comparison test
bool otb::HasSameSensorModel | ( | const ImageMetadataBase & | a, |
const ImageMetadataBase & | b | ||
) |
Comparison test
OTBMetadata_EXPORT bool otb::HasSARSensorMetadata | ( | const ImageMetadata & | imd | ) |
T otb::InverseValue | ( | const T & | value | ) |
|
inline |
Tells whether two views are exactly identical.
Definition at line 282 of file otbStringUtilities.h.
References otb::string_view::begin(), and otb::string_view::size().
Referenced by contains(), and otb::part_iterator< Splitter >::operator++().
bool otb::IsNoData | ( | const itk::VariableLengthVector< T > & | pixel, |
const std::vector< bool > & | flags, | ||
const std::vector< double > & | values, | ||
bool | nanIsNoData = false |
||
) |
Specialization of IsNoData function to handle itk::VariableLengthVector
Definition at line 114 of file otbNoDataHelper.h.
bool otb::IsNoData | ( | const T & | pixel, |
const std::vector< bool > & | flags, | ||
const std::vector< double > & | values, | ||
bool | nanIsNoData = false |
||
) |
Test if the pixel corresponds to a no data pixel according to a vector of no data flags, and a vector of no data values.
pixel | The pixel to test |
flags | A vector of size > 1 containing a flag per band to indicate if a no data value is available for this band |
values | A vector of size > 1 corresponding to the no data value for each band. If flag is 0, the value will be ignored. |
nanIsNoData | If true, NaN values will be reported as no-data. |
Definition at line 63 of file otbNoDataHelper.h.
Referenced by otb::Functor::NoDataFunctor< TInputPixel, TOutputPixel >::operator()().
|
inline |
Joins elements from a range into a stream.
TRange | range type, see boost.Range to see what qualifies as an Range. |
os | destination stream | |
[in] | range | Range to print |
[in] | separator | Separator string to use between elements. |
None | At least, this function is exception neutral. |
Definition at line 47 of file otbJoinContainer.h.
Referenced by otb::MetadataStorageInterface::SetAsVector().
|
inline |
Joins elements from a map (second) into a stream.
Tmap | Map type |
os | destination stream | |
[in] | range | Range to print |
[in] | separator | Separator string to use between elements. |
None | At least, this function is exception neutral. |
Definition at line 74 of file otbJoinContainer.h.
void otb::ListSampleToMat | ( | const T * | listSample, |
cv::Mat & | output | ||
) |
Converts a ListSample of VariableLengthVector to a CvMat. The user is responsible for freeing the output pointer with the cvReleaseMat function. A null pointer is resturned in case the conversion failed.
Definition at line 87 of file otbOpenCVUtils.h.
Referenced by ListSampleToMat().
void otb::ListSampleToMat | ( | typename T::ConstPointer | listSample, |
cv::Mat & | output | ||
) |
Definition at line 129 of file otbOpenCVUtils.h.
References ListSampleToMat().
void otb::ListSampleToMat | ( | typename T::Pointer | listSample, |
cv::Mat & | output | ||
) |
Definition at line 123 of file otbOpenCVUtils.h.
References ListSampleToMat().
OTBCommon_EXPORT string_view otb::lstrip | ( | string_view const & | v, |
string_view const & | c | ||
) |
returns a string_view with the leading characters removed
Strip left side of a string
[in] | v | string to be stripped |
[in] | c | string with characters to strip. |
Referenced by otb::MetadataSupplierInterface::GetAsVector().
auto otb::MakeSynthetizeFilter | ( | TFunctor | functor | ) |
Factory function for SynthetizeFilter
. SynthetizeFilter
objects are best made thanks to this factory function that'll automatically deduce the type of the functor parameter.
Actually, there is no other to create a SynthetizeFilter<>
that'll call a lambda on each pixel.
TInputImage | Type of the input images |
TOutputImage | Type of the output image |
TFunctor | Type of the functor |
[in] | functor | The functor |
SynthetizeFilter
object. SynthetizeFilter
Definition at line 225 of file otbSynthetizeFilter.h.
References otb::SynthetizeFilter< TInputImage, TOutputImage, TFunctor >::New().
T::Pointer otb::MatToListSample | ( | const cv::Mat & | cvmat | ) |
Definition at line 135 of file otbOpenCVUtils.h.
auto otb::NewFunctorFilter | ( | Functor | f, |
itk::Size< 2 > | radius = {{0, 0}} |
||
) |
This helper method builds a fully functional FunctorImageFilter from a functor instance.
Functor | can be any operator() (const or non-const) that matches the following:
|
The returned filter is ready to use. Inputs can be set through the SetInputs() method (see VariadicInputsImageFilter class for details)
[in] | the | Functor to build the filter from |
[in] | radius | The size of neighborhood to use, if there is any ConstNeighborhoodIterator<VectorImage<T>> in the operator() arguments. |
Note that this function also works with a lambda as Functor, provided it returns a scalar type. If your lambda returns a VariableLengthVector, see the other NewFunctorFilter implementation.
Definition at line 433 of file otbFunctorImageFilter.h.
auto otb::NewFunctorFilter | ( | Functor | f, |
unsigned int | numberOfOutputBands, | ||
itk::Size< 2 > | radius = {{0, 0}} |
||
) |
brief This helper method builds a fully functional FunctorImageFilter from a functor instance which does not provide the OutputSize() service, or a lambda, returning a VariableLengthVector
[in] | f | the Functor to build the filter from |
[in] | numberOfOutputBands | The number of output bands that this filter will return |
radius | The size of neighborhood to use, if there is any ConstNeighborhoodIterator in the operator() arguments. |
Note that this function also works with a lambda as Functor, provided it returns a scalar type. If your lambda returns a VariableLengthVector, see the other NewFunctorFilter implementation.
Definition at line 492 of file otbFunctorImageFilter.h.
|
noexcept |
different operator
|
noexcept |
Different operator (based on OGRSpatialReference::IsSame())
|
constexpr |
Definition at line 164 of file otbExtents.h.
|
inline |
Tells whether two views are exactly identical.
Definition at line 260 of file otbStringUtilities.h.
|
inline |
Tells whether two views are exactly identical.
Definition at line 273 of file otbStringUtilities.h.
References otb::string_view::begin(), and otb::string_view::end().
OTBGdalAdapters_EXPORT std::ostream& otb::operator<< | ( | std::ostream & | o, |
const CoordinateTransformation & | i | ||
) |
Stream operator for CoordinateTransformation.
OTBGdalAdapters_EXPORT std::ostream& otb::operator<< | ( | std::ostream & | o, |
const SpatialReference & | i | ||
) |
Stream operator for SpatialReference.
OTBGdalAdapters_EXPORT std::ostream& otb::operator<< | ( | std::ostream & | o, |
const SpatialReference::hemisphere & | hem | ||
) |
Stream operator for hemisphere.
OTBMetadata_EXPORT std::ostream& otb::operator<< | ( | std::ostream & | os, |
const otb::ImageMetadata & | imd | ||
) |
OTBMetadata_EXPORT std::ostream& otb::operator<< | ( | std::ostream & | os, |
const otb::ImageMetadataBase & | imd | ||
) |
OTBCommon_EXPORT std::ostream& otb::operator<< | ( | std::ostream & | os, |
const otb::StringToHTML & | str | ||
) |
std::ostream& otb::operator<< | ( | std::ostream & | os, |
const RemoteSensingRegion< TType > & | region | ||
) |
Definition at line 338 of file otbRemoteSensingRegion.h.
|
inline |
Tells whether two views are exactly identical.
Definition at line 266 of file otbStringUtilities.h.
References otb::string_view::begin(), and otb::string_view::end().
OTBVectorDataBase_EXPORT std::ostream& otb::operator<< | ( | std::ostream & | os, |
const VectorDataKeywordlist & | kwl | ||
) |
|
noexcept |
equal operator
|
noexcept |
Equal operator (based on OGRSpatialReference::IsSame())
|
constexpr |
Definition at line 150 of file otbExtents.h.
References otb::extents< StaticExtents >::extent(), and otb::extents< StaticExtents >::rank().
|
inline |
Tells whether two views are exactly identical.
Definition at line 254 of file otbStringUtilities.h.
References otb::string_view::begin(), otb::string_view::end(), and otb::string_view::size().
otb::OTB_GENERATE_CONV | ( | to_float | , |
double | |||
) |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). otb::OTB_GENERATE_CONV | ( | to_float | , |
float | |||
) |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). otb::OTB_GENERATE_CONV | ( | to_float | , |
long double | |||
) |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). otb::OTB_GENERATE_CONV | ( | to_integer | , |
char | |||
) |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). otb::OTB_GENERATE_CONV | ( | to_integer | , |
int | |||
) |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). otb::OTB_GENERATE_CONV | ( | to_integer | , |
long | |||
) |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). otb::OTB_GENERATE_CONV | ( | to_integer | , |
short | |||
) |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). otb::OTB_GENERATE_CONV | ( | to_integer | , |
signed char | |||
) |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). otb::OTB_GENERATE_CONV | ( | to_uinteger | , |
unsigned char | |||
) |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). otb::OTB_GENERATE_CONV | ( | to_uinteger | , |
unsigned int | |||
) |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). otb::OTB_GENERATE_CONV | ( | to_uinteger | , |
unsigned long | |||
) |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). otb::OTB_GENERATE_CONV | ( | to_uinteger | , |
unsigned short | |||
) |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). bool otb::PixelIsComplex | ( | const std::complex< T > & | ) |
Definition at line 55 of file otbImageFileReader.hxx.
Referenced by otb::ImageFileReader< TOutputImage, ConvertPixelTraits >::GenerateOutputInformation().
bool otb::PixelIsComplex | ( | const T & | ) |
Definition at line 60 of file otbImageFileReader.hxx.
|
inline |
Definition at line 715 of file otbPixelComponentIterator.h.
Referenced by otb::Functor::ConvertTypeFunctor< TInputPixelType, TOutputPixelType >::operator()().
bool otb::ReadDataFile | ( | const std::string & | infname, |
itk::SmartPointer< itk::Statistics::ListSample< TInput >> | samples, | ||
itk::SmartPointer< itk::Statistics::ListSample< TTarget >> | labels | ||
) |
Utility function to read the data file letter.scale, a CSV type file (whitespace separators) with the letter index in first column, followed by 16 descriptors. Each descriptor is a pair 'index:value'
Definition at line 36 of file otbReadDataFile.h.
References find(), and split_on().
bool OTBMetadata_EXPORT otb::ReadNoDataFlags | ( | const ImageMetadata & | imd, |
std::vector< bool > & | flags, | ||
std::vector< double > & | values | ||
) |
Reads no data flag from the ImageMetadata to flags and values vectors. Returns true upon success.
Referenced by otb::ImageToNoDataMaskFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), otb::SimpleRcsPanSharpeningFusionImageFilter< TPanImageType, TXsImageType, TOutputImageType, TInternalPrecision >::GenerateData(), otb::ChangeNoDataValueFilter< TInputImage, TOutputImage >::GenerateOutputInformation(), and otb::StreamingWarpImageFilter< TInputImage, TOutputImage, TDisplacementField >::GenerateOutputInformation().
OTBCommon_EXPORT string_view otb::rstrip | ( | string_view const & | v, |
string_view const & | c | ||
) |
returns a string_view with the ending characters removed
Strip right side of a string
[in] | v | string to be stripped |
[in] | c | string with characters to strip. |
Referenced by otb::MetadataSupplierInterface::GetAsVector().
void otb::SampleToMat | ( | const T & | sample, |
cv::Mat & | output | ||
) |
Definition at line 69 of file otbOpenCVUtils.h.
T otb::SignOfValue | ( | const T & | value | ) |
part_range<splitter_on_delim> otb::split_on | ( | String const & | str, |
char | delim | ||
) |
Split entry point.
String | Type of the string split ( std::string , string_view , ...) |
[in] | str | string to be split |
[in] | delim | character delimiter used to split. |
str
.Example of use:
Definition at line 489 of file otbStringUtilities.h.
Referenced by otb::MetadataSupplierInterface::GetAsVector(), and ReadDataFile().
|
inline |
Tells whether the haystack string starts with the needle string.
Definition at line 289 of file otbStringUtilities.h.
References otb::string_view::begin(), otb::string_view::end(), and otb::string_view::size().
|
inline |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). Definition at line 519 of file otbStringUtilities.h.
|
inline |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). Definition at line 813 of file otbStringUtilities.h.
|
inline |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). Definition at line 810 of file otbStringUtilities.h.
References otb::string_view::begin(), and otb::string_view::end().
|
inline |
Generic string to whatever conversion – failure is hidden. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | def | default value returned in the conversion isn't possible |
def
if no value of type T
can be decoded from v
. None |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to()
for the version that fails by throwing exceptions. Definition at line 550 of file otbStringUtilities.h.
|
inline |
Generic string to whatever conversion – failure means exception. Tries to decode a value from a string.
T | Type of the value decoded from the input string |
[in] | v | input string to convert |
[in] | context | context message for the exception thrown |
std::runtime_error | if a value of type T cannot be decoded from the string. |
ossimString::toXxxx()
function has been defined to support generic programming in get()
and add()
helper functions for keyword list. to_with_default()
for the version that never fails, but returns a default value otherwise (being T()
by default). Definition at line 815 of file otbStringUtilities.h.
ImageType::RegionType otb::TransformPhysicalRegionToIndexRegion | ( | const RemoteSensingRegionType & | region, |
const ImageType * | image | ||
) |
Definition at line 345 of file otbRemoteSensingRegion.h.
Referenced by otb::ListSampleGenerator< TImage, TVectorData >::GenerateData().
|
inline |
Definition at line 44 of file otbReduceSpectralResponse.hxx.
Referenced by otb::ReduceSpectralResponse< TSpectralResponse, TRSR >::operator()().
OTBMetadata_EXPORT void otb::WriteImageMetadataToGeomFile | ( | const ImageMetadata & | imd, |
const std::string & | filename | ||
) |
void OTBMetadata_EXPORT otb::WriteNoDataFlags | ( | const std::vector< bool > & | flags, |
const std::vector< double > & | values, | ||
ImageMetadata & | imd | ||
) |
Write no data flags to the ImageMetadata from flags and values vectors. Returns true upon success.
Referenced by otb::OGRDataSourceToLabelImageFilter< TOutputImage >::GenerateOutputInformation(), otb::NeighborhoodMajorityVotingImageFilter< TInputImage, TOutputImage, TKernel >::GenerateOutputInformation(), otb::ChangeNoDataValueFilter< TInputImage, TOutputImage >::GenerateOutputInformation(), otb::StreamingWarpImageFilter< TInputImage, TOutputImage, TDisplacementField >::GenerateOutputInformation(), otb::DisparityTranslateFilter< TDisparityImage, TGridImage, TSensorImage, TMaskImage >::GenerateOutputInformation(), otb::Multi3DMapToDEMFilter< T3DImage, TMaskImage, TOutputDEMImage >::GenerateOutputInformation(), and otb::StreamingMosaicFilterBase< TInputImage, TOutputImage, TInternalValueType >::GenerateOutputInformation().
|
constexpr |
Definition at line 57 of file otbMath.h.
Referenced by otb::Projection::EcefToWorld(), and otb::Functor::ReciprocalHAlphaFunctor< TInput, TOutput >::operator()().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Definition at line 55 of file otbMath.h.
Referenced by otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::ComputeKeyPointDescriptor(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::ComputeKeyPointOrientations(), otb::HistogramOfOrientedGradientCovariantImageFunction< TInputImage, TOutputPrecision, TCoordRep >::EvaluateAtIndex(), otb::LocalHistogramImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::GaborFilterGenerator< TPrecision >::GenerateFilter(), otb::MRFEnergyGaussianClassification< TInput1, TInput2 >::GetSingleValue(), otb::Functor::AmplitudePhaseToRGBFunctor< TInput1, TInput2, TInput3, TOutput >::operator()(), and otb::Functor::OrientationFunctor< TInputPixel, TOutputPixel >::operator()().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
Definition at line 49 of file otbMath.h.
Referenced by otb::VectorDataToRightAngleVectorDataFilter< TVectorData >::ComputeOrientation(), otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::DynamicThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::DynamicThreadedGenerateData(), otb::PointSetDensityFunction< TPointSet, TOutput >::Evaluate(), otb::PointSetDensityGaussianFunction< TPointSet, TOutput >::Evaluate(), otb::GeographicalDistance< TVector >::Evaluate(), otb::FourierMellinDescriptorsImageFunction< TInputImage, TCoordRep >::EvaluateAtIndex(), otb::HistogramOfOrientedGradientCovariantImageFunction< TInputImage, TOutputPrecision, TCoordRep >::EvaluateAtIndex(), otb::DEMCaracteristicsExtractor< TInputImage, TOutputImage >::GenerateData(), otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GenerateData(), otb::GaborFilterGenerator< TPrecision >::GenerateFilter(), otb::SparseUnmixingImageFilter< TInputImage, TOutputImage, VNbInputImage, TPrecision, TMotherWaveletOperator >::GenerateNumberOfComponentsRequired(), otb::StereorectificationDisplacementFieldSource< TInputImage, TOutputImage >::GenerateOutputInformation(), otb::GroundSpacingImageFunction< TInputImage, TCoordRep >::GroundSpacingImageFunction(), otb::Functor::ShapeAttributesLabelObjectFunctor< TLabelObject, TLabelImage >::hyperSphereRadiusFromVolume(), otb::Functor::ShapeAttributesLabelObjectFunctor< TLabelObject, TLabelImage >::hyperSphereVolume(), otb::Function::BlackmanWindowFunction< TInput, TOutput >::operator()(), otb::Function::CosineWindowFunction< TInput, TOutput >::operator()(), otb::Function::GaussianWindowFunction< TInput, TOutput >::operator()(), otb::Function::HammingWindowFunction< TInput, TOutput >::operator()(), otb::Function::LanczosWindowFunction< TInput, TOutput >::operator()(), otb::Function::WelchWindowFunction< TInput, TOutput >::operator()(), otb::Functor::CloudEstimatorFunctor< TInput, TOutputValue >::operator()(), otb::Functor::RadianceToReflectanceImageFunctor< TInput, TOutput >::operator()(), otb::Functor::ReflectanceToRadianceImageFunctor< TInput, TOutput >::operator()(), otb::Functor::AmplitudePhaseToRGBFunctor< TInput1, TInput2, TInput3, TOutput >::operator()(), otb::PolygonCompacityFunctor< TInput1 >::operator()(), otb::Count< TPointSet, TRadiusType, TIndexType >::operator()(), otb::Functor::SFSTexturesFunctor< TIter, TOutputValue >::SetNumberOfDirections(), otb::SFSTexturesImageFilter< TInputImage, TOutputImage >::SetNumberOfDirections(), otb::Function::BlackmanWindowFunction< TInput, TOutput >::SetRadius(), otb::Function::CosineWindowFunction< TInput, TOutput >::SetRadius(), otb::Function::GaussianWindowFunction< TInput, TOutput >::SetRadius(), otb::Function::HammingWindowFunction< TInput, TOutput >::SetRadius(), otb::Function::LanczosWindowFunction< TInput, TOutput >::SetRadius(), otb::TileMapTransform< TTransformDirection, TScalarType, NInputDimensions, NOutputDimensions >::TransformPoint(), otb::InverseLogPolarTransform< TScalarType >::TransformPoint(), otb::InverseLogPolarTransform< TScalarType >::TransformVector(), and otb::VectorDataToRightAngleVectorDataFilter< TVectorData >::VectorDataToRightAngleVectorDataFilter().
|
constexpr |
Definition at line 56 of file otbMath.h.
Referenced by otb::ImageToReflectanceImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), otb::RadianceToReflectanceImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), otb::ReflectanceToImageImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), otb::ReflectanceToRadianceImageFilter< TInputImage, TOutputImage >::BeforeThreadedGenerateData(), otb::MultiChannelsPolarimetricSynthesisFilter< TInputImage, TOutputImage, TFunction >::ComputeElectromagneticFields(), otb::ImageToSIFTKeyPointSetFilter< TInputImage, TOutputPointSet >::ComputeKeyPointDescriptor(), otb::GaborFilterGenerator< TPrecision >::GenerateFilter(), otb::VarSol::GetVarSol(), otb::LogPolarTransform< TScalarType >::TransformPoint(), otb::LogPolarTransform< TScalarType >::TransformVector(), otb::SurfaceAdjacencyEffectCorrectionSchemeFilter< TInputImage, TOutputImage >::UpdateFunctors(), and otb::Projection::WorldToEcef().
|
constexpr |
Definition at line 50 of file otbMath.h.
Referenced by otb::PixelSuppressionByDirectionImageFilter< TInputImage, TOutputImage >::DynamicThreadedGenerateData(), otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::DynamicThreadedGenerateData(), otb::HistogramOfOrientedGradientCovariantImageFunction< TInputImage, TOutputPrecision, TCoordRep >::EvaluateAtIndex(), otb::VectorDataToRightAngleVectorDataFilter< TVectorData >::GenerateData(), and otb::SarRadiometricCalibrationFunction< TInputImage, TCoordRep >::SarRadiometricCalibrationFunction().
|
constexpr |
Definition at line 51 of file otbMath.h.
Referenced by otb::TouziEdgeDetectorImageFilter< TInputImage, TOutputImage, TOutputImageDirection >::DynamicThreadedGenerateData().
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
const double otb::CONST_SQRTPI = std::sqrt(CONST_PI) |
Definition at line 59 of file otbMath.h.
Referenced by otb::Functor::ShapeAttributesLabelObjectFunctor< TLabelObject, TLabelImage >::gammaN2p1().
|
extern |
|
static |
Definition at line 51 of file otbImageFileReader.hxx.
Referenced by otb::ImageFileReader< TOutputImage, ConvertPixelTraits >::GetDerivedDatasetSourceFileName().
|
static |
Definition at line 52 of file otbImageFileReader.hxx.
Referenced by otb::ImageFileReader< TOutputImage, ConvertPixelTraits >::GetDerivedDatasetSourceFileName().
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |