Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

CCodecImage Class Reference

#include <CodecImage.h>

Inheritance diagram for CCodecImage:

CCodecImageSubband List of all members.

Public Member Functions

Protected Member Functions

Static Protected Member Functions

Protected Attributes


Detailed Description

This class is a 16 bit representation of an image. It can be used to do various operations on images, like addition, subtraction.


Constructor & Destructor Documentation

CCodecImage::CCodecImage  ) 
 

CCodecImage::CCodecImage const CCodecImage src  ) 
 

Copy constructor.

CCodecImage::CCodecImage int  width,
int  height
 

CCodecImage::~CCodecImage  )  [virtual]
 


Member Function Documentation

CCodecImage CCodecImage::copy  )  const [protected]
 

Create deep copy.

void CCodecImage::detach  )  [protected, virtual]
 

int CCodecImage::Height  )  const
 

void CCodecImage::Load int  width,
int  height,
const unsigned char *  src
 

CCodecImage CCodecImage::operator- const CCodecImage sub  )  const
 

Subtract two images from each other.

Parameters:
sub The image that will be subtract from this
Returns:
The subtraced CCodecImage
Remarks:
The size of the two images must be the same
This function will subtract the pixel values from the sub image from this image; neither of the two images are modified. The pixels are subtracted one by one; the result is not clipped.

CCodecImage & CCodecImage::operator-= const CCodecImage sub  ) 
 

Subtract image from this image.

Parameters:
sub The image to be subtracted
Returns:
The subtraced CCodecImage
This function will subtract the pixel values from the sub image from this image, modifying it.

CCodecImage & CCodecImage::operator= const CCodecImage src  ) 
 

Reimplemented in CCodecImageSubband.

void CCodecImage::Resize int  w,
int  h
[virtual]
 

Reimplemented in CCodecImageSubband.

bool CCodecImage::SanityCheck const CCodecImage one,
const CCodecImage two
[static, protected]
 

Perform sanity check.

Parameters:
one The first image
two The second image
Returns:
true When the dimension match and data pointers are valid
This function performs a simple sanity check between the two images one and two. It returns true when the dimensions match, both data pointers are valid, and not the same.

void CCodecImage::Store int  width,
int  height,
unsigned char *  dst
 

int CCodecImage::Width  )  const
 


Member Data Documentation

struct CCodecImage::ImageData * CCodecImage::m_pData [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Dec 13 23:38:47 2006 for CamStream by doxygen 1.3.7