#include <camellia.h>
Public Member Functions | |
CamRLEImage () | |
Default constructor. | |
CamRLEImage (int nbruns) | |
Constructor with max number of runs parameter. | |
CamRLEImage (const CamRLEImage &image) | |
Copy constructor. | |
~CamRLEImage () | |
Default destructor. | |
CamRLEImage & | operator= (const CamRLEImage &image) |
Operator= redefinition. | |
CamRLEImage * | clone () const |
Clone RLE image (using camRLEClone() function). | |
bool | alloc (int nbruns) |
Allocator (C++ wrapping of camRLEAllocate() function). | |
bool | realloc (int nbruns) |
Reallocator (C++ wrapping of camRLEReallocate() function). | |
bool | encode (const CamImage &image) |
C++ wrapping for camRLEEncode() function. | |
bool | encode_lut (const CamImage &image, const CamTable &LUT) |
C++ wrapping for camRLEEncodeLUT() function. | |
bool | encode_threshold (const CamImage &image, int threshold) |
C++ wrapping for camRLEEncodeThreshold() function. | |
bool | encode_threshold_inv (const CamImage &image, int threshold) |
C++ wrapping for camRLEEncodeThresholdInv() function. | |
bool | encode_color (const CamImage &image, const CamTable &clusters) |
C++ wrapping for camRLEEncodeColor() function. | |
CamBlobs * | labeling () |
C++ wrapping for camRLELabeling() function. | |
bool | labeling (CamBlobs &results) |
C++ wrapping for camRLELabeling() function. | |
bool | blob_analysis (CamBlobs &results) const |
C++ wrapping for camRLEBlobAnalysis() function. | |
bool | apply_lut (const CamTable &LUT) |
C++ wrapping for camRLEApplyLUT() function. | |
bool | apply_lut (CamRLEImage &dest, const CamTable &LUT) const |
C++ wrapping for camRLEApplyLUT() function. | |
bool | decode (CamImage &dest) const |
C++ wrapping for camRLEDecode() function. | |
bool | decode (CamImage &dest, const CamTable &LUT) const |
C++ wrapping for camRLEDecode() function. | |
bool | decode_blobs (CamImage &dest) const |
C++ wrapping for camRLEDecodeBlobs() function. | |
bool | decode_blobs (CamImage &dest, const CamTable &LUT) const |
C++ wrapping for camRLEDecodeBlos() function. | |
bool | inverse () |
C++ wrapping for camRLEInverse() function. | |
bool | erode_cross (CamRLEImage &dest) const |
C++ wrapping for camRLEErodeCross() function. | |
CamRLEImage * | erode_cross () const |
C++ wrapping for camRLEErodeCross() function. | |
bool | erode_3x3 (CamRLEImage &dest) const |
C++ wrapping for camRLEErode3x3() function. | |
CamRLEImage * | erode_3x3 () const |
C++ wrapping for camRLEErode3x3() function. | |
bool | erode_3x2 (CamRLEImage &dest) const |
C++ wrapping for camRLEErode3x2() function. | |
CamRLEImage * | erode_3x2 () const |
C++ wrapping for camRLEErode3x2() function. | |
Data Fields | |
int | nSize |
Size of CamImage struct. | |
int | id |
Frame id (user dependent). | |
int | height |
Image height. | |
int | width |
Image width. | |
int | nbRuns |
The number of runs. | |
int | allocated |
Number of runs allocated. | |
CamRun * | runs |
A pointer to the array of runs. |