SLIP
1.4
|
This is a grayscaleimage class. This is a two-dimensional dynamic and generic container. This container statisfies the BidirectionnalContainer concepts of the STL. It is also an 2d extension of the RandomAccessContainer concept. That is to say the bracket element access is replaced by the double bracket element access. Data are stored using a Matrix class. It extends the interface of Matrix adding image read/write operations. These operations are done using the ImageMagick library. More...
#include <GrayscaleImage.hpp>
Public Member Functions | |
void | resize (const size_type height, const size_type width, const T &val=T()) |
Resizes a GrayscaleImage. More... | |
std::string | name () const |
Returns the name of the class. More... | |
size_type | dim1 () const |
Returns the number of rows (first dimension size) in the GrayscaleImage. More... | |
size_type | rows () const |
Returns the number of rows (first dimension size) in the GrayscaleImage. More... | |
size_type | height () const |
Returns the height (first dimension size) in the GrayscaleImage. More... | |
size_type | dim2 () const |
Returns the number of columns (second dimension size) in the GrayscaleImage. More... | |
size_type | columns () const |
Returns the number of columns (second dimension size) in the GrayscaleImage. More... | |
size_type | cols () const |
Returns the number of columns (second dimension size) in the GrayscaleImage. More... | |
size_type | width () const |
Returns the number of columns (second dimension size) in the GrayscaleImage. More... | |
size_type | size () const |
Returns the number of elements in the GrayscaleImage. More... | |
size_type | max_size () const |
Returns the maximal size (number of elements) in the GrayscaleImage. More... | |
bool | empty () const |
Returns true if the GrayscaleImage is empty. (Thus size() == 0) More... | |
void | swap (self &M) |
Swaps data with another GrayscaleImage. More... | |
T & | min () const |
Returns the min element of the GrayscaleImage according to the operator <. More... | |
T & | max () const |
Returns the max element of the GrayscaleImage according to the operator <. More... | |
T | sum () const |
Returns the sum of the elements of the GrayscaleImage. More... | |
GrayscaleImage< T > & | apply (T(*fun)(T)) |
Applys the one-parameter C-function fun to each element of the GrayscaleImage. More... | |
GrayscaleImage< T > & | apply (T(*fun)(const T &)) |
Applys the one-parameter C-function fun to each element of the GrayscaleImage. More... | |
template<typename T> | |
GrayscaleImage (const typename GrayscaleImage< T >::size_type height, const typename GrayscaleImage< T >::size_type width) | |
template<typename T> | |
GrayscaleImage (const typename GrayscaleImage< T >::size_type height, const typename GrayscaleImage< T >::size_type width, const T &val) | |
template<typename T> | |
GrayscaleImage (const typename GrayscaleImage< T >::size_type height, const typename GrayscaleImage< T >::size_type width, const T *val) | |
template<> | |
void | write_ascii (const std::string &file_path_name) const |
Constructors & Destructors | |
GrayscaleImage () | |
Constructs a GrayscaleImage. More... | |
GrayscaleImage (const size_type height, const size_type width) | |
Constructs a GrayscaleImage. More... | |
GrayscaleImage (const size_type height, const size_type width, const T &val) | |
Constructs a GrayscaleImage initialized by the scalar value val. More... | |
GrayscaleImage (const size_type height, const size_type width, const T *val) | |
Constructs a GrayscaleImage initialized by an array val. More... | |
template<typename InputIterator > | |
GrayscaleImage (const size_type height, const size_type width, InputIterator first, InputIterator last) | |
Contructs a GrayscaleImage from a range. More... | |
GrayscaleImage (const self &rhs) | |
Constructs a copy of the GrayscaleImage rhs. More... | |
~GrayscaleImage () | |
Destructor of the GrayscaleImage. More... | |
iterators | |
iterator | begin () |
Returns a read/write iterator that points to the first element in the GrayscaleImage. Iteration is done in ordinary element order. More... | |
iterator | end () |
Returns a read/write iterator that points one past the last element in the GrayscaleImage. Iteration is done in ordinary element order. More... | |
const_iterator | begin () const |
Returns a read-only (constant) iterator that points to the first element in the GrayscaleImage. Iteration is done in ordinary element order. More... | |
const_iterator | end () const |
Returns a read-only (constant) iterator that points one past the last element in the GrayscaleImage. Iteration is done in ordinary element order. More... | |
reverse_iterator | rbegin () |
Returns a read/write reverse iterator that points to the last element in the GrayscaleImage. Iteration is done in reverse element order. More... | |
reverse_iterator | rend () |
Returns a read/write reverse iterator that points to one before the first element in the GrayscaleImage. Iteration is done in reverse element order. More... | |
const_reverse_iterator | rbegin () const |
Returns a read-only (constant) reverse iterator that points to the last element in the GrayscaleImage. Iteration is done in reverse element order. More... | |
const_reverse_iterator | rend () const |
Returns a read-only (constant) reverse iterator that points to one before the first element in the GrayscaleImage. Iteration is done in reverse element order. More... | |
row_iterator | row_begin (const size_type row) |
Returns a read/write iterator that points to the first element of the row row in the GrayscaleImage. Iteration is done in ordinary element order. More... | |
row_iterator | row_end (const size_type row) |
Returns a read/write iterator that points one past the end element of the row row in the GrayscaleImage. Iteration is done in ordinary element order. More... | |
const_row_iterator | row_begin (const size_type row) const |
Returns a read-only iterator that points to the first element of the row row in the GrayscaleImage. Iteration is done in ordinary element order. More... | |
const_row_iterator | row_end (const size_type row) const |
Returns a read-only iterator that points one past the end element of the row row in the GrayscaleImage. Iteration is done in ordinary element order. More... | |
col_iterator | col_begin (const size_type col) |
Returns a read/write iterator that points to the first element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns. More... | |
col_iterator | col_end (const size_type col) |
Returns a read/write iterator that points one past the end element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns. More... | |
const_col_iterator | col_begin (const size_type col) const |
Returns a read-only iterator that points to the first element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns. More... | |
const_col_iterator | col_end (const size_type col) const |
Returns a read-only iterator that points one past the end element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns. More... | |
row_range_iterator | row_begin (const size_type row, const slip::Range< int > &range) |
Returns a read/write iterator that points to the first element of the Range range of the row row in the GrayscaleImage. Iteration is done in ordinary element order according to the Range. More... | |
row_range_iterator | row_end (const size_type row, const slip::Range< int > &range) |
Returns a read/write iterator that points one past the end element of the Range range of the row row in the GrayscaleImage. Iteration is done in ordinary element order according to the Range. More... | |
const_row_range_iterator | row_begin (const size_type row, const slip::Range< int > &range) const |
Returns a read-only iterator that points to the first element of the Range range of the row row in the GrayscaleImage. Iteration is done in ordinary element order according to the Range. More... | |
const_row_range_iterator | row_end (const size_type row, const slip::Range< int > &range) const |
Returns a read_only iterator that points one past the last element of the Range range of the row row in the GrayscaleImage. Iteration is done in ordinary element order according to the Range. More... | |
col_range_iterator | col_begin (const size_type col, const slip::Range< int > &range) |
Returns a read-write iterator that points to the first element of the Range range of the col col in the GrayscaleImage. Iteration is done in ordinary element order according to the Range. More... | |
col_range_iterator | col_end (const size_type col, const slip::Range< int > &range) |
Returns a read-write iterator that points to the past the end element of the Range range of the col col in the GrayscaleImage. Iteration is done in ordinary element order according to the Range. More... | |
const_col_range_iterator | col_begin (const size_type col, const slip::Range< int > &range) const |
Returns a read-only iterator that points to the first element of the Range range of the col col in the GrayscaleImage. Iteration is done in ordinary element order according to the Range. More... | |
const_col_range_iterator | col_end (const size_type col, const slip::Range< int > &range) const |
Returns a read-only iterator that points to the past the end element of the Range range of the col col in the GrayscaleImage. Iteration is done in ordinary element order according to the Range. More... | |
reverse_row_iterator | row_rbegin (const size_type row) |
Returns a read/write reverse iterator that points to the last element of the row row in the GrayscaleImage. Iteration is done in the reverse element order. More... | |
reverse_row_iterator | row_rend (const size_type row) |
Returns a read/write reverse iterator that points one past the first element of the row row in the GrayscaleImage. Iteration is done in the reverse element order. More... | |
const_reverse_row_iterator | row_rbegin (const size_type row) const |
Returns a read-only reverse iterator that points to the last element of the row row in the GrayscaleImage. Iteration is done in the reverse element order. More... | |
const_reverse_row_iterator | row_rend (const size_type row) const |
Returns a read-only reverse iterator that points one past the first element of the row row in the GrayscaleImage. Iteration is done in the reverse element order. More... | |
reverse_col_iterator | col_rbegin (const size_type col) |
Returns a read/write reverse iterator that points to the last element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns and in the reverse element order. More... | |
reverse_col_iterator | col_rend (const size_type col) |
Returns a read/write reverse iterator that points one past the first element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns and in the reverse element order. More... | |
const_reverse_col_iterator | col_rbegin (const size_type col) const |
Returns a read-only reverse iterator that points to the last element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns and in the reverse element order. More... | |
const_reverse_col_iterator | col_rend (const size_type col) const |
Returns a read-only reverse iterator that points one past the first element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns and in the reverse element order. More... | |
reverse_row_range_iterator | row_rbegin (const size_type row, const slip::Range< int > &range) |
Returns a read-write iterator that points to the last element of the Range range of the row row in the GrayscaleImage. Iteration is done in the reverse element order according to the Range. More... | |
reverse_row_range_iterator | row_rend (const size_type row, const slip::Range< int > &range) |
Returns a read-write iterator that points one before the first element of the Range range of the row row in the GrayscaleImage. Iteration is done in the reverse element order according to the Range. More... | |
const_reverse_row_range_iterator | row_rbegin (const size_type row, const slip::Range< int > &range) const |
Returns a read-only iterator that points to the last element of the Range range of the row row in the GrayscaleImage. Iteration is done in the reverse element order according to the Range. More... | |
const_reverse_row_range_iterator | row_rend (const size_type row, const slip::Range< int > &range) const |
Returns a read-only iterator that points one before the first element of the Range range of the row row in the GrayscaleImage. Iteration is done in the reverse element order according to the Range. More... | |
reverse_col_range_iterator | col_rbegin (const size_type col, const slip::Range< int > &range) |
Returns a read-write iterator that points to the last element of the Range range of the col col in the GrayscaleImage. Iteration is done in the reverse element order according to the Range. More... | |
reverse_col_range_iterator | col_rend (const size_type col, const slip::Range< int > &range) |
Returns a read-write iterator that points to one before the first element of the Range range of the col col in the GrayscaleImage. Iteration is done in the reverse element order according to the Range. More... | |
const_reverse_col_range_iterator | col_rbegin (const size_type col, const slip::Range< int > &range) const |
Returns a read_only iterator that points to the last element of the Range & range of the col col in the GrayscaleImage. Iteration is done in the reverse element order according to the Range. More... | |
const_reverse_col_range_iterator | col_rend (const size_type col, const slip::Range< int > &range) const |
Returns a read-only iterator that points to the first element of the Range range of the col col in the GrayscaleImage. Iteration is done in the reverse element order according to the Range. More... | |
iterator2d | upper_left () |
Returns a read/write iterator2d that points to the first element of the GrayscaleImage. It points to the upper left element of the GrayscaleImage. More... | |
iterator2d | bottom_right () |
Returns a read/write iterator2d that points to the past the end element of the GrayscaleImage. It points to past the end element of the bottom right element of the GrayscaleImage. More... | |
const_iterator2d | upper_left () const |
Returns a read-only iterator2d that points to the first element of the GrayscaleImage. It points to the upper left element of the GrayscaleImage. More... | |
const_iterator2d | bottom_right () const |
Returns a read-only iterator2d that points to the past the end element of the GrayscaleImage. It points to past the end element of the bottom right element of the GrayscaleImage. More... | |
iterator2d | upper_left (const Box2d< int > &box) |
Returns a read/write iterator2d that points to the first element of the GrayscaleImage. It points to the upper left element of the Box2d associated to the GrayscaleImage. More... | |
iterator2d | bottom_right (const Box2d< int > &box) |
Returns a read/write iterator2d that points to the past the end element of the GrayscaleImage. It points to past the end element of the bottom right element of the Box2d associated to the GrayscaleImage. More... | |
const_iterator2d | upper_left (const Box2d< int > &box) const |
Returns a read only iterator2d that points to the first element of the GrayscaleImage. It points to the upper left element of the Box2d associated to the GrayscaleImage. More... | |
const_iterator2d | bottom_right (const Box2d< int > &box) const |
Returns a read only iterator2d that points to the past the end element of the GrayscaleImage. It points to past the end element of the bottom right element of the Box2d associated to the GrayscaleImage. More... | |
iterator2d_range | upper_left (const Range< int > &row_range, const Range< int > &col_range) |
Returns a read/write iterator2d_range that points to the upper left element of the ranges row_range and col_range associated to the GrayscaleImage. More... | |
iterator2d_range | bottom_right (const Range< int > &row_range, const Range< int > &col_range) |
Returns a read/write iterator2d_range that points to the past the end bottom right element of the ranges row_range and col_range associated to the GrayscaleImage. More... | |
const_iterator2d_range | upper_left (const Range< int > &row_range, const Range< int > &col_range) const |
Returns a read-only iterator2d_range that points to the to the upper left element of the ranges row_range and col_range associated to the GrayscaleImage. More... | |
const_iterator2d_range | bottom_right (const Range< int > &row_range, const Range< int > &col_range) const |
Returns a read-only iterator2d_range that points to the past the end bottom right element of the ranges row_range and col_range associated to the GrayscaleImage. More... | |
iterator2d_range | upper_left (const Range< int > &range) |
Returns a read/write iterator2d_range that points to the upper left element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols. More... | |
iterator2d_range | bottom_right (const Range< int > &range) |
Returns a read/write iterator2d_range that points to the past the end bottom right element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols. More... | |
const_iterator2d_range | upper_left (const Range< int > &range) const |
Returns a read-only iterator2d_range that points to the to the upper left element of the Range range associated to the GrayscaleImage. More... | |
const_iterator2d_range | bottom_right (const Range< int > &range) const |
Returns a read-only const_iterator2d_range that points to the past the end bottom right element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols. More... | |
reverse_iterator2d | rupper_left () |
Returns a read/write reverse iterator2d. It points to the bottom right element of the GrayscaleImage. Iteration is done within the GrayscaleImage in the reverse order. More... | |
reverse_iterator2d | rbottom_right () |
Returns a read/write reverse iterator2d. It points to past the upper left element of the GrayscaleImage. Iteration is done in the reverse order. More... | |
const_reverse_iterator2d | rupper_left () const |
Returns a read only reverse iterator2d that points. It points to the bottom right element of the GrayscaleImage. Iteration is done within the GrayscaleImage in the reverse order. More... | |
const_reverse_iterator2d | rbottom_right () const |
Returns a read only reverse iterator2d. It points to past the upper left element of the GrayscaleImage. Iteration is done in the reverse order. More... | |
reverse_iterator2d | rupper_left (const Box2d< int > &box) |
Returns a read/write reverse iterator2d. It points to the bottom right element of the Box2d associated to the GrayscaleImage. Iteration is done in the reverse order. More... | |
reverse_iterator2d | rbottom_right (const Box2d< int > &box) |
Returns a read/write reverse iterator2d. It points to one before the upper left element of the Box2d box associated to the GrayscaleImage. More... | |
const_reverse_iterator2d | rupper_left (const Box2d< int > &box) const |
Returns a read only reverse iterator2d. It points to the bottom right element of the Box2d box associated to the GrayscaleImage. Iteration is done in the reverse order. More... | |
const_reverse_iterator2d | rbottom_right (const Box2d< int > &box) const |
Returns a read-only reverse iterator2d. It points to one before the element of the bottom right element of the Box2d box associated to the GrayscaleImage. More... | |
reverse_iterator2d_range | rupper_left (const Range< int > &row_range, const Range< int > &col_range) |
Returns a read/write reverse_iterator2d_range that points to the past the bottom right element of the ranges row_range and col_range associated to the GrayscaleImage. Iteration is done in the reverse order. More... | |
reverse_iterator2d_range | rbottom_right (const Range< int > &row_range, const Range< int > &col_range) |
Returns a read/write reverse_iterator2d_range that points to one before the upper left element of the ranges row_range and col_range associated to the GrayscaleImage. Iteration is done in the reverse order. More... | |
const_reverse_iterator2d_range | rupper_left (const Range< int > &row_range, const Range< int > &col_range) const |
Returns a read-only reverse_iterator2d_range that points to the past the bottom right element of the ranges row_range and col_range associated to the GrayscaleImage. Iteration is done in the reverse order. More... | |
const_reverse_iterator2d_range | rbottom_right (const Range< int > &row_range, const Range< int > &col_range) const |
Returns a read-only reverse_iterator2d_range that points to one before the upper left element of the ranges row_range and col_range associated to the GrayscaleImage.Iteration is done in the reverse order. More... | |
reverse_iterator2d_range | rupper_left (const Range< int > &range) |
Returns a read/write reverse_iterator2d_range that points to the bottom right element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols. Iteration is done in the reverse order. More... | |
reverse_iterator2d_range | rbottom_right (const Range< int > &range) |
Returns a read/write reverse_iterator2d_range that points to one before the upper left element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols. Iteration is done in the reverse order. More... | |
const_reverse_iterator2d_range | rupper_left (const Range< int > &range) const |
Returns a read-only reverse_iterator2d_range that points to the to the bottom right element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols. Iteration is done in the reverse order. More... | |
const_reverse_iterator2d_range | rbottom_right (const Range< int > &range) const |
Returns a read_only reverse_iterator2d_range that points to one before the upper left element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols. Iteration is done in the reverse order. More... | |
Assignment operators and methods | |
GrayscaleImage & | operator= (const self &rhs) |
Assign a GrayscaleImage. More... | |
self & | operator= (const T &val) |
Affects all the element of the GrayscaleImage by val. More... | |
void | fill (const T &value) |
Fills the container range [begin(),begin()+size()) with copies of value. More... | |
void | fill (const T *value) |
Fills the container range [begin(),begin()+size()) with a copy of the value array. More... | |
template<typename InputIterator > | |
void | fill (InputIterator first, InputIterator last) |
Fills the container range [begin(),begin()+size()) with a copy of the range [first,last) More... | |
Element access operators | |
pointer | operator[] (const size_type i) |
Subscript access to the row datas contained in the GrayscaleImage. More... | |
const_pointer | operator[] (const size_type i) const |
Subscript access to the row datas contained in the GrayscaleImage. More... | |
reference | operator() (const size_type i, const size_type j) |
Subscript access to the data contained in the GrayscaleImage. More... | |
const_reference | operator() (const size_type i, const size_type j) const |
Subscript access to the data contained in the GrayscaleImage. More... | |
reference | operator() (const Point2d< size_type > &point2d) |
Subscript access to the data contained in the GrayscaleImage. More... | |
const_reference | operator() (const Point2d< size_type > &point2d) const |
Subscript access to the data contained in the GrayscaleImage. More... | |
self | operator() (const Range< int > &row_range, const Range< int > &col_range) |
Subscript access to the data contained in the GrayscaleImage. More... | |
Arithmetic operators | |
self & | operator+= (const T &val) |
Add val to each element of the GrayscaleImage. More... | |
self & | operator-= (const T &val) |
self & | operator*= (const T &val) |
self & | operator/= (const T &val) |
self | operator- () const |
self & | operator+= (const self &rhs) |
self & | operator-= (const self &rhs) |
self & | operator*= (const self &rhs) |
self & | operator/= (const self &rhs) |
Static Public Attributes | |
static const std::size_t | DIM = 2 |
Friends | |
class | boost::serialization::access |
Comparison operators | |
bool | operator== (const GrayscaleImage< T > &x, const GrayscaleImage< T > &y) |
GrayscaleImage equality comparison. More... | |
bool | operator!= (const GrayscaleImage< T > &x, const GrayscaleImage< T > &y) |
GrayscaleImage inequality comparison. More... | |
bool | operator< (const GrayscaleImage< T > &x, const GrayscaleImage< T > &y) |
Less than comparison operator (GrayscaleImage ordering relation) More... | |
bool | operator> (const GrayscaleImage< T > &x, const GrayscaleImage< T > &y) |
More than comparison operator. More... | |
bool | operator<= (const GrayscaleImage< T > &x, const GrayscaleImage< T > &y) |
Less than equal comparison operator. More... | |
bool | operator>= (const GrayscaleImage< T > &x, const GrayscaleImage< T > &y) |
More than equal comparison operator. More... | |
Related Functions | |
(Note that these are not member functions.) | |
template<typename T > | |
T & | min (const GrayscaleImage< T > &M1) |
Returns the min element of a GrayscaleImage. More... | |
template<typename T > | |
T & | max (const GrayscaleImage< T > &M1) |
Returns the max element of a GrayscaleImage. More... | |
i/o operators | |
std::ostream & | operator<< (std::ostream &out, const self &a) |
Write the GrayscaleImage to the ouput stream. More... | |
void | write_ascii (const std::string &file_path_name) const |
Write the GrayscaleImage to an ASCII file. More... | |
void | read_ascii (const std::string &file_path_name) |
Read the GrayscaleImage from an ASCII file. More... | |
This is a grayscaleimage class. This is a two-dimensional dynamic and generic container. This container statisfies the BidirectionnalContainer concepts of the STL. It is also an 2d extension of the RandomAccessContainer concept. That is to say the bracket element access is replaced by the double bracket element access. Data are stored using a Matrix class. It extends the interface of Matrix adding image read/write operations. These operations are done using the ImageMagick library.
T. | Type of object in the GrayscaleImage |
Definition at line 134 of file GrayscaleImage.hpp.
typedef slip::stride_iterator<pointer> slip::GrayscaleImage< T >::col_iterator |
Definition at line 214 of file GrayscaleImage.hpp.
typedef slip::stride_iterator<col_iterator> slip::GrayscaleImage< T >::col_range_iterator |
Definition at line 222 of file GrayscaleImage.hpp.
typedef slip::stride_iterator<const_pointer> slip::GrayscaleImage< T >::const_col_iterator |
Definition at line 215 of file GrayscaleImage.hpp.
typedef slip::stride_iterator<const_col_iterator> slip::GrayscaleImage< T >::const_col_range_iterator |
Definition at line 223 of file GrayscaleImage.hpp.
typedef const_iterator2d slip::GrayscaleImage< T >::const_default_iterator |
Definition at line 243 of file GrayscaleImage.hpp.
typedef const_pointer slip::GrayscaleImage< T >::const_iterator |
Definition at line 206 of file GrayscaleImage.hpp.
typedef slip::Matrix<T>::const_iterator2d slip::GrayscaleImage< T >::const_iterator2d |
Definition at line 219 of file GrayscaleImage.hpp.
typedef slip::Matrix<T>::const_iterator2d_range slip::GrayscaleImage< T >::const_iterator2d_range |
Definition at line 225 of file GrayscaleImage.hpp.
typedef const value_type* slip::GrayscaleImage< T >::const_pointer |
Definition at line 198 of file GrayscaleImage.hpp.
typedef const value_type& slip::GrayscaleImage< T >::const_reference |
Definition at line 200 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<const_col_iterator> slip::GrayscaleImage< T >::const_reverse_col_iterator |
Definition at line 231 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<const_col_range_iterator> slip::GrayscaleImage< T >::const_reverse_col_range_iterator |
Definition at line 237 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<const_iterator> slip::GrayscaleImage< T >::const_reverse_iterator |
Definition at line 209 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<const_iterator2d> slip::GrayscaleImage< T >::const_reverse_iterator2d |
Definition at line 233 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<const_iterator2d_range> slip::GrayscaleImage< T >::const_reverse_iterator2d_range |
Definition at line 239 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<const_iterator> slip::GrayscaleImage< T >::const_reverse_row_iterator |
Definition at line 229 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<const_row_range_iterator> slip::GrayscaleImage< T >::const_reverse_row_range_iterator |
Definition at line 235 of file GrayscaleImage.hpp.
typedef const_pointer slip::GrayscaleImage< T >::const_row_iterator |
Definition at line 213 of file GrayscaleImage.hpp.
typedef slip::stride_iterator<const_pointer> slip::GrayscaleImage< T >::const_row_range_iterator |
Definition at line 221 of file GrayscaleImage.hpp.
typedef const GrayscaleImage<T> slip::GrayscaleImage< T >::const_self |
Definition at line 195 of file GrayscaleImage.hpp.
typedef iterator2d slip::GrayscaleImage< T >::default_iterator |
Definition at line 242 of file GrayscaleImage.hpp.
typedef ptrdiff_t slip::GrayscaleImage< T >::difference_type |
Definition at line 202 of file GrayscaleImage.hpp.
typedef pointer slip::GrayscaleImage< T >::iterator |
Definition at line 205 of file GrayscaleImage.hpp.
typedef slip::Matrix<T>::iterator2d slip::GrayscaleImage< T >::iterator2d |
Definition at line 218 of file GrayscaleImage.hpp.
typedef slip::Matrix<T>::iterator2d_range slip::GrayscaleImage< T >::iterator2d_range |
Definition at line 224 of file GrayscaleImage.hpp.
typedef value_type* slip::GrayscaleImage< T >::pointer |
Definition at line 197 of file GrayscaleImage.hpp.
typedef value_type& slip::GrayscaleImage< T >::reference |
Definition at line 199 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<col_iterator> slip::GrayscaleImage< T >::reverse_col_iterator |
Definition at line 230 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<col_range_iterator> slip::GrayscaleImage< T >::reverse_col_range_iterator |
Definition at line 236 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<iterator> slip::GrayscaleImage< T >::reverse_iterator |
Definition at line 208 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<iterator2d> slip::GrayscaleImage< T >::reverse_iterator2d |
Definition at line 232 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<iterator2d_range> slip::GrayscaleImage< T >::reverse_iterator2d_range |
Definition at line 238 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<iterator> slip::GrayscaleImage< T >::reverse_row_iterator |
Definition at line 228 of file GrayscaleImage.hpp.
typedef std::reverse_iterator<row_range_iterator> slip::GrayscaleImage< T >::reverse_row_range_iterator |
Definition at line 234 of file GrayscaleImage.hpp.
typedef pointer slip::GrayscaleImage< T >::row_iterator |
Definition at line 212 of file GrayscaleImage.hpp.
typedef slip::stride_iterator<pointer> slip::GrayscaleImage< T >::row_range_iterator |
Definition at line 220 of file GrayscaleImage.hpp.
typedef GrayscaleImage<T> slip::GrayscaleImage< T >::self |
Definition at line 194 of file GrayscaleImage.hpp.
typedef std::size_t slip::GrayscaleImage< T >::size_type |
Definition at line 203 of file GrayscaleImage.hpp.
typedef T slip::GrayscaleImage< T >::value_type |
Definition at line 193 of file GrayscaleImage.hpp.
|
inline |
Constructs a GrayscaleImage.
Definition at line 2506 of file GrayscaleImage.hpp.
slip::GrayscaleImage< T >::GrayscaleImage | ( | const size_type | height, |
const size_type | width | ||
) |
Constructs a GrayscaleImage.
height | first dimension of the GrayscaleImage |
width | second dimension of the GrayscaleImage |
slip::GrayscaleImage< T >::GrayscaleImage | ( | const size_type | height, |
const size_type | width, | ||
const T & | val | ||
) |
Constructs a GrayscaleImage initialized by the scalar value val.
height | first dimension of the GrayscaleImage |
width | second dimension of the GrayscaleImage |
val | initialization value of the elements |
slip::GrayscaleImage< T >::GrayscaleImage | ( | const size_type | height, |
const size_type | width, | ||
const T * | val | ||
) |
Constructs a GrayscaleImage initialized by an array val.
height | first dimension of the GrayscaleImage |
width | second dimension of the GrayscaleImage |
val | initialization array value of the elements |
|
inline |
Contructs a GrayscaleImage from a range.
height | first dimension of the GrayscaleImage |
width | second dimension of the GrayscaleImage |
first | An input iterator. |
last | An input iterator. |
Create a GrayscaleImage consisting of copies of the elements from [first,last).
Definition at line 298 of file GrayscaleImage.hpp.
|
inline |
Constructs a copy of the GrayscaleImage rhs.
Definition at line 2535 of file GrayscaleImage.hpp.
|
inline |
Destructor of the GrayscaleImage.
Definition at line 2541 of file GrayscaleImage.hpp.
|
inline |
Definition at line 2512 of file GrayscaleImage.hpp.
|
inline |
Definition at line 2519 of file GrayscaleImage.hpp.
|
inline |
Definition at line 2527 of file GrayscaleImage.hpp.
|
inline |
Applys the one-parameter C-function fun to each element of the GrayscaleImage.
fun | The one-parameter C function |
Definition at line 3554 of file GrayscaleImage.hpp.
|
inline |
Applys the one-parameter C-function fun to each element of the GrayscaleImage.
fun | The one-const-parameter C function |
Definition at line 3562 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write iterator that points to the first element in the GrayscaleImage. Iteration is done in ordinary element order.
Definition at line 2577 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only (constant) iterator that points to the first element in the GrayscaleImage. Iteration is done in ordinary element order.
Definition at line 2591 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write iterator2d that points to the past the end element of the GrayscaleImage. It points to past the end element of the bottom right element of the GrayscaleImage.
Definition at line 2946 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only iterator2d that points to the past the end element of the GrayscaleImage. It points to past the end element of the bottom right element of the GrayscaleImage.
Definition at line 2953 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write iterator2d that points to the past the end element of the GrayscaleImage. It points to past the end element of the bottom right element of the Box2d associated to the GrayscaleImage.
box | a Box2d defining the range of indices to iterate within the GrayscaleImage. |
Definition at line 2979 of file GrayscaleImage.hpp.
|
inline |
Returns a read only iterator2d that points to the past the end element of the GrayscaleImage. It points to past the end element of the bottom right element of the Box2d associated to the GrayscaleImage.
box | a Box2d defining the range of indices to iterate within the GrayscaleImage. |
Definition at line 2986 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write iterator2d_range that points to the past the end bottom right element of the ranges row_range and col_range associated to the GrayscaleImage.
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 3014 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only iterator2d_range that points to the past the end bottom right element of the ranges row_range and col_range associated to the GrayscaleImage.
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 3023 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write iterator2d_range that points to the past the end bottom right element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols.
range | The range of the rows and the cols. |
Definition at line 3050 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only const_iterator2d_range that points to the past the end bottom right element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols.
range | The range of the rows and the cols. |
Definition at line 3058 of file GrayscaleImage.hpp.
col_iterator slip::GrayscaleImage< T >::col_begin | ( | const size_type | col | ) |
Returns a read/write iterator that points to the first element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns.
col | The index of the column to iterate. |
const_col_iterator slip::GrayscaleImage< T >::col_begin | ( | const size_type | col | ) | const |
Returns a read-only iterator that points to the first element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns.
col | The index of the column to iterate. |
col_range_iterator slip::GrayscaleImage< T >::col_begin | ( | const size_type | col, |
const slip::Range< int > & | range | ||
) |
Returns a read-write iterator that points to the first element of the Range range of the col col in the GrayscaleImage. Iteration is done in ordinary element order according to the Range.
col | The index of the column to iterate. |
range | Range of the column to iterate |
const_col_range_iterator slip::GrayscaleImage< T >::col_begin | ( | const size_type | col, |
const slip::Range< int > & | range | ||
) | const |
Returns a read-only iterator that points to the first element of the Range range of the col col in the GrayscaleImage. Iteration is done in ordinary element order according to the Range.
col | The index of the column to iterate. |
range | Range of the column to iterate. |
col_iterator slip::GrayscaleImage< T >::col_end | ( | const size_type | col | ) |
Returns a read/write iterator that points one past the end element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns.
col | The index of the column to iterate. |
const_col_iterator slip::GrayscaleImage< T >::col_end | ( | const size_type | col | ) | const |
Returns a read-only iterator that points one past the end element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns.
col | The index of the column |
col_range_iterator slip::GrayscaleImage< T >::col_end | ( | const size_type | col, |
const slip::Range< int > & | range | ||
) |
Returns a read-write iterator that points to the past the end element of the Range range of the col col in the GrayscaleImage. Iteration is done in ordinary element order according to the Range.
col | The index of the column to iterate. |
range | Range of the column to iterate. |
const_col_range_iterator slip::GrayscaleImage< T >::col_end | ( | const size_type | col, |
const slip::Range< int > & | range | ||
) | const |
Returns a read-only iterator that points to the past the end element of the Range range of the col col in the GrayscaleImage. Iteration is done in ordinary element order according to the Range.
col | The index of the column to iterate. |
range | Range of the column to iterate |
reverse_col_iterator slip::GrayscaleImage< T >::col_rbegin | ( | const size_type | col | ) |
Returns a read/write reverse iterator that points to the last element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns and in the reverse element order.
col | The index of the column to iterate. |
const_reverse_col_iterator slip::GrayscaleImage< T >::col_rbegin | ( | const size_type | col | ) | const |
Returns a read-only reverse iterator that points to the last element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns and in the reverse element order.
col | The index of the column to iterate. |
reverse_col_range_iterator slip::GrayscaleImage< T >::col_rbegin | ( | const size_type | col, |
const slip::Range< int > & | range | ||
) |
Returns a read-write iterator that points to the last element of the Range range of the col col in the GrayscaleImage. Iteration is done in the reverse element order according to the Range.
col | The index of the column to iterate. |
range | Range of the column to iterate. |
const_reverse_col_range_iterator slip::GrayscaleImage< T >::col_rbegin | ( | const size_type | col, |
const slip::Range< int > & | range | ||
) | const |
Returns a read_only iterator that points to the last element of the Range & range of the col col in the GrayscaleImage. Iteration is done in the reverse element order according to the Range.
col | The index of the column to iterate. |
range | Range of the column to iterate. |
reverse_col_iterator slip::GrayscaleImage< T >::col_rend | ( | const size_type | col | ) |
Returns a read/write reverse iterator that points one past the first element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns and in the reverse element order.
col | The index of the column to iterate. |
const_reverse_col_iterator slip::GrayscaleImage< T >::col_rend | ( | const size_type | col | ) | const |
Returns a read-only reverse iterator that points one past the first element of the column column in the GrayscaleImage. Iteration is done modulo the number of columns and in the reverse element order.
col | The index of the column to iterate. |
reverse_col_range_iterator slip::GrayscaleImage< T >::col_rend | ( | const size_type | col, |
const slip::Range< int > & | range | ||
) |
Returns a read-write iterator that points to one before the first element of the Range range of the col col in the GrayscaleImage. Iteration is done in the reverse element order according to the Range.
col | The index of the column to iterate. |
range | Range of the column to iterate. |
const_reverse_col_range_iterator slip::GrayscaleImage< T >::col_rend | ( | const size_type | col, |
const slip::Range< int > & | range | ||
) | const |
Returns a read-only iterator that points to the first element of the Range range of the col col in the GrayscaleImage. Iteration is done in the reverse element order according to the Range.
col | The index of the column to iterate. |
range | Range of the column to iterate. |
|
inline |
Returns the number of columns (second dimension size) in the GrayscaleImage.
Definition at line 3430 of file GrayscaleImage.hpp.
|
inline |
Returns the number of columns (second dimension size) in the GrayscaleImage.
Definition at line 3425 of file GrayscaleImage.hpp.
|
inline |
Returns the number of rows (first dimension size) in the GrayscaleImage.
Definition at line 3400 of file GrayscaleImage.hpp.
|
inline |
Returns the number of columns (second dimension size) in the GrayscaleImage.
Definition at line 3415 of file GrayscaleImage.hpp.
|
inline |
Returns true if the GrayscaleImage is empty. (Thus size() == 0)
Definition at line 3448 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write iterator that points one past the last element in the GrayscaleImage. Iteration is done in ordinary element order.
Definition at line 2584 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only (constant) iterator that points one past the last element in the GrayscaleImage. Iteration is done in ordinary element order.
Definition at line 2599 of file GrayscaleImage.hpp.
|
inline |
Fills the container range [begin(),begin()+size()) with copies of value.
value | A reference-to-const of arbitrary type. |
Definition at line 1957 of file GrayscaleImage.hpp.
|
inline |
Fills the container range [begin(),begin()+size()) with a copy of the value array.
value | A pointer of arbitrary type. |
Definition at line 1968 of file GrayscaleImage.hpp.
|
inline |
Fills the container range [begin(),begin()+size()) with a copy of the range [first,last)
first | An input iterator. |
last | An input iterator. |
Definition at line 1982 of file GrayscaleImage.hpp.
|
inline |
Returns the height (first dimension size) in the GrayscaleImage.
Definition at line 3405 of file GrayscaleImage.hpp.
|
inline |
Returns the max element of the GrayscaleImage according to the operator <.
Definition at line 3540 of file GrayscaleImage.hpp.
|
inline |
Returns the maximal size (number of elements) in the GrayscaleImage.
Definition at line 3440 of file GrayscaleImage.hpp.
|
inline |
Returns the min element of the GrayscaleImage according to the operator <.
Definition at line 3533 of file GrayscaleImage.hpp.
|
inline |
Returns the name of the class.
Definition at line 3395 of file GrayscaleImage.hpp.
reference slip::GrayscaleImage< T >::operator() | ( | const size_type | i, |
const size_type | j | ||
) |
Subscript access to the data contained in the GrayscaleImage.
i | The index of the row for which the data should be accessed. |
j | The index of the columns for which the data should be accessed. |
This operator allows for easy, 2d array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
const_reference slip::GrayscaleImage< T >::operator() | ( | const size_type | i, |
const size_type | j | ||
) | const |
Subscript access to the data contained in the GrayscaleImage.
i | The index of the row for which the data should be accessed. |
j | The index of the columns for which the data should be accessed. |
This operator allows for easy, 2d array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
reference slip::GrayscaleImage< T >::operator() | ( | const Point2d< size_type > & | point2d | ) |
Subscript access to the data contained in the GrayscaleImage.
point2d | A Point2d which indicate the subscripts of the data to access. |
This operator allows for easy, 2d array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
const_reference slip::GrayscaleImage< T >::operator() | ( | const Point2d< size_type > & | point2d | ) | const |
Subscript access to the data contained in the GrayscaleImage.
point2d | A Point2d which indicate the subscripts of the data to access. |
This operator allows for easy, 2d array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
|
inline |
Subscript access to the data contained in the GrayscaleImage.
row_range | The range of the rows. |
col_range | The range of the columns. |
This operator allows for easy, 2d array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
Definition at line 3375 of file GrayscaleImage.hpp.
|
inline |
Definition at line 3476 of file GrayscaleImage.hpp.
|
inline |
Definition at line 3516 of file GrayscaleImage.hpp.
|
inline |
Add val to each element of the GrayscaleImage.
val | value |
Definition at line 3459 of file GrayscaleImage.hpp.
|
inline |
Definition at line 3500 of file GrayscaleImage.hpp.
|
inline |
Definition at line 3492 of file GrayscaleImage.hpp.
|
inline |
Definition at line 3467 of file GrayscaleImage.hpp.
|
inline |
Definition at line 3508 of file GrayscaleImage.hpp.
|
inline |
Definition at line 3484 of file GrayscaleImage.hpp.
|
inline |
Definition at line 3524 of file GrayscaleImage.hpp.
|
inline |
Assign a GrayscaleImage.
Assign elements of GrayscaleImage in rhs
rhs | GrayscaleImage to get the values from. |
Definition at line 2548 of file GrayscaleImage.hpp.
|
inline |
Affects all the element of the GrayscaleImage by val.
val | affectation value |
Definition at line 2559 of file GrayscaleImage.hpp.
pointer slip::GrayscaleImage< T >::operator[] | ( | const size_type | i | ) |
Subscript access to the row datas contained in the GrayscaleImage.
i | The index of the row for which data should be accessed. |
This operator allows for easy, 2d array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
const_pointer slip::GrayscaleImage< T >::operator[] | ( | const size_type | i | ) | const |
Subscript access to the row datas contained in the GrayscaleImage.
i | The index of the row for which data should be accessed. |
This operator allows for easy, 2d array-style, data access. Note that data access with this operator is unchecked and out_of_range lookups are not defined.
|
inline |
Returns a read/write reverse iterator that points to the last element in the GrayscaleImage. Iteration is done in reverse element order.
Definition at line 2608 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only (constant) reverse iterator that points to the last element in the GrayscaleImage. Iteration is done in reverse element order.
Definition at line 2623 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write reverse iterator2d. It points to past the upper left element of the GrayscaleImage. Iteration is done in the reverse order.
Definition at line 3068 of file GrayscaleImage.hpp.
|
inline |
Returns a read only reverse iterator2d. It points to past the upper left element of the GrayscaleImage. Iteration is done in the reverse order.
Definition at line 3076 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write reverse iterator2d. It points to one before the upper left element of the Box2d box associated to the GrayscaleImage.
box | A Box2d defining the range of indices to iterate within the GrayscaleImage. |
Definition at line 3102 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only reverse iterator2d. It points to one before the element of the bottom right element of the Box2d box associated to the GrayscaleImage.
box | A Box2d defining the range of indices to iterate within the GrayscaleImage. |
Definition at line 3110 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write reverse_iterator2d_range that points to one before the upper left element of the ranges row_range and col_range associated to the GrayscaleImage. Iteration is done in the reverse order.
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 3155 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only reverse_iterator2d_range that points to one before the upper left element of the ranges row_range and col_range associated to the GrayscaleImage.Iteration is done in the reverse order.
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 3164 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write reverse_iterator2d_range that points to one before the upper left element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols. Iteration is done in the reverse order.
range | The range of the rows and the cols. |
Definition at line 3190 of file GrayscaleImage.hpp.
|
inline |
Returns a read_only reverse_iterator2d_range that points to one before the upper left element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols. Iteration is done in the reverse order.
range | The range of the rows and the cols. |
Definition at line 3198 of file GrayscaleImage.hpp.
|
inline |
Read the GrayscaleImage from an ASCII file.
file_path_name |
Definition at line 1922 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write reverse iterator that points to one before the first element in the GrayscaleImage. Iteration is done in reverse element order.
Definition at line 2615 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only (constant) reverse iterator that points to one before the first element in the GrayscaleImage. Iteration is done in reverse element order.
Definition at line 2631 of file GrayscaleImage.hpp.
|
inline |
Resizes a GrayscaleImage.
height | new first dimension |
width | new second dimension |
val | new value for all the elements |
Definition at line 2567 of file GrayscaleImage.hpp.
row_iterator slip::GrayscaleImage< T >::row_begin | ( | const size_type | row | ) |
Returns a read/write iterator that points to the first element of the row row in the GrayscaleImage. Iteration is done in ordinary element order.
row | The index of the row to iterate. |
const_row_iterator slip::GrayscaleImage< T >::row_begin | ( | const size_type | row | ) | const |
Returns a read-only iterator that points to the first element of the row row in the GrayscaleImage. Iteration is done in ordinary element order.
row | The index of the row to iterate. |
row_range_iterator slip::GrayscaleImage< T >::row_begin | ( | const size_type | row, |
const slip::Range< int > & | range | ||
) |
Returns a read/write iterator that points to the first element of the Range range of the row row in the GrayscaleImage. Iteration is done in ordinary element order according to the Range.
row | The index of the row to iterate. |
range | Range of the row to iterate. |
const_row_range_iterator slip::GrayscaleImage< T >::row_begin | ( | const size_type | row, |
const slip::Range< int > & | range | ||
) | const |
Returns a read-only iterator that points to the first element of the Range range of the row row in the GrayscaleImage. Iteration is done in ordinary element order according to the Range.
row | The index of the row to iterate. |
range | Range of the row to iterate. |
row_iterator slip::GrayscaleImage< T >::row_end | ( | const size_type | row | ) |
Returns a read/write iterator that points one past the end element of the row row in the GrayscaleImage. Iteration is done in ordinary element order.
row | The index of the row to iterate. |
const_row_iterator slip::GrayscaleImage< T >::row_end | ( | const size_type | row | ) | const |
Returns a read-only iterator that points one past the end element of the row row in the GrayscaleImage. Iteration is done in ordinary element order.
row | The index of the row to iterate. |
row_range_iterator slip::GrayscaleImage< T >::row_end | ( | const size_type | row, |
const slip::Range< int > & | range | ||
) |
Returns a read/write iterator that points one past the end element of the Range range of the row row in the GrayscaleImage. Iteration is done in ordinary element order according to the Range.
row | The index of the row to iterate. |
range | Range of the row to iterate. |
const_row_range_iterator slip::GrayscaleImage< T >::row_end | ( | const size_type | row, |
const slip::Range< int > & | range | ||
) | const |
Returns a read_only iterator that points one past the last element of the Range range of the row row in the GrayscaleImage. Iteration is done in ordinary element order according to the Range.
row | Row to iterate. |
range | Range of the row to iterate |
reverse_row_iterator slip::GrayscaleImage< T >::row_rbegin | ( | const size_type | row | ) |
Returns a read/write reverse iterator that points to the last element of the row row in the GrayscaleImage. Iteration is done in the reverse element order.
row | The index of the row to iterate. |
const_reverse_row_iterator slip::GrayscaleImage< T >::row_rbegin | ( | const size_type | row | ) | const |
Returns a read-only reverse iterator that points to the last element of the row row in the GrayscaleImage. Iteration is done in the reverse element order.
row | The index of the row to iterate. |
reverse_row_range_iterator slip::GrayscaleImage< T >::row_rbegin | ( | const size_type | row, |
const slip::Range< int > & | range | ||
) |
Returns a read-write iterator that points to the last element of the Range range of the row row in the GrayscaleImage. Iteration is done in the reverse element order according to the Range.
row | The index of the row to iterate. |
range | Range of the row to iterate. |
const_reverse_row_range_iterator slip::GrayscaleImage< T >::row_rbegin | ( | const size_type | row, |
const slip::Range< int > & | range | ||
) | const |
Returns a read-only iterator that points to the last element of the Range range of the row row in the GrayscaleImage. Iteration is done in the reverse element order according to the Range.
row | The index of the row to iterate. |
range | Range of the row to iterate |
reverse_row_iterator slip::GrayscaleImage< T >::row_rend | ( | const size_type | row | ) |
Returns a read/write reverse iterator that points one past the first element of the row row in the GrayscaleImage. Iteration is done in the reverse element order.
row | The index of the row to iterate. |
const_reverse_row_iterator slip::GrayscaleImage< T >::row_rend | ( | const size_type | row | ) | const |
Returns a read-only reverse iterator that points one past the first element of the row row in the GrayscaleImage. Iteration is done in the reverse element order.
row | The index of the row to iterate. |
reverse_row_range_iterator slip::GrayscaleImage< T >::row_rend | ( | const size_type | row, |
const slip::Range< int > & | range | ||
) |
Returns a read-write iterator that points one before the first element of the Range range of the row row in the GrayscaleImage. Iteration is done in the reverse element order according to the Range.
row | The index of the row to iterate. |
range | Range of the row to iterate. |
const_reverse_row_range_iterator slip::GrayscaleImage< T >::row_rend | ( | const size_type | row, |
const slip::Range< int > & | range | ||
) | const |
Returns a read-only iterator that points one before the first element of the Range range of the row row in the GrayscaleImage. Iteration is done in the reverse element order according to the Range.
row | The index of the row to iterate. |
range | Range of the row to iterate |
|
inline |
Returns the number of rows (first dimension size) in the GrayscaleImage.
Definition at line 3410 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write reverse iterator2d. It points to the bottom right element of the GrayscaleImage. Iteration is done within the GrayscaleImage in the reverse order.
Definition at line 3085 of file GrayscaleImage.hpp.
|
inline |
Returns a read only reverse iterator2d that points. It points to the bottom right element of the GrayscaleImage. Iteration is done within the GrayscaleImage in the reverse order.
Definition at line 3093 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write reverse iterator2d. It points to the bottom right element of the Box2d associated to the GrayscaleImage. Iteration is done in the reverse order.
box | a Box2d defining the range of indices to iterate within the GrayscaleImage. |
Definition at line 3119 of file GrayscaleImage.hpp.
|
inline |
Returns a read only reverse iterator2d. It points to the bottom right element of the Box2d box associated to the GrayscaleImage. Iteration is done in the reverse order.
box | A Box2d defining the range of indices to iterate within the GrayscaleImage. |
Definition at line 3127 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write reverse_iterator2d_range that points to the past the bottom right element of the ranges row_range and col_range associated to the GrayscaleImage. Iteration is done in the reverse order.
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 3136 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only reverse_iterator2d_range that points to the past the bottom right element of the ranges row_range and col_range associated to the GrayscaleImage. Iteration is done in the reverse order.
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 3145 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write reverse_iterator2d_range that points to the bottom right element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols. Iteration is done in the reverse order.
range | The range of the rows and the cols. |
Definition at line 3174 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only reverse_iterator2d_range that points to the to the bottom right element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols. Iteration is done in the reverse order.
range | The range of the rows and the cols. |
Definition at line 3182 of file GrayscaleImage.hpp.
|
inline |
Returns the number of elements in the GrayscaleImage.
Definition at line 3435 of file GrayscaleImage.hpp.
|
inline |
Returns the sum of the elements of the GrayscaleImage.
Definition at line 3547 of file GrayscaleImage.hpp.
|
inline |
Swaps data with another GrayscaleImage.
M | A GrayscaleImage of the same element type |
Definition at line 3452 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write iterator2d that points to the first element of the GrayscaleImage. It points to the upper left element of the GrayscaleImage.
Definition at line 2931 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only iterator2d that points to the first element of the GrayscaleImage. It points to the upper left element of the GrayscaleImage.
Definition at line 2938 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write iterator2d that points to the first element of the GrayscaleImage. It points to the upper left element of the Box2d associated to the GrayscaleImage.
box | A Box2d defining the range of indices to iterate within the GrayscaleImage. |
Definition at line 2962 of file GrayscaleImage.hpp.
|
inline |
Returns a read only iterator2d that points to the first element of the GrayscaleImage. It points to the upper left element of the Box2d associated to the GrayscaleImage.
box | a Box2d defining the range of indices to iterate within the GrayscaleImage. |
Definition at line 2970 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write iterator2d_range that points to the upper left element of the ranges row_range and col_range associated to the GrayscaleImage.
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 2995 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only iterator2d_range that points to the to the upper left element of the ranges row_range and col_range associated to the GrayscaleImage.
row_range | The range of the rows. |
col_range | The range of the columns. |
Definition at line 3004 of file GrayscaleImage.hpp.
|
inline |
Returns a read/write iterator2d_range that points to the upper left element of the Range range associated to the GrayscaleImage. The same range is applied for rows and cols.
range | The range of the rows and the cols. |
Definition at line 3033 of file GrayscaleImage.hpp.
|
inline |
Returns a read-only iterator2d_range that points to the to the upper left element of the Range range associated to the GrayscaleImage.
range | The range of the rows and the cols. |
Definition at line 3041 of file GrayscaleImage.hpp.
|
inline |
Returns the number of columns (second dimension size) in the GrayscaleImage.
Definition at line 3420 of file GrayscaleImage.hpp.
|
inline |
Write the GrayscaleImage to an ASCII file.
file_path_name |
Definition at line 1912 of file GrayscaleImage.hpp.
|
inline |
Definition at line 3260 of file GrayscaleImage.hpp.
|
friend |
Definition at line 2323 of file GrayscaleImage.hpp.
|
related |
Returns the max element of a GrayscaleImage.
M1 | the GrayscaleImage |
Definition at line 3704 of file GrayscaleImage.hpp.
|
related |
Returns the min element of a GrayscaleImage.
M1 | the GrayscaleImage |
Definition at line 3693 of file GrayscaleImage.hpp.
|
friend |
GrayscaleImage inequality comparison.
x | A GrayscaleImage |
y | A GrayscaleImage of the same type of x |
Definition at line 3722 of file GrayscaleImage.hpp.
|
friend |
Less than comparison operator (GrayscaleImage ordering relation)
x | A GrayscaleImage |
y | A GrayscaleImage of the same type of x |
Definition at line 3733 of file GrayscaleImage.hpp.
|
friend |
Write the GrayscaleImage to the ouput stream.
out | output stream |
a | GrayscaleImage to write to the output stream |
Definition at line 3205 of file GrayscaleImage.hpp.
|
friend |
Less than equal comparison operator.
x | A GrayscaleImage |
y | A GrayscaleImage of the same type of x |
Definition at line 3752 of file GrayscaleImage.hpp.
|
friend |
GrayscaleImage equality comparison.
x | A GrayscaleImage |
y | A GrayscaleImage of the same type of x |
Definition at line 3713 of file GrayscaleImage.hpp.
|
friend |
More than comparison operator.
x | A GrayscaleImage |
y | A GrayscaleImage of the same type of x |
Definition at line 3743 of file GrayscaleImage.hpp.
|
friend |
More than equal comparison operator.
x | A GrayscaleImage |
y | A GrayscaleImage of the same type of x |
Definition at line 3761 of file GrayscaleImage.hpp.
|
static |
Definition at line 245 of file GrayscaleImage.hpp.