1. 23 Jan, 2018 1 commit
  2. 16 Nov, 2017 1 commit
  3. 13 Sep, 2017 1 commit
  4. 06 Sep, 2017 1 commit
  5. 05 Sep, 2017 3 commits
  6. 17 Aug, 2017 2 commits
  7. 20 Jul, 2017 1 commit
  8. 19 Jul, 2017 1 commit
  9. 01 Jul, 2017 1 commit
  10. 30 Jun, 2017 2 commits
  11. 16 Jun, 2017 1 commit
  12. 26 Apr, 2017 1 commit
  13. 24 Apr, 2017 1 commit
    • Daniel Scheffler's avatar
      Some enhancements · 1dd27111
      Daniel Scheffler authored
      components.CoReg.COREG:
      - changed default value of window size to 256 px
      
      components.plotting:
      - plot functions now return figure instances
      
      components.Tie_Point_Grid.Tie_Point_Refiner:
      - _reliability_thresholding(): changed default of min_reliability to 60
      
      coreg_cmd: changed default of '-ws' to 256
      
      updated __version__
      1dd27111
  14. 06 Apr, 2017 5 commits
  15. 20 Jan, 2017 1 commit
    • Daniel Scheffler's avatar
      components.CoReg.COREG: · 46eeadd7
      Daniel Scheffler authored
      - refactored keyword 'multiproc' to 'CPUs' -> CPUs parameter passed by COREG_LOCAL is now properly handled
      - equalize_pixGrids(): added a print statement
      
      components.CoReg_local.COREG_LOCAL:
      - __init__(): updated COREG call
      
      coreg_cmd:
      - run_global_coreg() updated COREG call
      
      - updated __version__
      46eeadd7
  16. 23 Nov, 2016 1 commit
    • Daniel Scheffler's avatar
      added new parameter '-max_points' to command line interface · bec655b1
      Daniel Scheffler authored
      components.CoReg.GeoArray_CoReg:
      - removed not neccessary if condition
      
      components.CoReg_local.COREG_LOCAL:
      - __init__(): edited docstring
      
      components.Geom_Quality_Grid.Geom_Quality_Grid:
      - __init__(): edited docstring
      
      coreg_cmd:
      - added new parameter '-max_points' to argparser for local coregistration
      
      - updated __version__
      bec655b1
  17. 15 Nov, 2016 1 commit
    • Daniel Scheffler's avatar
      implemented support for cloud masks / bad data masks · 868d070e
      Daniel Scheffler authored
      components.CoReg.imParams:
      - __init__():  added attribute mask_baddata
      - added add_mask_bad_data()
      
      components.CoReg.COREG:
      - __init__(): implemented new keywords 'mask_baddata_ref' and 'mask_baddata_tgt'
      - _get_opt_winpos_winsize(): now checks bad data mask if window position is within bad data area
      
      components.CoReg_local.COREG_LOCAL:
      - __init__(): implemented new keywords 'mask_baddata_ref' and 'mask_baddata_tgt'
      
      components.Geom_Quality_Grid.Geom_Quality_Grid:
      - get_CoRegPoints_table(): added vectorized filtering of points within bad data area
      - _flag_outliers(): added docstring, some minor revisions
      
      coreg_cmd:
      - renamed parameters path_im0 and path_im1 to path_ref and path_tgt
      - added parameters '-mask_ref' and '-mask_tgt' to global an local argument parser
      
      - updated __version__
      868d070e
  18. 09 Nov, 2016 1 commit
    • Daniel Scheffler's avatar
      added output creation options to COREG, COREG_LOCAL and DESHIFTER (keyword... · 66cb7b38
      Daniel Scheffler authored
      added output creation options to COREG, COREG_LOCAL and DESHIFTER (keyword 'out_crea_options'); edited some docstrings
      
      components.CoReg.COREG:
      - implemented new keyword 'out_crea_options' for specifying GDAL output creation options
      - __init__(): edited docstring
      
      components.CoReg_local.COREG_LOCAL:
      - implemented new keyword 'out_crea_options' for specifying GDAL output creation options
      - __init__(): edited docstring
      
      components.DeShifter.DESHIFTER:
      - implemented new keyword 'out_crea_options' for specifying GDAL output creation options
      
      coreg_cmd:
      - added parameter '-fmt_out' to global coregistration subparser as well as to COREG call
      
      - updated __version__
      66cb7b38
  19. 08 Nov, 2016 1 commit
    • Daniel Scheffler's avatar
      revised algorithm to derive footprint polygons; bugfix for getting stuck in while loop · 9736e3b6
      Daniel Scheffler authored
      components.CoReg:
      - imParams:
          - removed attribute 'corner_coords' (not needed anymore)
          - imParams.poly is now directly derived from GeoArray
      - COREG:
          - added keywords 'footprint_poly_ref' and 'footprint_poly_tgt'
          - refactored 'data_corners_im0' and 'data_corners_im1' to 'data_corners_ref' and 'data_corners_tgt'
          - _get_clip_window_properties(): bugfix for getting stuck within while loop
      
      components.CoReg_local:
      - COREG_LOCAL:
          - added keywords 'footprint_poly_ref' and 'footprint_poly_tgt'
          - refactored 'data_corners_im0' and 'data_corners_im1' to 'data_corners_ref' and 'data_corners_tgt'
          - added keyword 'ignore_errors' (not yet implemented completely)
      
      components.Geom_Quality_Grid.Geom_Quality_Grid:
      - get_CoRegPoints_table(): added empty GDF assertion; updated COREG kwargs
      
      components.geometry:
      - get_true_corner_mapXY(): added DeprecationWarning
      
      coreg_cmd:
      - updated calls for COREG and COREG_LOCAL
      - added TODOs
      9736e3b6
  20. 03 Nov, 2016 3 commits
    • Daniel Scheffler's avatar
      bugfix for unalignable image grids in case of different image GSDs · f5f610a5
      Daniel Scheffler authored
      components.DeShifter.DESHIFTER:
      - _get_out_grid(): bugfix for negative ref_ygsd
      
      coreg_cmd:
      - edited some print outputs
      f5f610a5
    • Daniel Scheffler's avatar
      updated README; renamed dsc__CoReg_Sat_FourierShiftTheorem.py to coreg_cmd.py · fc06ff98
      Daniel Scheffler authored
      components.CoReg.COREG:
      - edited docstring
      
      - renamed dsc__CoReg_Sat_FourierShiftTheorem.py to coreg_cmd.py
      - updated __version__
      - updated README and associated figures
      fc06ff98
    • Daniel Scheffler's avatar
      added console argument parser for COREG_LOCAL; some bugfixes and further developments · 583bc6ce
      Daniel Scheffler authored
      components.CoReg:
      - imParams: mask is now calculated from only one band -> avoids reading the whole datacube
      
      components.CoReg_local:
      - COREG_LOCAL:
          - __init__(): some docstring modifications
          - added attribute '_success'
          - property quality_grid: now shows calculated coreg points figure in verbose mode
          - view_CoRegPoints(): added outlier filtering for points in figure
          - correct_shifts(): bugfix for trying to corrects shifts without GCPs
      
      components.Geom_Quality_Grid.Geom_Quality_Grid:
      - GCPList: bugfix for running to_GCPList() twice
      - get_CoRegPoints_table(): disabled verbose mode during grid calculation
      - to_GCPList(): now returns an empty list if no valid matches are available
      
      MAIN:
      - major revision; added subparsers; added argparser for COREG_LOCAL
      - added run_global_coreg()
      - added run_local_coreg()
      
      - updated __version__
      583bc6ce
  21. 29 Oct, 2016 1 commit
    • Daniel Scheffler's avatar
      resampling algorithms are now adjustable in COREG; bugfix for not respecting... · d017de6f
      Daniel Scheffler authored
      resampling algorithms are now adjustable in COREG; bugfix for not respecting taking nodata value when de-shifting
      
       COREG:
       - added keywords 'resamp_alg_deshift' and 'resamp_alg_calc'
       - updated docstring
       - added warning when resampling algorithm 'average' is chosen
       - _calc_shifted_cross_power_spectrum(): bugfix for not using pyfftw even if available
       - refactored calc_subpixel_shifts() to _calc_subpixel_shifts()
       - added _dict_rspAlg_rsp_Int
      
       DESHIFTER:
       - refactored dict_rspAlg_rsp_Int to property _dict_rspAlg_rsp_Int
       - added 'nodata' keyword
      
       MAIN:
       - fixed some typos
      d017de6f
  22. 28 Oct, 2016 1 commit
    • Daniel Scheffler's avatar
      COREG / DESHIFTER: output format is now adjustable via keyword argument;... · 265b2fc2
      Daniel Scheffler authored
      COREG / DESHIFTER: output format is now adjustable via keyword argument; Bugfix for wrong output filename
      
       COREG:
       - added keyword 'fmt_out' that allows to set the output format for deshifted data
       - improved docstring
       - Bugfix for missing output filename in case COREG had been instanced with default argument for path_out
      
       DESHIFTER:
       - added keyword 'fmt_out' that allows to set the output format for deshifted data
       - Bugfix for missing GeoArray in deshift_results in case align_grids=False
      
       MAIN:
       - updated default argument of '-o' option
      265b2fc2
  23. 27 Oct, 2016 1 commit
    • Daniel Scheffler's avatar
      added Python 2.7 compatibility · 03e8e8a0
      Daniel Scheffler authored
      COREG:
      - some modifications in order to ensure Python 2.7 compatibility
      - pyfftw is now only imported if available
      
      Geom_Quality_Grid:
      - some modifications in order to ensure Python 2.7 compatibility
      
      MAIN:
      - CoReg_Sat root directory is automatically added to PATH
      - py_tools_ds root directory is automatically added to PATH (expected to be in CoReg_Sat root directory)
      03e8e8a0
  24. 11 Oct, 2016 2 commits
    • Daniel Scheffler's avatar
      package structure revision; revised imports of external functions · d368e029
      Daniel Scheffler authored
      COREG:
      - some functions are now imported directly from py_tools_ds instead of from geometry
      - moved imParamObj and COREG to new module 'CoReg'
      
      DESHIFTER:
      - some functions are now imported directly from py_tools_ds instead of from geometry
      - moved DESHIFTER to new module 'DeShifter'
      
      Geom_Quality_Grid:
      - some functions are now imported directly from py_tools_ds instead of from geometry
      - moved Geom_Quality_Grid to new module Geom_Quality_Grid
      
      MAIN:
      - fixed a unicode string error within arg parser
      - some code style changes
      - bugfix for not properly parsing '-calc_cor'
      - __version__ is now imported from package.__init__
      
      package.__init__:
      - added __version__
      
      UTL:
      - removed deprecated imports
      
      IO:
      - revised some imports
      
      GEO:
      - removed all imports of functions that are not directly needed within geometry
      
      new modules:
      - CoReg
      - DeShifter
      - Geom_Quality_Grid
      d368e029
    • Daniel Scheffler's avatar
      fixed a lot of incompatibilities caused by only partial revisions; some... · b3a36182
      Daniel Scheffler authored
      fixed a lot of incompatibilities caused by only partial revisions; some bugfixes => version now fully operable again
      
      imParamObj:
      - bugfix for not recognizing nodata values if 0
      - bugfix for not setting  imParamObj.nodata in case of inmem-GeoArray
      - added automatic fix of invalid footprint polygon
      
      COREG:
      - implemented new keyword argument 'path_verbose_out'
      - set_outpathes(): major revision
      - added calc_integer_shifts()
      - added validate_integer_shifts()
      - calculate_spatial_shifts(): simiplified implementation of the algorithm
      - added some comments to calculate_spatial_shifts()
      - get_updated_map_info(): reordered print outputs
      - revised correct_shifts()
      - refactored shift_image_by_updating_map_info() to _shift_image_by_updating_map_info()
      - refactored align_coordinate_grids() to _align_coordinate_grids()
      - refactored resample_without_grid_aligning() to _resample_without_grid_aligning()
      
      DESHIFTER:
      - implemented new keyword 'path_out'
      - added object attribute self.align_grids
      - correct_shifts(): added some comments and the possibility to write results to disk
      
      Geom_Quality_Grid:     fixed some incompatibilities caused by revision of COREG and DESHIFTER; much faster multiprocessing by avoiding duplicated disk IO
      - __init__():
          - added docstring to __init__()
          - implemented possibility to pass a GeoArrays as arguments to __init__()
          - some code style changes
          - added nodata attribute
      - _get_imXY__mapXY_points(): revised  calculation of outer map coordinates
      - revised _get_spatial_shifts(): now self don't has to be pickled anymore if called in multiprocessing -> much faster multiprocessing
      - revised get_quality_grid() and implemented new call of _get_spatial_shifts()
      
      MAIN:
      - added parameter -vo (path verbose out)
      b3a36182
  25. 07 Oct, 2016 1 commit
    • Daniel Scheffler's avatar
      GEO: · 49fcecbd
      Daniel Scheffler authored
      - moved parts of get_true_corner_lonlat() to external packacke 'py_tools_ds'
      - added imports for some more functions from 'py_tools_ds'
      - added get_GeoArrayPosition_from_boxImYX()
      
      UTL:
      - added import of subcall_with_output()
      
      COREG:
      - moved class imParamObj to top-level
      - implemented functionality to calculate the entire coregistration based on an array (in addition to image paths)
      - added attribute tracked_errors and implemented it into COREG
      - updated warp_ndarray calls
      - revised coreg_info property
      - added a new version of correct_shifts()
      
      DESHIFTER:
      - major revision of the whole class (it is now not based on a GMS object anymore but on a GeoArray and coreg_results)
      - added function get_out_grid()
      - added property grids_alignable
      - added get_out_extent()
      - revised correct_shifts()
      - converted set_deshift_results() to property deshift_results
      49fcecbd
  26. 27 Sep, 2016 1 commit
    • Daniel Scheffler's avatar
      moved a lot of function to external package py_tools_ds · 68be9897
      Daniel Scheffler authored
      GEO:
      - moved nearly the whole body of geometry.py to py_tools_ds (functions are now imported from there)
      
      UTL:
      - moved find_nearest() to py_tools_ds
      
      COREG:
      - fixed wrong references to IO module
      - calculate_spatial_shifts(): fixed wrong calls of get_updated_map_info() and set_coreg_info()
      68be9897
  27. 26 Sep, 2016 1 commit
    • Daniel Scheffler's avatar
      first implementation parts for fusing standalone version and GMS version · 39fc5c9f
      Daniel Scheffler authored
      GEO:
      - updated find_nearest() calls within move_shapelyPoly_to_image_grid() and get_true_corner_lonlat()
      - improved docstring for corner_coord_to_minmax()
      - updated warp_ndarray(): added keyword argument 'outExtent_within'
      - added transform_utm_to_wgs84()
      - updated geotransform2mapinfo()
      
      UTL:
      - find_nearest(): major revision - it now supports an automatic round algorithm
      
      COREG:
      - __init__(): added some attributes in order to make it more compatible with GMS version
      - added get_updated_map_info()
      - added set_coreg_info()
      39fc5c9f
  28. 19 Aug, 2016 2 commits