Ask Your Question
1

Round object detection

asked 2013-03-09 18:00:54 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >50 is welcome to improve it.

image descriptionimage descriptionHello,

I am new to opencv and I would like some hints. I am doing clinical research and I need to detect sperm cells by analyzing images. The pictures are in grayscale, need to cleaned out of impurities and contrast must be increased. The magnification is low, so the cells are barely visible to the human eye. I have tried with templates, but doesn't quite work, because the position/orientation varies. What is the best approach for filtering and detecting an elliptical object with a tail? Here is a link with an image: http://www.profilekiss.com/picture/code-1/sperm.html or http://media.beta.photobucket.com/user/DSCDBIO/media/frogspermsmear100X.jpg.html?filters[term]=sperm%20100X&filters[primary]=images&filters[secondary]=videos&sort=1&o=0image description Tx

edit retag flag offensive close merge delete

Comments

template matching won't work ( as you found out before ) because it only compares a rect of pixels, and your sperms there can have any rotation or even bend to the one or other side.

what about adding a (small) demo pic here, so people can try out ideas ?

berak gravatar imageberak ( 2013-03-10 17:05:47 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
4

answered 2013-03-11 04:55:55 -0600

rics gravatar image

You may try to use Hough circle transform.

This image processing page also mentions the Hough circle transfrom as a possibility on cell detection.

Here is a short overview on approaching a problem similar to yours using MatLab.

Here is an article from last year on blood cell detection using Hough circle. The authors report that the automatic counting was quite accurate.

Here is an even more fresh study on white blood cells. The introduction enumerates some extensions of Hough circle transform and even other approaches like genetic algorithms.

edit flag offensive delete link more

Comments

Nice guidance to the problem!

StevenPuttemans gravatar imageStevenPuttemans ( 2013-03-11 10:48:42 -0600 )edit

I don't think this will work since sperm cells are not round, are elliptical, and main feature to rule out false positives is the tail. The picture below is poor in quality, but can give you an ideea:

http://media.beta.photobucket.com/user/DSCDBIO/media/frogspermsmear100X.jpg.html?filters[term]=sperm%20100X&filters[primary]=images&filters[secondary]=videos&sort=1&o=0

sf102 gravatar imagesf102 ( 2013-03-18 06:26:06 -0600 )edit
1

Here is a paper on how to detect ellipses with Randomized Hough Transform: http://www.saminverso.com/res/vision/EllipseDetection.pdf

rics gravatar imagerics ( 2013-03-18 07:11:30 -0600 )edit

Question Tools

Stats

Asked: 2013-03-09 18:00:54 -0600

Seen: 2,575 times

Last updated: Mar 12 '13