Display Image matrix with having all values negative

1 次查看(过去 30 天)
Hey. I have a martix of 260x200 which has all negative values. These values were computed from an image and this martix is also supposed to be an image.
How can i display this matrix as an image? The matrix is of double and i don't want to convert it into uint8 because that makes all the values positive.
  1 个评论
Sindar
Sindar 2020-5-19
What does a negative pixel value mean to you? It doesn't sound like an image to me, but you can map it to one using imagesc

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by