create an image from intensity value per pixel.

if i have intensity values per pixel 512*512 .then how to create an image using that values?

Answers (1)

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

Tags

No tags entered yet.

Asked:

on 16 Apr 2019

Answered:

on 16 Apr 2019

Community Treasure Hunt

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

Start Hunting!