I have resized my original tiff file (1.5gb) to a tiff file (170mb). But there was no geo reference points in the resized image which was present in my original tiff file. I have attached the screenshot which shows the geoinfo(co-ordinate points) of my original tiff file.
I need the geo reference points\co-ordinate points to this resized image from my original tiif file. How do i add it?
I have coded my image resizing in "Matlab". My code is as follows -
t = Tiff('D:\sample\a_01.tif','r');
imageData = read(t);
Itrain = imresize(imageData,0.3);
channel4 = Itrain(:,:,4);
Itrain = Itrain(:,:, 1:3);
scaled_train = mat2gray(Itrain);
imwrite(scaled_train,'D:\com_1.tif')
Please do help me out!!
geotiffwrite
: ch.mathworks.com/help/map/ref/geotiffwrite.html .