 |
NumCpp
1.0
A C++ implementation of the Python Numpy library
|
Go to the documentation of this file.
41 namespace imageProcessing
46 template<
typename dtype>
50 STATIC_ASSERT_ARITHMETIC(dtype);
63 constexpr
Pixel() =
default;
106 return !(*
this == rhs);
128 else if (
row == rhs.row)
179 inStream << inPixel.
str();
std::int32_t int32
Definition: Types.hpp:37
std::string str() const
Definition: Pixel.hpp:152
std::string num2str(dtype inNumber)
Definition: num2str.hpp:47
std::uint32_t uint32
Definition: Types.hpp:41
bool operator<(const Pixel< dtype > &rhs) const noexcept
Definition: Pixel.hpp:122
void print() const
Definition: Pixel.hpp:163
Definition: Coordinate.hpp:45
constexpr Pixel()=default
constexpr bool operator==(const Pixel< dtype > &rhs) const noexcept
Definition: Pixel.hpp:89
dtype intensity
Definition: Pixel.hpp:57
constexpr bool operator!=(const Pixel< dtype > &rhs) const noexcept
Definition: Pixel.hpp:104
friend std::ostream & operator<<(std::ostream &inStream, const Pixel< dtype > &inPixel)
Definition: Pixel.hpp:177
constexpr Pixel(uint32 inRow, uint32 inCol, dtype inIntensity) noexcept
Definition: Pixel.hpp:73
uint32 col
Definition: Pixel.hpp:56
int32 clusterId
Definition: Pixel.hpp:54
uint32 row
Definition: Pixel.hpp:55
Holds the information for a single pixel.
Definition: Pixel.hpp:47