PCL
|
24-bit unsigned integer pixel traits. More...
#include <PixelTraits.h>
Public Types | |
using | component = sample |
using | sample = traits_type::sample |
using | traits_type = GenericPixelTraits< uint32 > |
Public Types inherited from pcl::GenericPixelTraits< uint32 > | |
using | sample = uint32 |
Static Public Member Functions | |
template<typename T > | |
static sample | FloatToSample (T x) noexcept |
template<typename T > | |
static void | FromSample (Complex< T > &a, sample b) noexcept |
static void | FromSample (double &a, sample b) noexcept |
static void | FromSample (float &a, sample b) noexcept |
static void | FromSample (int16 &a, sample b) noexcept |
static void | FromSample (int32 &a, sample b) noexcept |
static void | FromSample (int8 &a, sample b) noexcept |
static void | FromSample (uint16 &a, sample b) noexcept |
static void | FromSample (uint32 &a, sample b) noexcept |
static void | FromSample (uint8 &a, sample b) noexcept |
static constexpr sample | HighestSampleValue () noexcept |
static constexpr bool | IsComplexSample () noexcept |
static constexpr bool | IsFloatSample () noexcept |
static constexpr sample | LowestSampleValue () noexcept |
static constexpr sample | MaxSampleValue () noexcept |
static constexpr const char * | SampleFormat () noexcept |
template<typename T > | |
static sample | ToSample (const Complex< T > &x) noexcept |
static sample | ToSample (double x) noexcept |
static sample | ToSample (float x) noexcept |
static sample | ToSample (int16 x) noexcept |
static sample | ToSample (int32 x) noexcept |
static sample | ToSample (int8 x) noexcept |
static sample | ToSample (uint16 x) noexcept |
static sample | ToSample (uint32 x) noexcept |
static sample | ToSample (uint8 x) noexcept |
static sample | ToSampleConstrained (double x) noexcept |
static sample | ToSampleConstrained (float x) noexcept |
Static Public Member Functions inherited from pcl::GenericPixelTraits< uint32 > | |
static constexpr int | BitsPerSample () noexcept |
static constexpr int | BytesPerSample () noexcept |
static constexpr sample | MinSampleValue () noexcept |
UInt24PixelTraits is a template instantiation of GenericPixelTraits for unsigned 24-bit integers (stored as uint32
values).
This class does not represent an instantiable pixel sample type. It is used mainly for generation and management of 24-bit lookup tables (LUTs).
Definition at line 5977 of file PixelTraits.h.
Represents a component of a complex pixel sample, or a pixel sample value for real pixel sample types. For UInt24PixelTraits, this is equivalent to uint32
.
Definition at line 5996 of file PixelTraits.h.
Represents a pixel sample value.
Definition at line 5989 of file PixelTraits.h.
Represents this template instantiation.
Definition at line 5984 of file PixelTraits.h.
|
inlinestaticnoexcept |
Conversion of any floating point value to a pixel sample value.
Definition at line 6061 of file PixelTraits.h.
|
inlinestaticnoexcept |
Conversion of a pixel sample value to any complex type.
Definition at line 6248 of file PixelTraits.h.
|
inlinestaticnoexcept |
Conversion of a pixel sample value to a 64-bit floating point real.
Definition at line 6239 of file PixelTraits.h.
|
inlinestaticnoexcept |
Conversion of a pixel sample value to a 32-bit floating point real.
Definition at line 6231 of file PixelTraits.h.
Conversion of a pixel sample value to a 16-bit signed integer.
Definition at line 6207 of file PixelTraits.h.
Conversion of a pixel sample value to a 32-bit signed integer.
Definition at line 6223 of file PixelTraits.h.
Conversion of a pixel sample value to an 8-bit signed integer.
Definition at line 6191 of file PixelTraits.h.
Conversion of a pixel sample value to a 16-bit unsigned integer.
Definition at line 6199 of file PixelTraits.h.
Conversion of a pixel sample value to a 32-bit unsigned integer.
Definition at line 6215 of file PixelTraits.h.
Conversion of a pixel sample value to an 8-bit unsigned integer.
Definition at line 6183 of file PixelTraits.h.
|
inlinestaticconstexprnoexcept |
Returns the highest finite value representable by this pixel sample type.
For UInt24PixelTraits, this member function returns 16777216.
Definition at line 6052 of file PixelTraits.h.
References uint24_max.
|
inlinestaticconstexprnoexcept |
Returns true if this pixel traits class corresponds to a complex pixel sample type; false if it represents a real pixel sample type.
Definition at line 6011 of file PixelTraits.h.
|
inlinestaticconstexprnoexcept |
Returns true iff this pixel traits class corresponds to a floating point real pixel sample type.
Definition at line 6002 of file PixelTraits.h.
|
inlinestaticconstexprnoexcept |
Returns the lowest finite value representable by this pixel sample type.
For UInt24PixelTraits, this member function returns 0.
Definition at line 6042 of file PixelTraits.h.
|
inlinestaticconstexprnoexcept |
Returns the maximum valid pixel sample value.
For UInt24PixelTraits, this member function returns 16777216.
Definition at line 6032 of file PixelTraits.h.
References uint24_max.
|
inlinestaticconstexprnoexcept |
Returns the address of a static null-terminated string identifying the sample data type represented by this pixel traits class.
For UInt24PixelTraits, this member function returns "UInt24".
Definition at line 6022 of file PixelTraits.h.
|
inlinestaticnoexcept |
Conversion of any complex value to a pixel sample value.
Definition at line 6175 of file PixelTraits.h.
References pcl::Abs().
|
inlinestaticnoexcept |
Conversion of a 64-bit floating point value to a pixel sample value.
Definition at line 6156 of file PixelTraits.h.
References uint24_max.
|
inlinestaticnoexcept |
Conversion of a 32-bit floating point value to a pixel sample value.
Definition at line 6138 of file PixelTraits.h.
References uint24_max.
Conversion of a 16-bit signed integer value to a pixel sample value.
Definition at line 6110 of file PixelTraits.h.
References int16_min, pcl::RoundInt(), and uint16_to_uint24.
Conversion of a 32-bit signed integer value to a pixel sample value.
Definition at line 6130 of file PixelTraits.h.
References int32_min, pcl::RoundInt(), and uint32_to_uint24.
Conversion of an 8-bit signed integer value to a pixel sample value.
Definition at line 6086 of file PixelTraits.h.
References int8_min, pcl::RoundInt(), and uint8_to_uint24.
Conversion of a 16-bit unsigned integer value to a pixel sample value.
Definition at line 6098 of file PixelTraits.h.
References pcl::RoundInt(), and uint16_to_uint24.
Conversion of a 32-bit unsigned integer value to a pixel sample value.
Definition at line 6122 of file PixelTraits.h.
References pcl::RoundInt(), and uint32_to_uint24.
Conversion of an 8-bit unsigned integer value to a pixel sample value.
Definition at line 6074 of file PixelTraits.h.
References uint8_to_uint24.
|
inlinestaticnoexcept |
Conversion of a 32-bit floating point value to a pixel sample value. This function guarantees that the result will never overflow as a result of an out-of-range argument value.
Definition at line 6166 of file PixelTraits.h.
References pcl::Range(), and uint24_max.
|
inlinestaticnoexcept |
Conversion of a 32-bit floating point value to a pixel sample value. This function guarantees that the result will never overflow as a result of an out-of-range argument value.
Definition at line 6148 of file PixelTraits.h.
References pcl::Range(), and uint24_max.