็็How can I delete shadow in this picture
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have ROI pill image but this image have some shadow I want to delete it. How can I do
I attached 2 imgae
1 Black white image
2RGB image
i dont sure if i want deleate that shadow what file it work so I attached 2 image
0 comentarios
Respuestas (1)
Image Analyst
el 10 de Abr. de 2023
You're best off using a different lighting geometry so that you don't have the shadow in the first place. But if you must have the light on the left so that shadow is on the right, you can do
mask = bwareafilt(mask, 1); % Take largest blob, which will not be the shadow.
or you can label and take the first (left-most) label.
mask = ismember(bwlabe(mask), 1);
0 comentarios
Ver también
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!