multiplying an image by (-1)

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일

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