Borrar filtros
Borrar filtros

Info

La pregunta está cerrada. Vuélvala a abrir para editarla o responderla.

Need some explanation for a line of code.

1 visualización (últimos 30 días)
Wei Qing
Wei Qing el 7 de Jul. de 2012
Cerrada: MATLAB Answer Bot el 20 de Ag. de 2021
Can any1 tell me why in the "rgb(:,:,1) = (img - img.*edge_img);" line of code, it need to " - img.*edge_img"? what is that "img.*edge_img" mean? I try to delete the " - img.*edge_img" from that line of code, still will get the same output. So can any1 explain it to me? Thank You.

Respuestas (1)

Walter Roberson
Walter Roberson el 7 de Jul. de 2012
It is subtracting out the image masked by the edge image. If the edge image is all 0's then that would result in no change. If the edge image is not all 0's then possibly the changes would be subtle.

La pregunta está cerrada.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by