Re: Advise on object detection
- From: ImageAnalyst <imageanalyst@xxxxxxxxxxxxxx>
- Date: Wed, 21 May 2008 20:48:55 -0700 (PDT)
On May 21, 4:35 am, stormogulen <bjarn...@xxxxxxxxx> wrote:
Hi all,--------------------------------------------------------------------------------
I have a bunch of pictures like this one:
(http://cid-1627b3c28e2dc281.spaces.live.com/photos/cns!
1627B3C28E2DC281!125 )
(A picture of rocks with soil between them)
I would like to detect and extract every single rock in the picture.
What would be the best way to do this? I have tried using Canny edge
detection to find each rock, but even though the contrast between rock
and soil is quite high, I don't get all the edges in the picture.
Also I would like to find the green box which is somewhere at the
center of the picture. How would you suggest that I do that?
Best regards,
Bjarne
Bjarne:
An edge detector depends on the window size so it will find large dirt
areas in addition to the dirt cracks between the rocks. You might try
just simple thresholding and then maybe a morphological opening to
make the dirt connect in the narrow spots. Or you could use the edge
detector but to have it not find the large dirt spots, you need to
check your areas against their average intensity and then thrown out
regions close to the dirt color. Doesn't really look too tough to do
a reasonably good job. Find the green box with a color classifier, for
example just convert the RGB image into HSI and threshold on the hue
channel.
Regards,
ImageAnalyst
.
- Follow-Ups:
- Re: Advise on object detection
- From: aruzinsky
- Re: Advise on object detection
- From: Pixel.to.life
- Re: Advise on object detection
- References:
- Advise on object detection
- From: stormogulen
- Advise on object detection
- Prev by Date: Re: multiple regions and their rectangular boundaries
- Next by Date: Re: Image-to-image registration.
- Previous by thread: Re: Advise on object detection
- Next by thread: Re: Advise on object detection
- Index(es):
Relevant Pages
|