Re: color image segmentation
- From: "Adam Kapelner" <adam@xxxxxxxxxxxx>
- Date: Sun, 27 May 2007 03:03:48 -0400
Check out GemIdent (at www.gemident.net) - it can segment regions of
interest in color images using a training set. Plus it's free and
open source in Java. You won't have to use Matlab nor code your own
algorithm!
Heba wrote:
image,
Image Processing Expert wrote:
how do we can calcalate the area for each object in the image(each
object has different area).......
If the color image is segmented and the result is a label
-the
solution looks like this:
RegionList = unique(SegmentedImage(:));
RegionList = RegionList(RegionList > 0);
NumberOfRegions = length(RegionList);
If the segmented image is binary, the number of regions can be
retrieved this way:
RegionImage = bwlabel(SegmentedImage);
RegionList = unique(RegionImage(:));
RegionList = RegionList(RegionList > 0);
NumberOfRegions = length(RegionList);
I hope this helps.
ImageAnalyst wrote:
He strongly implied that he already has the segmented image
hecould
thatdidn't ask HOW to segment it. He was just wanting to know
he
should use bwlabel() to get the number of regions. He
.follow
up
with regionprops() for more info.
Regards,
ImageAnalyst
- References:
- Re: color image segmentation
- From: Heba
- Re: color image segmentation
- Prev by Date: Re: Save output to .txt (Unicode Big Endian)
- Next by Date: Re: Another vectorization problem..
- Previous by thread: Re: color image segmentation
- Next by thread: How is Java multithreading handled?
- Index(es):
Relevant Pages
|
Loading