|
Image | kjb::scale_image (const Image &i, double factor) |
| Scale image size by factor, i.e., enlarge or shrink. More...
|
|
Image | kjb::get_inverted (const Image &) |
|
Image | kjb::rgb_matrices_to_image (const Matrix &red_channel, const Matrix &green_channel, const Matrix &blue_channel) |
| Contruct an image from three matrices representing red, green, blue channels. More...
|
|
Matrix | kjb::to_grayscale_matrix (const Image &i) |
|
Image | kjb::operator* (const Image &op1, double op2) |
| Scale an image in channel space, yielding a new image. More...
|
|
Image | kjb::operator/ (const Image &op1, double op2) |
| Scale an image in channel space, yielding a new image. More...
|
|
Image | kjb::operator+ (const Image &op1, const Image &op2) |
| Add two images. More...
|
|
Image | kjb::operator- (const Image &im1, const Image &im2) |
| Subtract two images. More...
|
|
void | kjb::enable_transparency (Image &i) |
| set Image flag, to indicate that the 'alpha' channel is meaningful. More...
|
|
void | kjb::disable_transparency (Image &i) |
| clear Image flag, to indicate that the 'alpha' channel is not meaningful. More...
|
|
bool | kjb::is_transparency_enabled (const Image &i) |
| test the Image flag, returning true if the 'alpha' channel is meaningful. More...
|
|
Code for a wrapper class around the C struct KJB_Image.
- Author
- Kyle Simek
-
Andrew Predoehl