obtaining Geotiff file from JPG file
Hi!!!
i’m using this lines of code:
basename=’domaine’;
imagefile=[basename ‘.jpeg’];
RGB=imread(imagefile);
worldfile=getworldfilename(imagefile);
R=worldfileread(worldfile,’geographic’, size(RGB));
filename=[basename ‘.tif’];
geotiffwrite(filename, RGB, R)
and i’m getting this error:
Error using internal.map.checkfilename>checkDiskfilename (line 173)
Function WORLDFILEREAD was unable to find file ‘domaine.jpegw’.
How can i fix it? thanks in advanceHi!!!
i’m using this lines of code:
basename=’domaine’;
imagefile=[basename ‘.jpeg’];
RGB=imread(imagefile);
worldfile=getworldfilename(imagefile);
R=worldfileread(worldfile,’geographic’, size(RGB));
filename=[basename ‘.tif’];
geotiffwrite(filename, RGB, R)
and i’m getting this error:
Error using internal.map.checkfilename>checkDiskfilename (line 173)
Function WORLDFILEREAD was unable to find file ‘domaine.jpegw’.
How can i fix it? thanks in advance Hi!!!
i’m using this lines of code:
basename=’domaine’;
imagefile=[basename ‘.jpeg’];
RGB=imread(imagefile);
worldfile=getworldfilename(imagefile);
R=worldfileread(worldfile,’geographic’, size(RGB));
filename=[basename ‘.tif’];
geotiffwrite(filename, RGB, R)
and i’m getting this error:
Error using internal.map.checkfilename>checkDiskfilename (line 173)
Function WORLDFILEREAD was unable to find file ‘domaine.jpegw’.
How can i fix it? thanks in advance jpg to tiff MATLAB Answers — New Questions