- changed status to on hold
aggregate pixel profile under the grid
currently, the pixel profile linked into a spectral view is the pixel that is touched by the current subpixel selection.
feature request from EARSeL turorial: if a grid is defined for the map view, an option to aggregate all pixel profiles under the grid would be nice.
So here, we would like to see an aggregated profile of all Hymap pixels covered by the overlayed EnMAP pixel:
Comments (12)
-
-
reporter Yes, let discuss this in a bigger round. The rectangle and the PSF are both special cases of a spatial kernel aggregation. I guess some users would be happy to have the simple rectangle, some want the sensor PSF and some want to be even more flexible.
-
reporter - changed component to nice to have
-
fixed bug in spectralprofilesources.py and maked kernel aggregation modes editable addresses #247
→ <<cset 5262747d025a>>
-
Basically the requested functionality became available with 3.9 (just needs 5262747d025a) via the Spectral Profile Source Panel in the “Kernel Sampling” aggregation options:
This for example samples the mean profile from the 3x3 EnMAP Grid.
Other Sampling options, which might aggregate over other Grids / Pixel Kernels, can be implemented by
1. Inheriting and implementing a newSpectralProfileSamplingMode(object)
2. registering it toSpectralProfileSamplingModeModel.registerMode(mode)
-
- changed status to open
-
reporter @Benjamin Jakimow I would like to implement this.
-
Feel free to add further sampling methods by implementing and registering new
SpectralProfileSamplingModes
. You can see how this is done in the code of the SingleProfileMode and KernelSamplingMode. -
reporter -
assigned issue to
- removed component
- changed version to 3.10
- marked as minor
-
assigned issue to
-
reporter SingleProfileSamplingMode
class is located in enmapbox\externals\qps\speclib\gui\spectralprofilesources.py -
reporter - changed milestone to 3.10 (Feature)
- changed component to GUI
- removed version
-
reporter - changed milestone to Future Release - Nice to have
- Log in to comment
To be discussed. This function would emulate a PSF with rectangular coverage, which is probably not what we like to have.