BitmapImage.m
Description
This script loads a true-colour image from a file and displays it on the screen. The true-colour image is 8 bits per colour channel - 24 bits per pixel. But when it is displayed via a Bits++ it is 14 bits per colour channel, although the lower 6 bits of each channel are zeros.
The script then allows the user to vary the contrast of the image by changing the contrast in the Bits++'s CLUT. By lowering the contrast, this illustrates the extra dynamic range, bringing the lower 6 bits into play.
Features Illustrated by this Demo
- Loading of images from .bmp files.
- The use of the T-Lock system to vary the Bits++'s CLUT and thereby change the contrast of an image loaded from a file.
- The ability of the Bits++ to display very low contrast images due to its enhanced dynamic range.