hello, everyone!
I exported the unwrapped phase (as shown in below figure) as a .tif file: subset_1_of_S1A_IW_SLC__1SDV_20201030T050502_20201030T050529_035021_0415DC_084C_UNW_Orb_Stack_ifg_deb_flt.tif
Iâd like to âexport the unwrapped phase for processing( i can read .tif file in MatLab) and then import it (the revised .tif) into snap for subsequent processing.
exporting to tif makes you lose all metadata required for SAR processing.
Why donât you directly use the img file in Matlab? Itâs inside the .data folder.
how does it look in SNAP? Please first try the regular snaphu import and visually check if the result is alright.
Any conversion between formats will potentially bring more error sources.
%% load .img file in Matlab
fid = fopen('Unw_Phase_ifg_30Oct2020_11Nov2020.img','r+');
test_data = fread(fid,[10066,7938],'float','b'); %% [10066,7938]is the 2D pixel size of the image.
unwrap_phase = test_data.'; %% Matrix transpose, in order to make the image consistent with the display in SNAP.
fclose(fid);