why I am not able to display the image? please help me

I am taking 512*512 image and executing the code below
imData=imread('lena256.bmp'); map=gray(256); imshow(imData,map);
This is the test image
This is the output image

Answers (0)

This question is closed.

Tags

Asked:

on 20 Apr 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!