arosics issueshttps://git.gfz-potsdam.de/danschef/arosics/-/issues2024-03-26T17:26:02+01:00https://git.gfz-potsdam.de/danschef/arosics/-/issues/99scipy.fft.fft2 is 2-3x faster than np.fft.fft22024-03-26T17:26:02+01:00Roelof van Dijkscipy.fft.fft2 is 2-3x faster than np.fft.fft2One of the bottlenecks of the local coregistration is the fourier transform. If `pyfftw` is not available (which is everywhere, because the most recent version is currently disabled), `numpy` is used.
In my testing (M3 Mac), the `scipy....One of the bottlenecks of the local coregistration is the fourier transform. If `pyfftw` is not available (which is everywhere, because the most recent version is currently disabled), `numpy` is used.
In my testing (M3 Mac), the `scipy.fft.fft2` implementation is 2-3x faster than `np.fft.fft2` within `arosics`.
```
Time per function call
479822.5 fft_arr0 = np.fft.fft2(in_arr0)
350634.3 fft_arr1 = np.fft.fft2(in_arr1)
171587.7 fft_arr0 = scipy.fft.fft2(in_arr0)
154358.3 fft_arr1 = scipy.fft.fft2(in_arr1)
```
It's a drop-in replacement in `CoReg.py`, `scipy` is already used elsewhere.https://git.gfz-potsdam.de/danschef/arosics/-/issues/74Scale and offset metadata of input dataset get lost in the output.2023-05-03T13:05:14+02:00Daniel SchefflerScale and offset metadata of input dataset get lost in the output.See [here](https://bitbucket.org/hu-geomatics/enmap-box/issues/1315/a-large-difference-in-reflectance-values#comment-62248636).See [here](https://bitbucket.org/hu-geomatics/enmap-box/issues/1315/a-large-difference-in-reflectance-values#comment-62248636).Daniel SchefflerDaniel Schefflerhttps://git.gfz-potsdam.de/danschef/arosics/-/issues/33Exception in case of inconsistent input image metadata.2023-05-03T13:04:56+02:00Daniel SchefflerException in case of inconsistent input image metadata.In case the input image metadata contains bandwise metadata that have a length unequal to the number of bands, AROSICS raises an exception and co-registration is aborted.
Proposed solution:
Ignore the inconsistent metadata and just pas...In case the input image metadata contains bandwise metadata that have a length unequal to the number of bands, AROSICS raises an exception and co-registration is aborted.
Proposed solution:
Ignore the inconsistent metadata and just pass them through to the co-registered output.Daniel SchefflerDaniel Scheffler