필터 지우기
필터 지우기

Saving in TIF format without losing properties

조회 수: 2 (최근 30일)
stav marzuk
stav marzuk 2022년 8월 15일
댓글: stav marzuk 2022년 8월 15일
Hi all,
I have a TIF file, and im processing the file in order to do segmentation and then save it in TIF format
Im working with QGIS, if I load the regular image into QGIS, I can see the coordinates of the image.
But when I load the TIF segmentation file there is no location properties of the image.
Can anyone please help with a way to save the segmented TIF file without losing those properties?
For loading the image I tried using imread or:
[tif,tfw]= readgeoraster(tif_PathName);
or
tif=read(Tiff(tif_PathName));
For saving the image after segmentation I tried:
imwrite(newTIF,'check.tif','tif');
Thanks!!

답변 (1개)

Jan
Jan 2022년 8월 15일
  댓글 수: 1
stav marzuk
stav marzuk 2022년 8월 15일
Thank you, much appriciated!
I just duplicated the original tfw file, and saved it wth the name of the segmentation file, and it works!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Convert Image Type에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by