I'm working on a geo location progect and I need to plot some gps coordinate obtained from Jpeg pictures taken with a smartphone. Using info = imfinfo(filename) I get the information from the jpeg file but they are only ''visual'' information, so i would like to know if there's function to utilize the info i obtain from imfinfo to write a gps variable. To be clear:
imglatitude=0info=imfinfo('file.jpg')info =scalar structure containing the fields: Filename = C:\Users\...\file.jpg FileModDate = 28-Apr-2015 17:20:16 FileSize = 3129532 Format = JPEG GPSInfo = scalar structure containing the fields: GPSLatitudeRef = N GPSLongitudeRef = E GPSAltitude = 44 GPSLatitude = xx.xxx xx.xxx xx.xxx GPSLongitude = xx.xxx xx.xxx xx.xxximglatitude=*GPSLatitude obtanined from imfinfo*
I've got no clue about how to get this gps info out from the imfinfo function! Thanks in advance for your help
Best Answer