Skip to content
Discussion options

You must be logged in to vote

Hi,

It is a real*4 two band file. Try the following code

h =fopen('filt_topophase.unw.geo','r');
[F,count] = fread(h,2nxny,'float32');
rmg = reshape(F,2nx,ny);
phs = rmg(nx+1:nx
2,:);
mag = flipud(rmg(1:nx,:)');
phs = flipud(phs');

Here mag and phs are the amplitude and phase of the unwrapped interferogram. You need to get nx and ny from the file metadata

Francisco

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@asobouti
Comment options

@camurad12
Comment options

@asobouti
Comment options

Answer selected by asobouti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants