Segmenting objects from a threshold image
Mostrar comentarios más antiguos
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 comentarios
Image Analyst
el 5 de Dic. de 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
el 5 de Dic. de 2020
Adnan Khan
el 5 de Dic. de 2020
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Image Segmentation en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
