|
|
| Image (size_t n_rows, size_t n_cols, const T *value_init=_value_default_ptr(), std::shared_ptr< const CoordinateSystem > coordsys=nullptr)=delete |
| |
|
| Image (std::shared_ptr< const CoordinateSystem > coordsys=nullptr) |
| |
|
T & | _get_value (size_t row, size_t col) |
| |
|
T & | _get_value_impl (size_t row, size_t col) |
| |
|
T & | _get_value_unchecked (size_t row, size_t col) |
| |
|
T & | _get_value_unchecked_impl (size_t row, size_t col)=delete |
| |
|
void | _check_row_col (size_t row, size_t col) const |
| |
|
void | _check_row_col_impl (size_t row, size_t col) const |
| |
|
const CoordinateSystem & | get_coordsys () const |
| |
|
std::shared_ptr< const CoordinateSystem > | get_coordsys_ptr_const () const |
| |
|
size_t | get_n_cols () const |
| |
|
size_t | get_n_cols_impl () const =delete |
| |
|
size_t | get_n_rows () const |
| |
|
size_t | get_n_rows_impl ()=delete |
| |
|
void | add_value (size_t row, size_t col, T value) |
| |
|
void | add_value_impl (size_t row, size_t col, T value) |
| |
|
void | add_value_unchecked (size_t row, size_t col, T value) |
| |
|
void | add_value_unchecked_impl (size_t row, size_t col, T value) |
| |
|
void | fill (T value) |
| |
|
void | fill_impl (T value) |
| |
|
T | get_value (size_t row, size_t col) const |
| |
|
T | get_value_impl (size_t row, size_t col) const |
| |
|
T | get_value_unchecked (size_t row, size_t col) const |
| |
|
T | get_value_unchecked_impl (size_t row, size_t col) const =delete |
| |
|
void | set_value (size_t row, size_t col, T value) |
| |
|
void | set_value_impl (size_t row, size_t col, T value) |
| |
|
void | set_value_unchecked (size_t row, size_t col, T value) |
| |
|
void | set_value_unchecked_impl (size_t row, size_t col, T value) |
| |
|
std::array< size_t, 2 > | shape () const |
| |
|
size_t | size () const |
| |
| std::string | repr (bool name_keywords, std::string_view namespace_separator) const override |
| |
| std::string | str () const override |
| | Return a brief, human-readable string representation of this.
|
| |
|
Image< T, C > & | operator+= (T value) |
| |
|
Image< T, C > & | operator*= (T value) |
| |
|
bool | operator== (const Image &other) const |
| |
|
const bool | operator!= (const Image &other) const |
| |
template<typename T, class C>
class lsst::gauss2d::Image< T, C >
A 2D image with scalar numeric values, using CRTP.
Basic implementations of most functions are provided. Derived classes should override any and all if the default implementations are not efficient enough.
- Template Parameters
-
| t | The numeric type. |
| C | The specialized class. |