-
|
i used topsApp.py to do dinsar |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
Hi @eric890610. Just for clarity, I assume that the "unwrapping reference point" refers to a pixel in the unwrapped phase data that should match the wrapped phase of the input interferogram (without any additional cycles of 2pi). SNAPHU does not expose this as a configurable parameter, AFAIK. SNAPHU estimates the unwrapped phase field indirectly by first solving for the unwrapped phase "gradients" (the first-order discrete differences between neighboring phase values) and then integrating them along a path that spans the interferogram, starting from some seed pixel. This initial seed pixel is the only pixel in the unwrapped result that will reliably match the corresponding wrapped phase value. Looking at the source code, SNAPHU seems to use the first (i.e. upper-left corner) pixel in the output grid as the seed pixel, but this seems like sort of an implementation detail of the software -- not necessarily an explicit guarantee that you should rely on in your own code. If you want, it seems straightforward to adjust the unwrapped phase values as a post-processing step to use some other pixel (i, j) as a new reference pixel. You would simply compute the following value and subtract it from each pixel in the unwrapped phase data: where |
Beta Was this translation helpful? Give feedback.
-
|
Thanks @gmgunter for the clear description. |
Beta Was this translation helpful? Give feedback.
Hi @eric890610.
Just for clarity, I assume that the "unwrapping reference point" refers to a pixel in the unwrapped phase data that should match the wrapped phase of the input interferogram (without any additional cycles of 2pi). SNAPHU does not expose this as a configurable parameter, AFAIK.
SNAPHU estimates the unwrapped phase field indirectly by first solving for the unwrapped phase "gradients" (the first-order discrete differences between neighboring phase values) and then integrating them along a path that spans the interferogram, starting from some seed pixel. This initial seed pixel is the only pixel in the unwrapped result that will reliably match the corresponding wrapped phase v…