0

I am currently working on Matlab and stuck at a point where I have to plot the graphs using the data using TIFF images. I have gone through the help file which is imread but was unable to find the proper steps.

I will be very thankful if someone can post the proper guide lines.

Regards,

Sam

7
  • This doesn't work for you: [X,map] = imread('your_image.tif')? Commented Nov 14, 2011 at 12:41
  • Could you give more details about the problem, such as to what graphs you want to plot? Or do you just want to display a tiff image? Commented Nov 14, 2011 at 15:01
  • Are you trying to save the plot as a tiff image? Commented Nov 14, 2011 at 22:35
  • @cyborg: I have tried using the same command which you have suggested me. But while plotting the graph it shows the error saying "vectors must be the same lengths" Commented Nov 16, 2011 at 11:29
  • @ Bill Cheatham : I have certain group of TIFF images saved using special kind of camera. I want to analyse them regarding what difference will light and distance make through the graph. Commented Nov 16, 2011 at 11:32

1 Answer 1

1

Here is how to load a tiff and show it, as explained in Matlab's imread documentation:

[X,map]= imread('1.tiff'); 
image(X); 
colormap(map);
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.