multiplying an image by (-1)

2 visualizaciones (últimos 30 días)
As Bdg
As Bdg el 6 de Abr. de 2017
Editada: As Bdg el 6 de Abr. de 2017
what's the result of multiplying an image by (-1) on matlab ?
  1 comentario
Stephen23
Stephen23 el 6 de Abr. de 2017
It depends on the data type. What data type is your image?

Iniciar sesión para comentar.

Respuestas (1)

Guillaume
Guillaume el 6 de Abr. de 2017
Editada: Guillaume el 6 de Abr. de 2017
It would have taken the whole of 2 seconds for you to try it on the command line. Why didn't you?
The result is either 0 (for unsigned image types) or -yourimage (otherwise), depending on its type . Same as would happen with multiplying any number/matrix by -1.

Categorías

Más información sobre Image Filtering and Enhancement 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