Need explanation of the following MATLAB code?

1 visualización (últimos 30 días)
somasekar jalari
somasekar jalari el 14 de Mzo. de 2017
Respondida: Guillaume el 14 de Mzo. de 2017
x=bwperim(im);
y(x)=255;
Where, im=Binary image of given Gray scale image and y= given gray scale image and bwperim is fuction for calcuation of perimeter.

Respuesta aceptada

Guillaume
Guillaume el 14 de Mzo. de 2017
What is there to not understand?
The code uses logical indexing to set the pixels of the perimeter to 255 in the grayscale image.

Más respuestas (0)

Categorías

Más información sobre Get Started with Image Processing Toolbox en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by