|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.
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
Delphi 3 (to recompile)
Daisy.BMP or other 24-bits/pixel BMP files
800-by-600 display in high color or true color mode
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.
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.
RGB, HSV, color planes, scanlines, gray scale
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