Commit Graph

13 Commits (1b6fb02facf16eb8d84b11e368db4cb3a441ee83)

Author SHA1 Message Date
Lijun Zhu 80411d38aa PyCuAmpcor: add sum_area_table based correlation surface normalization to allow arbitrary window size (used to be limited by the 1024 max cuda threads) 2021-07-19 15:14:04 -07:00
yunjunz a5891a8ac0 cuDenseOff*.prep*Geom*: supp. full-reso file w/o .full in the name
+ support full resolution geometry files without ".full" in the filename, such as provided by stripmapStack

+ add --fix-xml option to update the image file path in the xml file, so that IML.loadImage is not called all the time, which could lead to file access issue when multiple processes use the same SLC file
2021-04-23 16:31:49 -07:00
Zhang Yunjun d81a98094e cuDenseOffsets: add prepareGeometry()
PyCuAmpcor/examples/cuDenseOffsets:
+ add prepareGeometry() to generate the cooresponding geometry file
+ update file path in xml file to support dir change
+ fix str.decode bug with try/except statement
+ printout used time
+ check --redo before initiate PyCuAmpcor to avoid the long GPU memory error message

PyCuAmpcor/README.md: fix typos for ROIPAC
2021-03-05 19:16:31 -08:00
Lijun Zhu 7c40da5a74 PyCuAmpcor: offer an option to add gross offset to output offset image 2021-02-16 13:02:04 -08:00
Lijun Zhu 4ddee2fdaf PyCuAmpcor: fix the help string in cuDenseOffsets.py 2021-02-06 12:02:34 -08:00
Lijun Zhu 7e9c86910a PyCuAmcpor: set default gpu id to 0 in cuDenseOffsets.py; the auto seek with a negative value is now disabled 2020-12-15 13:33:34 -08:00
Lijun Zhu 6d9f088975 PyCuAmpcor: cuDenseOffsets.py towork with input varying gross offsets 2020-11-30 10:30:23 -08:00
Lijun Zhu a393282b69 PyCuAmpcor updates:
* added a README.md for installation/user guide/procedures

  * modified the cuDenseOffsets.py
     * expose more options from the CUDA/C++ program
     * add an option for varying gross offset input
     * clarify the parameter definitions

  * removed old SlcImage implementation and cublas dependence

  * modified cuSincOversampler
    * to be consistent with cpu version
    * fix an issue when the extraction of the search window is not around the center

  * added a debug mode to output intermediate results

  * enable cuda error checking for both Debug/Release build types

  * corrected the code to extract raw images when the correlation surface peak is close to edges

  * Move utf-8 decoding step inside cython extension

    The cython setters take python strings, but the getters return
    python bytes, so this makes the types match up. I went with regular
    python strings for the interface since they are more common at the
    python level, so the encoding/decoding is now an implementation detail
    of the cython extension.

Contributed by lijun99, rtburns-jpl, vbrancat, mzzhong
2020-11-12 15:02:44 -08:00
Heresh Fattahi eb3eff61a6
Merge branch 'master' into BLM 2020-07-02 15:03:10 -07:00
Paul A Rosen e03042f4e5 diversity: replaced oppressive language with neutral definitions of the images that comprise an interferogram through the entire repository 2020-07-02 12:40:49 -07:00
Zhang Yunjun c642ab2e9a cuDenseOffset: check across oversample win size 2020-06-28 19:24:09 -07:00
Zhang Yunjun 90d578fa5d cuDenseOffsets: expose --raw-osf and --corr-win-size option
contrib/PyCuAmpcor/cuDenseOffsets.py:
+ expose --raw-over-samp-factor option to change the raw data oversampling factor with default of 2
+ expose --corr-win-size option, which by default, is calculated automatically based on the search window size and raw oversampling factor
+ change the namespace key for the oversampling factor of correlation surface from 'oversample' to 'corr_oversample' to avoid ambiguity, the cmd option name is still the same, thus no different in the user side.
+ use vrt file for master / slave slc data loading folllowing https://github.com/isce-framework/isce2/pull/78
+ re-organize createParse() for readability
+ add example to argparse help

stripmapStack/MaskAndFilter.py:
+ fix a bug introduced in #https://github.com/isce-framework/isce2/pull/112
+ add example usage to help message
+ mask pixels with SNR == 0, for plotting only without touching data files
+ show input parameter in the figure title
+ show percentage after SNR thresholding
+ add interpolation for matplotlib while plotting

topsStack/grossOffsets: move obsolete basemap import from the top to the related commented code block
2020-06-28 19:24:09 -07:00
Minyan Zhong 4f0a2f551c add a gpu ampcor driver 2020-05-02 15:52:31 -07:00