KJB
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Typedefs | Functions
i_image.h File Reference

Code for a wrapper class around the C struct KJB_Image. More...

#include "i/i_matrix.h"
#include "i/i_float.h"
#include "i/i_float_io.h"
#include "i/i_transform.h"
#include "i/i_arithmetic.h"
#include "i/i_draw.h"
#include "i2/i2_draw_text.h"
#include "m_cpp/m_vector.h"
#include "m_cpp/m_matrix.h"
#include <boost/shared_ptr.hpp>
#include <string>
#include <exception>
#include <stdexcept>

Go to the source code of this file.

Classes

class  kjb::Image
 Wrapped version of the C struct KJB_image. More...
 

Namespaces

 kjb
 Classes and functions for dealing with trajectory files.
 

Typedefs

typedef boost::shared_ptr< Image > kjb::Image_ptr
 

Functions

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...
 

Detailed Description

Code for a wrapper class around the C struct KJB_Image.

Author
Kyle Simek
Andrew Predoehl