Main Page | Class Hierarchy | Class List | Directories | Class Members

MntImage Class Reference

An MntImage class is an abstract class for an "image" of any type. More...

#include <mnt_image.h>

Inheritance diagram for MntImage:

MntByteImage MntDCTImage MntVectorImage List of all members.

Public Attributes

int width_
int height_
int x_
int y_
int rootWidth_
unsigned char isVirtual_

Detailed Description

An MntImage class is an abstract class for an "image" of any type.

An image, is a 2D array of elements, where elements can be simple type (such as byte, bit, real number) or complex types (such as vector or DCT blocks). MntImage did not define the type of the element in this 2D array. Subclass of this type is expected to define the type.

An image can be either "physical" or "virtual". A physical image has memory allocated to it, while a virtual image has borrowed its memory from somewhere else, for instance, a BitStream or another MntImage. In the case where this image borrows its memory from another image, the image where the memory is borrowed from is called "parent".


Member Data Documentation

int MntImage::height_
 

height of this image, in unit of image element

unsigned char MntImage::isVirtual_
 

0 indicates buffer is real, 1 indicates virtual

int MntImage::rootWidth_
 

height and width of the parent buffer

int MntImage::width_
 

width of this image, in unit of image element

int MntImage::x_
 

x origin of buffer w.r.t. parent

int MntImage::y_
 

y origin of buffer w.r.t. parent


The documentation for this class was generated from the following file:
Generated on Wed Sep 14 12:37:12 2005 for mnt by  doxygen 1.4.4