multiplying an image by (-1)

what's the result of multiplying an image by (-1) on matlab ?

回答(1 个)

Guillaume
Guillaume 2017-4-6
编辑:Guillaume 2017-4-6

0 个投票

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.

类别

帮助中心File Exchange 中查找有关 Image Filtering and Enhancement 的更多信息

提问:

2017-4-6

编辑:

2017-4-6

Community Treasure Hunt

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

Start Hunting!

Translated by