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

4 Ansichten (letzte 30 Tage)
after doing arithmatic operations(+,-,*,/) to the image is there any method to convert the result into the image.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu Images finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by