Segmenting objects from a threshold image
Mostra commenti meno recenti
I have thresholded an image using thresholder app in Matlab and converted the output for an image to black and white. AS a result I got the following output,

Now what I need to do is to isolate the specific type of square in the thresholded image from above image: I want my output to be as follows

I have tried bwareafilt(mask, [minArea maxArea]); command but that dosen't give optimal solution, more on that is here https://www.mathworks.com/matlabcentral/answers/676728-how-to-implement-helping-functions-for-counting-lego-blocks-in-image
Please follow comment section in above link to understand the problem of using bwareafilt command.
Is there anyone who knows solution for how to tackle this problem.
Thank You in anticipation.
3 Commenti
Image Analyst
il 5 Dic 2020
What is it about that particular blob that distinguishes it from any other blob? Like do you always want the smallest blob? Or a blob in a particular (row, column) location? Or a blob with a particular mean intensity of the corresponding gray level image? How did you know that you want that particular blob instead of any of the others???
If you need more help, can you post the gray level image and the segmentation code?
Adnan Khan
il 5 Dic 2020
Adnan Khan
il 5 Dic 2020
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Image Segmentation in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
