Page 1 of 1

about ImageMagick segmentation

Posted: 2010-09-19T23:02:04-07:00
by chyaila
Hi,

I am new to ImageMagick.
I want to give an image as an input to ImageMagick and get the number of segments present in the image.

1) I believe segment [ options ... ] input_file output_file would work for it. But I am not able to find how to start the command prompt for ImageMagick in Windows. Please guide me to start the command prompt.

2) Does this
MagickBooleanType SegmentImage(Image *image,
const ColorspaceType colorspace,const MagickBooleanType verbose,
const double cluster_threshold,const double smooth_threshold)
function get called when I write the above command at command prompt?
If yes, what is MagickBooleanType returntype? It seems to be a boolean, not an integer?

3) If I am proceeding in the wrong direction to find the number of segments in an image, please explain to me how should I go about it?


Thanks,