|
Prev: Passing an array from c code to compiled matlab .m file
Next: How do I create a 128*256 sparse matrix for LDPC?
From: Sergey Karpov on 5 May 2008 10:15 "Robert Johansson" <robert.nospam(a)math.umu.se> wrote in message <fvl2ih$khs$1(a)fred.mathworks.com>... > I have a picture in GIF-format which I need to process and > convert to eps. Using "imread", MATLAB reads the file into > a matrix with too few rows and columns. It seems that the > information about the file dimension is in another unit. > Can I control this? Looking through the helpfile I find > references to commands like "readimage" but no > documentation. Hi, better to use importdata, cause gif will be saved like a structure, here is a small example: your_gif = importdata('your-gif.gif'); image(your_gif.cdata); colormap(your_gif.colormap); for converting it, u can use a figure menu, Bye |