I am trying to import and display .jpg color image in matlab. I am using the imread and image/imagesc functions in matlab, however when matlab displays my images it really distorts it. The images is in color and all the colors are really distorted. Does anyone have any idea on how I might be able to overcome this problem? Second question, the image is a map and I know the lat/lon of the corners. I also have an array of lat/lons that make-up an air parcel trajectory. Is there a way to scale/orient the image in lat/lon coordinates (Since I know the corners of the image) so that I might be able to plot the air parcel trajectory array overlaid on the image. Thank you very much for your time, I greatly appreciate any input. Mark |
importing and displaying .jpg images in matlab
Started by ●March 24, 2004