40 namespace imageProcessing
45 template<
typename dtype>
49 STATIC_ASSERT_ARITHMETIC(dtype);
102 return !(*
this == rhs);
124 return static_cast<bool>(
col < rhs.col);
162 inStream << inPixel.
str();
Holds the information for a single pixel.
Definition: Pixel.hpp:47
constexpr bool operator==(const Pixel< dtype > &rhs) const noexcept
Definition: Pixel.hpp:87
constexpr Pixel()=default
friend std::ostream & operator<<(std::ostream &inStream, const Pixel< dtype > &inPixel)
Definition: Pixel.hpp:160
dtype intensity
Definition: Pixel.hpp:56
void print() const
Definition: Pixel.hpp:147
constexpr bool operator!=(const Pixel< dtype > &rhs) const noexcept
Definition: Pixel.hpp:100
constexpr Pixel(uint32 inRow, uint32 inCol, dtype inIntensity) noexcept
Definition: Pixel.hpp:72
bool operator<(const Pixel< dtype > &rhs) const noexcept
Definition: Pixel.hpp:116
uint32 col
Definition: Pixel.hpp:55
uint32 row
Definition: Pixel.hpp:54
int32 clusterId
Definition: Pixel.hpp:53
std::string str() const
Definition: Pixel.hpp:136
std::string num2str(dtype inNumber)
Definition: num2str.hpp:46
Definition: Coordinate.hpp:45
std::int32_t int32
Definition: Types.hpp:36
std::uint32_t uint32
Definition: Types.hpp:40