home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
swCHIP 1991 January
/
swCHIP_95-1.bin
/
demo
/
wit4711
/
lib
/
help
/
segment
/
rgbthres.
/
rgbthres.bin
Wrap
Text File
|
1995-12-09
|
491b
|
13 lines
OPERATOR
rgbThresh --- threshold an rgb image given rgb triplet and radius of sphere
DESCRIPTION
The rgbThresh operator performs an RGB space threshold given a 24-bit RGB
image and generates a binary 8-bit integer image. The r , g and b parameters
specifiy a sphere centre and the radius parameter specifiy the sphere radius.
Any pixel within this sphere is set to white (maximum pixel value) in the
binary output, otherwise the pixel is set to black.