is there an alternative of thresholding an image automatically rather than setting it manually?
Ältere Kommentare anzeigen
actually i am trying to implement a code that identifies just the round objects from an image referring http://www.mathworks.com/products/image/demos.html?file=/products/demos/shipping/images/ipexroundness.html , but the problem is that, every time for a new picture i have to change pixel value and threshold so that round objects are only visible and successfully identifies round objects rather than missing any... any alternative? or any guidence??
Akzeptierte Antwort
Weitere Antworten (1)
bubble trouble
am 27 Dez. 2011
0 Stimmen
4 Kommentare
Chandra Kurniawan
am 27 Dez. 2011
Yes, I see your problem.
Success in implementing an algorithm within an image, doesn't mean that algorithm will works on various another images.
If in image A you succesfully implementing area open with P = 30, in another image B we have another objects that are not same with objects in A.
So, we need another handling.
bubble trouble
am 27 Dez. 2011
bubble trouble
am 27 Dez. 2011
Chandra Kurniawan
am 27 Dez. 2011
I'm not sure about this.
But, would you try property measurement of image regions??
Use command 'regionsprops' and select the parameter 'Area'.
You can measure all object area and take a conclusion.
From this step, you will get all object area. There are minimum area and maximum area.
Take the mean of all area and apply this value as P (input parameter in bwareaopen).
Kategorien
Mehr zu Image Thresholding finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!