Removing background in a image and keeping only region of interest
3 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi,
I need some help in removing the background of this image and keeping only the region of interest, in this case it is the root. Everything else in the background just has to be black, pixel value = 0.
I have already tried grayscale, imadjust, thresholding, trying to extract certain colors. Since the lighting in the picture is uneven, thresholding does not work as it removes most of the root as well.
Any help is greatly appreciated, maybe there are more complex functions that I am unaware of. I will respond to any questions for further clarification.
0 comentarios
Respuestas (1)
Image Analyst
el 7 de Jul. de 2016
You might try some kind of region growing method. I attach my Photoshop-like magic wand demo to get you started.
Also, how many of these do you have? Thousands? Or just a few dozen? If only a few dozen, you might be able to help it out some with some freehand masking.
2 comentarios
Image Analyst
el 7 de Jul. de 2016
OK, what do you really want to find out? Is it the length of all the branches? The area of everything? The area of the white root only?
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!