X segment - Segment an Image with Thresholding and the Fuzzy c-Means Technique�� �  0 




NAME

Bsegment - Segment an Image with Thresholding and the Fuzzy c-Means Technique








SYNOPSIS

>colors=SegmentImage(image,colorspace,verbose)






9

FUNCTION DESCRIPTIONS






'

SegmentImage

FFunction SegmentImage analyzes the colors within a reference image and

*The format of the SegmentImage routine is:

:

        colors=SegmentImage(image,colorspace,verbose)


(A description of each parameter follows.



$
colors:
FThe SegmentImage function returns this integer value. It is the actual+number of colors allocated in the colormap.



image:
CSpecifies a pointer to an Image structure; returned from ReadImage.



colorspace:
KAn unsigned integer value that indicates the colorspace. Empirical evidenceDsuggests that distances in YUV or YIQ correspond to perceptual colorJdifferences more closely than do distances in RGB space. The image is then1returned to RGB colorspace after color reduction.



verbose:
JA value greater than zero prints detailed information about the identifiedclasses.