How to delete unwanted lines from Binaries Images using regionprops?

2 views (last 30 days)
Hi Everyone, I am new in image processing.
Let say I have this binarised image below.
In this image, there are letter 'I', '8', '.' and some other lines.
In this stage I don't want to do any character recognition , I just want to delete those lines and keep 'I', '8', '.'
I dont want to use any morphological operations because some time lines will attach with the letters.
I then think about characteristic of the letters, and I use some properties from regionprops such as Area, Perimeters,...
In this regards, are there any characteristic from regionprops that we could use to calculate any rule to delete these lines so that I could keep only 'I', '8', and '.'?
or are there any other ways without using regionprops properties?
Thank

Answers (1)

Image Analyst
Image Analyst on 27 Jan 2014
You can look at the area, perimeter, Euler number, etc. See my Image Segmentation Tutorial for how to filter blobs based on certain characteristics, like area: http://www.mathworks.com/matlabcentral/fileexchange/?term=authorid%3A31862
But that image you attached is too low resolution for distinguish any of those characters. I can't even tell what's what. You'll need more resolution.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!