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

조회 수: 1 (최근 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