after doing arithmatic operations to the image is there any method to convert the result into the image.

2 ビュー (過去 30 日間)
after doing arithmatic operations(+,-,*,/) to the image is there any method to convert the result into the image.

採用された回答

ES
ES 2013 年 9 月 30 日
Image is nothing but a matrix of data. You can write any matrix into an image by using
imwrite
method.
  2 件のコメント
mahesh chathuranga
mahesh chathuranga 2013 年 9 月 30 日
but some times arithmatic operations gives negative values.is it a problem for displaying the image.
Image Analyst
Image Analyst 2013 年 9 月 30 日
Cast to double before subtracting, then use imshow(yourImage, []) to display all the image, both positive and negative pixels.

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

その他の回答 (0 件)

Community Treasure Hunt

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

Start Hunting!

Translated by