isce-framework / dolphin

InSAR phase linking library for PS/DS processing
https://dolphin-insar.readthedocs.io
Other
60 stars 18 forks source link

Create `.conncomp` files for `spurt` from temporal coherence #417

Closed scottstanie closed 1 month ago

scottstanie commented 2 months ago

Change Summary

As a stopgap so we don't have a completely different set of output files from one unwrapping method, create connected component labels ~as just a 0/1 mask based on what we pass to spurt~:

I'm avoiding the snaphu connected component grower because

  1. the different cost function of snaphu may not align with what spurt considers good,
  2. the unwrapping errors on an irregular grid seem to manifest differently than what snaphu's errors look like,
  3. I believe that if we actually had sparse pixels (which may be good, just disconnected from immediate neighbors), unwrapped them correctly on an irregular grid, then asked snaphu for connected components, the "minimum size" constraint would label them 0

Related issue number

Closes #347

Checklist

scottstanie commented 2 months ago

new version looks like this:

image

I've updated the PR description to contain the new algorithm we're using as a stopgap until spurt outputs its connectivity