create an image from intensity value per pixel.
Show older comments
if i have intensity values per pixel 512*512 .then how to create an image using that values?
1 Comment
Rik
on 16 Apr 2019
Have you tried imshow?
Answers (1)
KSSV
on 16 Apr 2019
A = rand(512,512);
imwrite(A,'myimage.png') ;
figure
imshow(A)
figure
imshow(imread('myimage.png'))
Categories
Find more on Display Image in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!