1. 03 Nov, 2016 1 commit
  2. 02 Nov, 2016 1 commit
    • Daniel Scheffler's avatar
      bugfix for outdated assertion; new keyword to switch off progress bars, some further developments · cc24e971
      Daniel Scheffler authored
      components.CoReg:
      - imParams: bugfix for outdated assertion
      - COREG:
          - implemented keyword 'progress' for switching progress bars on or off
          - converted attribute 'coreg_info' to property
      
      components.CoReg_local.COREG_LOCAL:
      - implemented keyword 'progress' for switching progress bars on or off
      - added property 'coreg_info'
      
      components.DeShifter.DESHIFTER:
      - implemented keyword 'progress' for switching progress bars on or off
      - removed deprecated keywords 'warp_alg' and 'tempDir'
      - correct_shifts(): outcommented algorithm for GDAL command line warping
      
      components.Geom_Quality_Grid.Geom_Quality_Grid:
      - implemented keyword 'progress' for switching progress bars on or off
      - get_CoRegPoints_table():
          - duplicated IO is now avoided
          - added progressbars for single and multiprocessing modes
      
      - updated __version__
      cc24e971
  3. 01 Nov, 2016 1 commit
    • Daniel Scheffler's avatar
      implemented new module 'CoReg_local' for detection and correction of local... · 216c2693
      Daniel Scheffler authored
      implemented new module 'CoReg_local' for detection and correction of local shifts; revised some functions due to changes in external library 'py_tools_ds'
      
      components.CoReg:
      - imParamObj: updated derivation of nodata value and footprint polygo
      - COREG: - added attribute 'deshift_results'
      
      components.CoReg_local:
      - added as new module for detection and correction of local shifts
      
      components.DeShifter:
      - moved DESHIFTER property '_dict_rspAlg_rsp_Int' to module top-level
      - _get_out_extent(): updated algorithm
      
      components. Geom_Quality_Grid.Geom_Quality_Grid:
      - __init__():
          - changed most of the input args and kwargs
          - revised the whole function -> COREG_obj is not instanced within class COREG_LOCAL
          - added property 'CoRegPoints_table'
          - added property 'GCPList'
          - dump_CoRegPoints_table(): revision
          - quality_grid_to_PointShapefile(): refactored to 'to_PointShapefile'
          - _quality_grid_to_PointShapefile(): refactored to '_to_PointShapefile'
          - quality_grid_to_Raster_using_KrigingOLD(): revised getter for path_out
          - _Kriging_sp(): revised getter for path_out
          - view_results(): moved to class COREG_LOCAL
          - view_results_folium(): moved to class COREG_LOCAL
          - correct_shifts(): moved to class COREG_LOCAL
      
      components.geometry:
      - get_true_corner_mapXY(): adjusted some lines due to update of 'py_tools_ds'
      - find_noDataVal(): moved to external library 'py_tools_ds'
      
      __init__:
      - updated __version__
      216c2693
  4. 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
  5. 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
  6. 21 Oct, 2016 2 commits
    • Daniel Scheffler's avatar
      implemented shifts vector length and angle directly into CoReg; calculation of... · bc5fc58d
      Daniel Scheffler authored
      implemented shifts vector length and angle directly into CoReg; calculation of geometric quality grid now 100% faster
      
      COREG:
      - __init__(): added new attributes 'vec_length_map' and 'vec_angle_deg'
      - _get_image_windows_to_match(): bugfix for running warp_ndarray in multiprocessing if multiprocessing is disabled
      - calculate_spatial_shifts(): moved calculation of X/Y shifts in map units here; implemented calculation of shifts vector length and angle
      
      DESHIFTER:
      - __init__(): added attribute 'GeoArray_shifted'
      - deshift_results(): added keys 'updated geotransform' and 'GeoArray_shifted' to returned dict
      
      Geom_Quality_Grid:
      - _get_spatial_shifts(): now returns values for all columns of quality grid
      - revised get_quality_grid(): now much simpler and 100% faster
      - view_results() added functionality for saving the output figure to disk
      bc5fc58d
    • Daniel Scheffler's avatar
      added functions for visualizing results of geometric quality grid and polygons... · 2745a55f
      Daniel Scheffler authored
      added functions for visualizing results of geometric quality grid and polygons calculated by COREG class
      
      COREG:
      - added show_image_footprints(): a function to show a web map containing the calculated polygons within Jupyter Notebook
      
      DESHIFTER:
      - correct_shifts(): bugfix for showing warping progress bars in quiet mode
      
      Geom_Quality_Grid:
      - added view_results(): a function for showing a map of the calculated quality grid with the target image as background
      - added view_results_folium(): a function for showing a web map of the calculated quality grid with the target image as background (for Jupyter Notebook)
      2745a55f
  7. 18 Oct, 2016 1 commit
    • Daniel Scheffler's avatar
      added local shift-correction based on geometric quality grid; added README · d398b9fc
      Daniel Scheffler authored
      COREG:
      - calculate_spatial_shifts(): bugfix for printing None instead of calculated shifts within RuntimeError in case of too large shifts
      
      DESHIFTER:
      - updated documentation of keyword warp_alg
      - implemented multiprocessing (keyword CPUs)
      - implemented first prototype of local shift-correction based on a list of GCPs
      
      Geom_Quality_Grid:
      - replaced keyword 'multiproc' by 'CPUs'
      - added method to_GCPList()
      - added method correct_shifts()
      
      README:
      - added README for the whole package
      d398b9fc
  8. 17 Oct, 2016 1 commit
  9. 13 Oct, 2016 1 commit
    • Daniel Scheffler's avatar
      Bugfix for calculating wrong output extent within DeShifter · 83e76722
      Daniel Scheffler authored and Mathias Peters's avatar Mathias Peters committed
      CoReg:
      - revised assertion message in case of different projections
      
      DeShifter:
      - De-shifting now also works if updated map info is None
      - get_out_grid(): converted to protected method
      - grids_alignable(): converted to protected method
      - get_out_extent(): converted to protected method; bugfix for returning wrong order of output extent coordinated in case clipextent is None
      83e76722
  10. 11 Oct, 2016 1 commit
    • 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