create an image from intensity value per pixel.

2 views (last 30 days)
chandan kumar
chandan kumar on 16 Apr 2019
Answered: KSSV on 16 Apr 2019
if i have intensity values per pixel 512*512 .then how to create an image using that values?

Answers (1)

KSSV
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 Images in Help Center and File Exchange

Tags

No tags entered yet.

Community Treasure Hunt

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

Start Hunting!