|
gKit3
|
Files | |
| file | color.h |
| file | image.h |
Classes | |
| struct | Color |
| representation d'une couleur (rgba) transparente ou opaque. More... | |
| class | Image |
| representation d'une image. More... | |
Functions | |
| Color | Black () |
| utilitaire. renvoie une couleur noire. | |
| Color | White () |
| utilitaire. renvoie une couleur blanche. | |
| Color | Red () |
| utilitaire. renvoie une couleur rouge. | |
| Color | Green () |
| utilitaire. renvoie une couleur verte. | |
| Color | Blue () |
| utilitaire. renvoie une couleur bleue. | |
| Color | Yellow () |
| utilitaire. renvoie une couleur jaune. | |
| Color | operator+ (const Color &a, const Color &b) |
| Color | operator- (const Color &a, const Color &b) |
| Color | operator- (const Color &c) |
| Color | operator* (const Color &a, const Color &b) |
| Color | operator* (const Color &c, const float k) |
| Color | operator* (const float k, const Color &c) |
| Color | operator/ (const Color &a, const Color &b) |
| Color | operator/ (const float k, const Color &c) |
| Color | operator/ (const Color &c, const float k) |
| Color | operator+ (const float k, const Color &c) |
| Color | operator+ (const Color &c, const float k) |
| Color | srgb (const Color &color, const float g=float(2.2)) |
| transformation couleur : rgb lineaire vers srgb | |
| Color | linear (const Color &color, const float g=float(2.2)) |
| transformation couleur : srgb vers rgb lineaire | |
| Color | abs (const Color &color) |
| Image | read_image (const char *filename, const bool flipY=true) |
| charge une image .bmp .tga .jpeg .png ou .hdr | |
| bool | write_image (const Image &image, const char *filename, const bool flipY=true) |
| enregistre une image au format .png | |
| bool | write_image_png (const Image &image, const char *filename, const bool flipY=true) |
| enregistre une image au format .png | |
| bool | write_image_bmp (const Image &image, const char *filename, const bool flipY=true) |
| enregistre une image au format .bmp | |
| bool | write_image_hdr (const Image &image, const char *filename, const bool flipY=true) |
| enregistre une image au format .hdr | |
| bool | write_image_preview (const Image &image, const char *filename, const bool flipY=true) |
| raccourci pour write_image_png(tone(image, range(image)), "image.png") | |
| Image | srgb (const Image &image) |
| transformation couleur : rgb lineaire vers srgb | |
| Image | linear (const Image &image) |
| transformation couleur : srgb vers rgb lineaire | |
| float | range (const Image &image) |
| evalue l'exposition d'une image. | |
| Image | tone (const Image &image, const float saturation) |
| correction de l'exposition d'une image + transformation gamma. | |
| Color Black | ( | ) |
| Color White | ( | ) |
| Color Red | ( | ) |
| Color Green | ( | ) |
| Color Blue | ( | ) |
| Color Yellow | ( | ) |
| Image read_image | ( | const char * | filename, |
| const bool | flipY = true |
||
| ) |
charge une image .bmp .tga .jpeg .png ou .hdr
Definition at line 94 of file image_io.cpp.
| bool write_image | ( | const Image & | image, |
| const char * | filename, | ||
| const bool | flipY = true |
||
| ) |
enregistre une image au format .png
Definition at line 143 of file image_io.cpp.
| bool write_image_png | ( | const Image & | image, |
| const char * | filename, | ||
| const bool | flipY = true |
||
| ) |
enregistre une image au format .png
Definition at line 124 of file image_io.cpp.
| bool write_image_bmp | ( | const Image & | image, |
| const char * | filename, | ||
| const bool | flipY = true |
||
| ) |
enregistre une image au format .bmp
Definition at line 148 of file image_io.cpp.
| bool write_image_hdr | ( | const Image & | image, |
| const char * | filename, | ||
| const bool | flipY = true |
||
| ) |
enregistre une image au format .hdr
Definition at line 167 of file image_io.cpp.
| bool write_image_preview | ( | const Image & | image, |
| const char * | filename, | ||
| const bool | flipY = true |
||
| ) |
raccourci pour write_image_png(tone(image, range(image)), "image.png")
Definition at line 176 of file image_io.cpp.
transformation couleur : rgb lineaire vers srgb
Definition at line 14 of file image_io.cpp.
transformation couleur : srgb vers rgb lineaire
Definition at line 24 of file image_io.cpp.
| float range | ( | const Image & | image | ) |
evalue l'exposition d'une image.
Definition at line 34 of file image_io.cpp.
correction de l'exposition d'une image + transformation gamma.
Definition at line 72 of file image_io.cpp.