Image
Centre for Vision, Speech & Signal Processing
DEVELOP LIBRARIES AMMA SEARCH AMMA HOME
 

The image and image processing classes

The basic image class is the template class ImageC, templated on one of the pixel classes. The derived template class NumImageC is ImageC enhanced with some numerical operations.

There are also many non-templated derived classes, with a variety of pixel types. Their functionality is gradually being replaced by ImageC, NumImageC and the Image Processing classes, and the Image I/O system.

In terms of its structure and functionality, ImageC and its derivatives can be considered as 2-D arrays. If there is a difference in philosophy between ImageC and Array2dC, it is that in ImageC there is a sense of neighbourhood, and spatial extent. In particular an ImageC object contains one or more "image rectangles" (ImageRectangleC). When an image is constructed, it has one associated rectangle corresponding to the border of the image. However other rectangles can also be attached, corresponding to subimages; they can also be moved around the image. These can be useful for spatial filtering and other neighbourhood operations.

Contrary to what you might expect, ImageC is not currently derived from Array2dC, although this might change. The consequence is that member functions of the two classes with the same functionality often have different names (e.g. ImageC::Rnum versus Array2dC::Range1).

Image IO:

There is a comprehensive I/O package within AMMA, including image I/O. It can deal with a large and expanding range of file formats.

Indexing over images:

Operations on images:

A few simple operators can be found in NumImageC. More complex image processing operators can be generally found in one of two places: You really do have to look in both places for the moment - sorry about that.

Video:

There are 2 different interfaces to handle video streams (but which use the same stuff underneath): What it boils down to is that VideoxxxC has a buffer for the current frame, while OpenSequence doesn't.

Subtopics:

    AMMA
        Image
            Colour
            Converters
            Fonts
            Image IO Image Input and Output
            Image Processing Image processing
            Image Representations
            Indexing
            Motion
            Pixel Representations
            VideoVideo input and output stream classes.
Author: Bill Christmas, Generated by DocEntry: March 20, 2001