 |
NumCpp
2.4.0
A Templatized Header Only C++ Implementation of the Python NumPy Library
|
Go to the documentation of this file.
40 namespace imageProcessing
45 template<
typename dtype>
49 STATIC_ASSERT_ARITHMETIC(dtype);
62 constexpr
Pixel() =
default;
105 return !(*
this == rhs);
129 return static_cast<bool>(
col < rhs.col);
169 inStream << inPixel.
str();
std::int32_t int32
Definition: Types.hpp:36
std::string str() const
Definition: Pixel.hpp:142
std::string num2str(dtype inNumber)
Definition: num2str.hpp:46
std::uint32_t uint32
Definition: Types.hpp:40
bool operator<(const Pixel< dtype > &rhs) const noexcept
Definition: Pixel.hpp:121
void print() const
Definition: Pixel.hpp:153
Definition: Coordinate.hpp:44
constexpr Pixel()=default
constexpr bool operator==(const Pixel< dtype > &rhs) const noexcept
Definition: Pixel.hpp:88
dtype intensity
Definition: Pixel.hpp:56
constexpr bool operator!=(const Pixel< dtype > &rhs) const noexcept
Definition: Pixel.hpp:103
friend std::ostream & operator<<(std::ostream &inStream, const Pixel< dtype > &inPixel)
Definition: Pixel.hpp:167
constexpr Pixel(uint32 inRow, uint32 inCol, dtype inIntensity) noexcept
Definition: Pixel.hpp:72
uint32 col
Definition: Pixel.hpp:55
int32 clusterId
Definition: Pixel.hpp:53
uint32 row
Definition: Pixel.hpp:54
Holds the information for a single pixel.
Definition: Pixel.hpp:46