![]() |
|
The library provides a simple to use common API for reading from, processing
and displaying image sources including:
MPEGSource source("myfilename");
// Initialise the source
source.get_size(width, height);
// get the size info
Image img(width,height);
// allocate memory for the image
ImageDisplayWindow win1(width,height,"window title");
// initialise the display
while (1) {
source >> img1; //
acquire the image from the source
win1 << img1;
// display the image in the window
}
Full API documentation is availabe for the two libraries:
libRTImage
- Image source and manipulation functionality
libRTImageDisplay
- Image Display functionality (based on openGL)
|
Previous version [v1.0 11/3/03]
N.B. The GLUT library is required for libRTImageDisplay. This may not be installed by default on every linux installation.