AForge.NET

  :: AForge.NET Framework :: Articles :: Forums ::

Pre-processing for blob detection.

Forum to discuss Image Processing Lab (IPLab) application, its features, etc.

Pre-processing for blob detection.

Postby digital_fate » Tue Mar 17, 2015 9:36 am

I recently asked a question on Stackoverflow that failed to get much exposure.

Basically I'm trying to perform blob detection in order to ascertain the location of small 'spots' on a series of sample tiles. I've had some minor success by using ChannelFiltering/ColorFiltering before applying the blob counter, but this requires me to manually define a color range which matches the color of the spots. This might be fine for the example image I provided in the Stackoverflow question, but in the real world I expect there to be quite a bit of variance in not only the sample tiles themselves but also in the acquired images.

I undertook some computer vision classes for my undergraduate degree, but unfortunately this information now evades me.

What are some good starting points/ideas for pre-processing an image in order to maximize the effectiveness of a blob finding algorithm?

My initial thoughts are along the lines of:

    - convert to grayscale
    - do some kind of region growing followed by region shrinking to get rid of noise?
    - ... (insert magic techniques here!!!)
    - perform blob detection
    - threshold the detection using blob size (I roughly know how big the spots will be)

Any help/direction at all would be greatly appreciated.

For a rough idea of how the sample tiles look, there is an example image here: http://imgur.com/xTRLVEJ.jpg. Please note that this is just a rough indication. It is, in fact, an image of a printout - I don't yet have access to any of the physical sample tiles and have only been provided with an image of how they will look.
digital_fate
 
Posts: 2
Joined: Tue Mar 17, 2015 9:08 am

Re: Pre-processing for blob detection.

Postby andrew.kirillov » Tue Mar 17, 2015 10:29 am

Proper illumination and camera lens may solve up 85% of your image processing task. Try that first.
With best regards,
Andrew


Interested in supporting AForge.NET Framework?
User avatar
andrew.kirillov
Site Admin, AForge.NET Developer
 
Posts: 3439
Joined: Fri Jan 23, 2009 9:12 am
Location: UK

Re: Pre-processing for blob detection.

Postby digital_fate » Wed Mar 18, 2015 10:09 am

Thanks for the quick reply. I disagree with you in this particular case though - my problem is that there will be artifacts/defects on the physical objects being imaged, so even perfect illumination and a wildly expensive lens won't help reduce the defects on the sample tiles.
digital_fate
 
Posts: 2
Joined: Tue Mar 17, 2015 9:08 am




Return to IPLab

cron