|
| GrayLevelImage2D (int w, int h, GrayLevel g=0) |
|
void | fill (GrayLevel g) |
|
int | w () const |
|
int | h () const |
|
GrayLevel | at (int i, int j) const |
|
GrayLevel & | at (int i, int j) |
|
Iterator | begin () |
| [gli2d-sec3]
|
|
Iterator | end () |
|
Iterator | start (int x, int y) |
|
std::pair< int, int > | position (Iterator it) const |
|
bool | importPGM (std::istream &input) |
|
bool | exportPGM (std::ostream &output, bool ascii=true) |
|
Definition at line 9 of file GrayLevelImage2D.hpp.
◆ Container
typedef std::vector<GrayLevel> GrayLevelImage2D::Container |
◆ GrayLevel
typedef unsigned char GrayLevelImage2D::GrayLevel |
◆ at() [1/2]
GrayLevel & GrayLevelImage2D::at |
( |
int |
i, |
|
|
int |
j |
|
) |
| |
Accesseur read-write à la valeur d'un pixel.
- Returns
- une référence à la valeur du pixel(i,j)
◆ at() [2/2]
GrayLevel GrayLevelImage2D::at |
( |
int |
i, |
|
|
int |
j |
|
) |
| const |
Accesseur read-only à la valeur d'un pixel.
- Returns
- la valeur du pixel(i,j)
◆ h()
int GrayLevelImage2D::h |
( |
| ) |
const |
- Returns
- la hauteur de l'image.
◆ w()
int GrayLevelImage2D::w |
( |
| ) |
const |
[gli2d-sec3]
- Returns
- la largeur de l'image.
The documentation for this class was generated from the following file: