Manual: Color Structure Code (CSC)
The AlgorithmThe CSC is a hierarchical region growing method. It detects homogenous color regions in images. Further information about the Color Structur are available in the online lecture (lectures.ps,lectures.pdf ).
DescriptionThe zip archives csc-linux-1-0.zip and csc-windows-1-0.zip contain each the binary version of the command line tool csc. With the command line tool csc you are able to make segmentations of color images with the color structure code. The 'csc' needs as input a color image in PPM-Format (Portable Pixmap in binary format with magic number 'P6'). It produces two images: a region image that stores for each pixel the average color of its region and a labeled image that stores for each pixel a label number of its region.
UsageSyntax: csc [options] "name_of_input_image" "name_of_region_image" "name_of_labeled_image"
Example:Suppose you want to make csc segmentation of an color image with name example.ppm. First be sure that your color image is in PPM graphics format and the PPM file has the magic number P6. The command
csc -c hsv -h 0 -s 2 -h 4 example.ppm region.ppm
will produce a region image with name region.ppm in the ppm format.
Editor: Patrick Sturm
Letzte Änderung: 15.07.2002