multiplying an image by (-1)

1 Ansicht (letzte 30 Tage)
As Bdg
As Bdg am 6 Apr. 2017
Bearbeitet: As Bdg am 6 Apr. 2017
what's the result of multiplying an image by (-1) on matlab ?
  1 Kommentar
Stephen23
Stephen23 am 6 Apr. 2017
It depends on the data type. What data type is your image?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Guillaume
Guillaume am 6 Apr. 2017
Bearbeitet: Guillaume am 6 Apr. 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.

Community Treasure Hunt

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

Start Hunting!

Translated by