Borrar filtros
Borrar filtros

Change the pixel value of certain region in Binary image to 0

1 visualización (últimos 30 días)
Pankaja Tanjore
Pankaja Tanjore el 21 de Ag. de 2015
Respondida: Walter Roberson el 21 de Ag. de 2015
Hello,
I have a binary image where the circle are detected using imfindcircles().
[centers, radii] = imfindcircles(bw2,[40 160],'Sensitivity',0.89,'ObjectPolarity','dark');
These circles are marked with blue color line using viscircles.
[h,x,y]=viscircles(centersStrong, radiiStrong,'EdgeColor','b');
Now i want to change the pixel value inside these blue circles to 0.
I tried using imfill() ,but that is not giving me the required result. It would be grateful if you let which function can be used to do this.
I am attaching here the image with circles marked with blue color.
Looking forward to hear from you at the earliest.
Thanks Pankaja

Respuestas (1)

Walter Roberson
Walter Roberson el 21 de Ag. de 2015

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by