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

2 visualizaciones (últimos 30 días)
after doing arithmatic operations(+,-,*,/) to the image is there any method to convert the result into the image.

Respuesta aceptada

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

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by