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
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!