Outline of the Image and Vector Class Design

Primary Classes

The base class for all image and vector classes is ProtoVector<T, R, S>, where T is the pixel type (eg. float), R is the return type for certain member functions (such as the function computing the norm of a vector), and S is a class specifying the dimensions of the object. Image<T, R> and Vector<T, R> are derived from ProtoVector<T, R, S>, with S chosen as ImageSize or VectorSize for images and vectors respectively. User image and vector types are derived from Image<T, R> and Vector<T, R> respectively, with T chosen as unsigned char and R chosen as float for ucharImage (the template parameter S would be chosen as double for a double image, for example).

Support Classes

A number of additional classes, most of which should be transparent to the user, provide support for the image and vector classes:


Brendt Wohlberg
Last modified: Wed May 6 11:10:33 GMT 1998