Color
Split  Lab Report
Split 24-bit RGB image into RGB or HSV Color Planes
The above images show the RGB composite image and the separate Red, Green and Blue Color planes.
See the Daisy Lab Report for how to create the composite image.

Purpose
The purpose of this program, Split.EXE, is to break a 24-bit color image into separate color planes, Red, Green, Blue, Hue, Saturation or Value.

Materials and Equipment

Software Requirements
Windows 95
Delphi 3 (to recompile)
Split.EXE program
Daisy.BMP or other 24-bits/pixel BMP files

Hardware Requirements
800-by-600 display in high color or true color mode

Procedure

  1. Double click on the Split.EXE icon to start the program.
  2. Press the Read BMP button and select a 24-bit color image to split.
  3. Select how to display the image: RGB Composite, or RGB Plane, or HSV Plane. Press the Monochrome checkbox to display a color image in shades of gray.

Discussion
The ImageLib unit has a RGBtoHSV function to convert from RGB coordinates to HSV coordinates.

To avoid having to deal with palettes, the gray scale images were formed by using 24-bit images with equal values assigned to the Red, Green and Blue component of each pixel.

Conclusions
The Split programs helps with understanding the various color planes that form an image. For example, a "yellow" dandelion can be seen to be very red, high in green, but very low in blue. This same "yellow" dandelion would also be a highly saturated color in HSV coordinates.


Keywords
RGB, HSV, color planes, scanlines, gray scale

Download
Delphi 3 Source and EXE (140 KB): Split.ZIP

Compiles without any changes in D4. D3 EXE is 257 KB, while D4 EXE is 343 KB.


Updated 26 Feb 2005


since 1 Nov 1998