PCL
|
16-bit unsigned integer pixel traits. More...
#include <PixelTraits.h>
Public Types | |
using | component = sample |
using | sample = traits_type::sample |
using | traits_type = GenericPixelTraits< uint16 > |
Public Types inherited from pcl::GenericPixelTraits< uint16 > | |
using | sample = uint16 |
Static Public Member Functions | |
template<typename T > | |
static void | Add (sample &a, T b) noexcept |
template<typename T > | |
static void | And (sample &a, T b) noexcept |
template<typename T > | |
static void | ColorBurn (sample &a, T b) noexcept |
template<typename T > | |
static void | ColorDodge (sample &a, T b) noexcept |
template<typename T > | |
static void | Dif (sample &a, T b) noexcept |
static void | Div (sample &a, double b) noexcept |
static void | Div (sample &a, float b) noexcept |
static void | Div (sample &a, pcl::Complex< double > b) noexcept |
static void | Div (sample &a, pcl::Complex< float > b) noexcept |
template<typename T > | |
static void | Div (sample &a, T b) noexcept |
template<typename T > | |
static void | Exclusion (sample &a, T b) noexcept |
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 |
template<typename T > | |
static void | HardLight (sample &a, T b) noexcept |
static constexpr sample | HighestSampleValue () noexcept |
static constexpr bool | IsComplexSample () noexcept |
static constexpr bool | IsFloatSample () noexcept |
template<typename T > | |
static void | LinearBurn (sample &a, T b) noexcept |
template<typename T > | |
static void | LinearLight (sample &a, T b) noexcept |
static constexpr sample | LowestSampleValue () noexcept |
template<typename T > | |
static void | Max (sample &a, T b) noexcept |
static constexpr sample | MaxSampleValue () noexcept |
template<typename T > | |
static void | Min (sample &a, T b) noexcept |
template<typename T > | |
static void | Mov (sample &a, T b) noexcept |
static void | Mul (sample &a, double b) noexcept |
static void | Mul (sample &a, float b) noexcept |
static void | Mul (sample &a, pcl::Complex< double > b) noexcept |
static void | Mul (sample &a, pcl::Complex< float > b) noexcept |
template<typename T > | |
static void | Mul (sample &a, T b) noexcept |
template<typename T > | |
static void | Nand (sample &a, T b) noexcept |
template<typename T > | |
static void | Nor (sample &a, T b) noexcept |
static void | Not (sample &a) noexcept |
template<typename T > | |
static void | Not (sample &a, T b) noexcept |
template<typename T > | |
static void | Or (sample &a, T b) noexcept |
template<typename T > | |
static void | Overlay (sample &a, T b) noexcept |
template<typename T > | |
static void | PinLight (sample &a, T b) noexcept |
static void | Pow (sample &a, double b) noexcept |
static void | Pow (sample &a, float b) noexcept |
static void | Pow (sample &a, pcl::Complex< double > b) noexcept |
static void | Pow (sample &a, pcl::Complex< float > b) noexcept |
template<typename T > | |
static void | Pow (sample &a, T b) noexcept |
static constexpr const char * | SampleFormat () noexcept |
template<typename T > | |
static void | Screen (sample &a, T b) noexcept |
template<typename T > | |
static void | SoftLight (sample &a, T b) noexcept |
template<typename T > | |
static void | Sub (sample &a, T b) noexcept |
template<typename T > | |
static constexpr sample | ToSample (const Complex< T > &x) noexcept |
static sample | ToSample (double x) noexcept |
static sample | ToSample (float x) noexcept |
static constexpr sample | ToSample (int16 x) noexcept |
static sample | ToSample (int32 x) noexcept |
static sample | ToSample (int8 x) noexcept |
static constexpr 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 |
template<typename T > | |
static void | VividLight (sample &a, T b) noexcept |
template<typename T > | |
static void | Xnor (sample &a, T b) noexcept |
template<typename T > | |
static void | Xor (sample &a, T b) noexcept |
Static Public Member Functions inherited from pcl::GenericPixelTraits< uint16 > | |
static constexpr int | BitsPerSample () noexcept |
static constexpr int | BytesPerSample () noexcept |
static constexpr sample | MinSampleValue () noexcept |
UInt16PixelTraits is a template instantiation of GenericPixelTraits for the uint16
type. It defines the characteristic properties and functionality of 16-bit unsigned integer pixel samples.
Definition at line 3933 of file PixelTraits.h.
Represents a component of a complex pixel sample, or a pixel sample value for real pixel sample types. For UInt16PixelTraits, this is equivalent to uint16
.
Definition at line 3952 of file PixelTraits.h.
Represents a pixel sample value.
Definition at line 3945 of file PixelTraits.h.
Represents this template instantiation.
Definition at line 3940 of file PixelTraits.h.
|
inlinestaticnoexcept |
Adds a T value b to a pixel sample variable a, with implicit data type conversion.
Definition at line 4242 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the bitwise AND operation with a T value b. The bitwise AND operation is performed after converting the right-hand side operand b to the pixel sample type.
Definition at line 4448 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the color burn standard composition operation of its current value and a T value b, with implicit data type conversion.
Definition at line 4511 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the color dodge standard composition operation of its current value and a T value b, with implicit data type conversion.
Definition at line 4586 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a its absolute difference with a T value b, with implicit data type conversion.
Definition at line 4394 of file PixelTraits.h.
|
inlinestaticnoexcept |
#
Definition at line 4323 of file PixelTraits.h.
|
inlinestaticnoexcept |
#
Definition at line 4315 of file PixelTraits.h.
|
inlinestaticnoexcept |
#
Definition at line 4339 of file PixelTraits.h.
|
inlinestaticnoexcept |
#
Definition at line 4331 of file PixelTraits.h.
|
inlinestaticnoexcept |
Divides a pixel sample variable a by a T value b, with implicit data type conversion.
Definition at line 4308 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the exclusion standard composition operation of its current value and a T value b, with implicit data type conversion.
Definition at line 4761 of file PixelTraits.h.
|
inlinestaticnoexcept |
Conversion of any floating point value to a pixel sample value.
Definition at line 4017 of file PixelTraits.h.
|
inlinestaticnoexcept |
Conversion of a pixel sample value to any complex type.
Definition at line 4220 of file PixelTraits.h.
|
inlinestaticnoexcept |
Conversion of a pixel sample value to a 64-bit floating point real.
Definition at line 4207 of file PixelTraits.h.
|
inlinestaticnoexcept |
Conversion of a pixel sample value to a 32-bit floating point real.
Definition at line 4195 of file PixelTraits.h.
Conversion of a pixel sample value to a 16-bit signed integer.
Definition at line 4163 of file PixelTraits.h.
Conversion of a pixel sample value to a 32-bit signed integer.
Definition at line 4183 of file PixelTraits.h.
Conversion of a pixel sample value to an 8-bit signed integer.
Definition at line 4143 of file PixelTraits.h.
Conversion of a pixel sample value to a 16-bit unsigned integer.
Definition at line 4155 of file PixelTraits.h.
Conversion of a pixel sample value to a 32-bit unsigned integer.
Definition at line 4171 of file PixelTraits.h.
Conversion of a pixel sample value to an 8-bit unsigned integer.
Definition at line 4131 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the hard light standard composition operation of its current value and a T value b, with implicit data type conversion.
Definition at line 4661 of file PixelTraits.h.
|
inlinestaticconstexprnoexcept |
Returns the highest finite value representable by this pixel sample type.
For UInt16PixelTraits, this member function returns 255.
Definition at line 4008 of file PixelTraits.h.
References uint16_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 3967 of file PixelTraits.h.
|
inlinestaticconstexprnoexcept |
Returns true iff this pixel traits class corresponds to a floating point real pixel sample type.
Definition at line 3958 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the linear burn standard composition operation of its current value and a T value b, with implicit data type conversion.
Definition at line 4536 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the linear light standard composition operation of its current value and a T value b, with implicit data type conversion.
Definition at line 4711 of file PixelTraits.h.
|
inlinestaticconstexprnoexcept |
Returns the lowest finite value representable by this pixel sample type.
For UInt16PixelTraits, this member function returns 0.
Definition at line 3998 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the maximum of its current value and a T value b, with implicit data type conversion.
Definition at line 4415 of file PixelTraits.h.
|
inlinestaticconstexprnoexcept |
Returns the maximum valid pixel sample value.
For UInt16PixelTraits, this member function returns 65535.
Definition at line 3988 of file PixelTraits.h.
References uint16_max.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the minimum of its current value and a T value b, with implicit data type conversion.
Definition at line 4405 of file PixelTraits.h.
|
inlinestaticnoexcept |
Copies a T value b to a pixel sample variable a, with implicit conversion from the source data type T to the pixel sample type.
Definition at line 4232 of file PixelTraits.h.
|
inlinestaticnoexcept |
#
Definition at line 4281 of file PixelTraits.h.
|
inlinestaticnoexcept |
#
Definition at line 4273 of file PixelTraits.h.
|
inlinestaticnoexcept |
#
Definition at line 4297 of file PixelTraits.h.
|
inlinestaticnoexcept |
#
Definition at line 4289 of file PixelTraits.h.
|
inlinestaticnoexcept |
Multiplies a pixel sample variable a by a T value b, with implicit data type conversion.
Definition at line 4264 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the bitwise NAND operation with a T value b. The bitwise NAND operation is performed after converting the right-hand side operand b to the pixel sample type.
Definition at line 4478 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the bitwise inclusive NOR operation with a T value b. The bitwise NOR operation is performed after converting the right-hand side operand b to the pixel sample type.
Definition at line 4437 of file PixelTraits.h.
|
inlinestaticnoexcept |
Negates (bitwise NOT operation) a pixel sample variable a.
Definition at line 4456 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the bitwise negation (NOT operation) of a T value b. Bitwise negation is performed after converting the right-hand side operand b to the pixel sample type.
Definition at line 4467 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the bitwise inclusive OR operation with a T value b. The bitwise OR operation is performed after converting the right-hand side operand b to the pixel sample type.
Definition at line 4426 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the overlay standard composition operation of its current value and a T value b, with implicit data type conversion.
Definition at line 4611 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the pin light standard composition operation of its current value and a T value b, with implicit data type conversion.
Definition at line 4736 of file PixelTraits.h.
|
inlinestaticnoexcept |
#
Definition at line 4367 of file PixelTraits.h.
|
inlinestaticnoexcept |
#
Definition at line 4359 of file PixelTraits.h.
|
inlinestaticnoexcept |
#
Definition at line 4383 of file PixelTraits.h.
|
inlinestaticnoexcept |
#
Definition at line 4375 of file PixelTraits.h.
|
inlinestaticnoexcept |
Raises a pixel sample variable a to a T exponent value b, with implicit data type conversion.
Definition at line 4350 of file PixelTraits.h.
|
inlinestaticconstexprnoexcept |
Returns the address of a static null-terminated string identifying the sample data type represented by this pixel traits class.
For UInt16PixelTraits, this member function returns "UInt16".
Definition at line 3978 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the screen standard composition operation of its current value and a T value b, with implicit data type conversion.
Definition at line 4561 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the soft light standard composition operation of its current value and a T value b, with implicit data type conversion.
Definition at line 4636 of file PixelTraits.h.
|
inlinestaticnoexcept |
Subtracts a T value b from a pixel sample variable a, with implicit data type conversion.
Definition at line 4253 of file PixelTraits.h.
|
inlinestaticconstexprnoexcept |
Conversion of any complex value to a pixel sample value.
Definition at line 4123 of file PixelTraits.h.
References pcl::Abs().
|
inlinestaticnoexcept |
Conversion of a 64-bit floating point value to a pixel sample value.
Definition at line 4104 of file PixelTraits.h.
References uint16_max.
|
inlinestaticnoexcept |
Conversion of a 32-bit floating point value to a pixel sample value.
Definition at line 4086 of file PixelTraits.h.
References uint16_max.
Conversion of a 16-bit signed integer value to a pixel sample value.
Definition at line 4062 of file PixelTraits.h.
References int16_min.
Conversion of a 32-bit signed integer value to a pixel sample value.
Definition at line 4078 of file PixelTraits.h.
References int32_min, pcl::Round(), and uint32_to_uint16.
Conversion of an 8-bit signed integer value to a pixel sample value.
Definition at line 4042 of file PixelTraits.h.
References int8_min, and uint8_to_uint16.
Conversion of a 16-bit unsigned integer value to a pixel sample value.
Definition at line 4054 of file PixelTraits.h.
Conversion of a 32-bit unsigned integer value to a pixel sample value.
Definition at line 4070 of file PixelTraits.h.
References pcl::Round(), and uint32_to_uint16.
Conversion of an 8-bit unsigned integer value to a pixel sample value.
Definition at line 4030 of file PixelTraits.h.
References uint8_to_uint16.
|
inlinestaticnoexcept |
Conversion of a 64-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 4114 of file PixelTraits.h.
References pcl::Range(), and uint16_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 4096 of file PixelTraits.h.
References pcl::Range(), and uint16_max.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the vivid light standard composition operation of its current value and a T value b, with implicit data type conversion.
Definition at line 4686 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the bitwise exclusive NOR (XNOR) operation with a T value b. The bitwise XNOR operation is performed after converting the right-hand side operand b to the pixel sample type.
Definition at line 4500 of file PixelTraits.h.
|
inlinestaticnoexcept |
Assigns to a pixel sample variable a the bitwise exclusive OR (XOR) operation with a T value b. The bitwise XOR operation is performed after converting the right-hand side operand b to the pixel sample type.
Definition at line 4489 of file PixelTraits.h.