multiplying an image by (-1)

2 ビュー (過去 30 日間)
As Bdg
As Bdg 2017 年 4 月 6 日
編集済み: As Bdg 2017 年 4 月 6 日
what's the result of multiplying an image by (-1) on matlab ?
  1 件のコメント
Stephen23
Stephen23 2017 年 4 月 6 日
It depends on the data type. What data type is your image?

サインインしてコメントする。

回答 (1 件)

Guillaume
Guillaume 2017 年 4 月 6 日
編集済み: Guillaume 2017 年 4 月 6 日
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.

カテゴリ

Help Center および File ExchangeImage Filtering and Enhancement についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by