From: Glenn on 1 Mar 2010 19:31 I would like to load a series of images so that I can insert them into a powerpoint using Matlab. When I load an image using "imload" and then "image" to display it, the image quality is extremely poor (unusable). Is there a way to load an image and maintain the image quality? The images are jpegs that Matlab created. I realize I could also grab the figures before matlab exports them, but this is for existing plots that I cannot recreate.
From: Glenn on 1 Mar 2010 19:40 I meant "imread", not "imload" "Glenn " <thatguyglenn(a)gmail.com> wrote in message <hmhm8p$blr$1(a)fred.mathworks.com>... > I would like to load a series of images so that I can insert them into a powerpoint using Matlab. When I load an image using "imload" and then "image" to display it, the image quality is extremely poor (unusable). > > Is there a way to load an image and maintain the image quality? > > The images are jpegs that Matlab created. I realize I could also grab the figures before matlab exports them, but this is for existing plots that I cannot recreate.
From: ImageAnalyst on 1 Mar 2010 22:28 Can you give a few lines of code using a standard MATLAB demo image and show how the image looks bad after reading it back in?
From: Oliver Woodford on 2 Mar 2010 05:45 "Glenn " wrote: > I would like to load a series of images so that I can insert them into a powerpoint using Matlab. When I load an image using "imload" and then "image" to display it, the image quality is extremely poor (unusable). > > Is there a way to load an image and maintain the image quality? > > The images are jpegs that Matlab created. I realize I could also grab the figures before matlab exports them, but this is for existing plots that I cannot recreate. Glenn, the quality of the images should be the same in MATLAB (using imread) as in any other program. Have you looked at the images in another program and verified this? The problem may well be that when you saved the figures as jpegs you used a low quality setting (probably the default). It's too late to correct that now, without regenerating the figures. In future, to export figures to high quality images I suggest you use export_fig, available on the file exchange. HTH, Oliver
From: Glenn on 2 Mar 2010 08:45 The images look fine if I use windows image viewer or import them into powerpoint with a macro (which is how I usually do this). Perhaps it's an issue with how I'm viewing the image. Should I be using something different from image(X) after running X=imread('myimagefile.jpg') ? "Oliver Woodford" <o.j.woodford.98(a)cantab.net> wrote in message <hmiq7g$p1l$1(a)fred.mathworks.com>... > "Glenn " wrote: > > I would like to load a series of images so that I can insert them into a powerpoint using Matlab. When I load an image using "imload" and then "image" to display it, the image quality is extremely poor (unusable). > > > > Is there a way to load an image and maintain the image quality? > > > > The images are jpegs that Matlab created. I realize I could also grab the figures before matlab exports them, but this is for existing plots that I cannot recreate. > > Glenn, the quality of the images should be the same in MATLAB (using imread) as in any other program. Have you looked at the images in another program and verified this? > > The problem may well be that when you saved the figures as jpegs you used a low quality setting (probably the default). It's too late to correct that now, without regenerating the figures. In future, to export figures to high quality images I suggest you use export_fig, available on the file exchange. > > HTH, > Oliver
|
Next
|
Last
Pages: 1 2 Prev: contourm contour line gaps Next: Programmatcially re-focus back to command window or editor? |