Hello,
I'm writing for the first time to the community because I need help in generating an image. I have an image that I plot using pcolor, it is the rendering of an electromagnetic imaging algorithm (it looks like a sort of mri). I have to overlap on top of this image a couple of simple shapes (circles, lines, etc) to indicate the actual position of the objects that I am imaging. I need the output to be a very high resolution jpeg or a vector graphics image.
As far as I know there are two ways to do that, and I am failing at both :)
1) Save the image obtained with pcolor as eps, then somehow overlap to it the circles/lines, and save everything as a new eps. I simply don't know how to manipulate eps files, so this has failed me. Using eps might or might not make sense, since my original image is like an mri, not at all vectorial-looking.
2) Save the image as a high resolution Jpeg and then "photoshop" on top of it the circles/lines. The problem here is that when I save the image its resolution turns out to be 96 dpi, which is not sufficient (I need at least 300 dpi). I have tried also this:
print(h,'-djpeg','-r300','image_hires.jpg')
but it does not work. In the properties of window it says it is still 96 dpi, and when I have the image checked by the online tool that has to approve it, it says that the resolution actually became 72 dpi.
Does anybody have suggestions on how I should proceed? By the way, I am using MATLAB R2011b.
Thanks in advance,
Vittorio
I'm writing for the first time to the community because I need help in generating an image. I have an image that I plot using pcolor, it is the rendering of an electromagnetic imaging algorithm (it looks like a sort of mri). I have to overlap on top of this image a couple of simple shapes (circles, lines, etc) to indicate the actual position of the objects that I am imaging. I need the output to be a very high resolution jpeg or a vector graphics image.
As far as I know there are two ways to do that, and I am failing at both :)
1) Save the image obtained with pcolor as eps, then somehow overlap to it the circles/lines, and save everything as a new eps. I simply don't know how to manipulate eps files, so this has failed me. Using eps might or might not make sense, since my original image is like an mri, not at all vectorial-looking.
2) Save the image as a high resolution Jpeg and then "photoshop" on top of it the circles/lines. The problem here is that when I save the image its resolution turns out to be 96 dpi, which is not sufficient (I need at least 300 dpi). I have tried also this:
print(h,'-djpeg','-r300','image_hires.jpg')
but it does not work. In the properties of window it says it is still 96 dpi, and when I have the image checked by the online tool that has to approve it, it says that the resolution actually became 72 dpi.
Does anybody have suggestions on how I should proceed? By the way, I am using MATLAB R2011b.
Thanks in advance,
Vittorio