EnMAP-Box / enmap-box

EnMAP-Box source code repository. See https://enmap-box.readthedocs.io for documentation
GNU General Public License v3.0
35 stars 16 forks source link

Collect spectra of averaged windows (3x3-or-5x5 or arbitrary) #472

Open aloboa opened 1 year ago

aloboa commented 1 year ago

Where did https://bitbucket.org/hu-geomatics/enmap-box/issues/288/spectral-libraries-select-3x3-or-5x5 go? I have a note stating:

aloboa commented 1 year ago

I actually found it but...

This option is too much hidden under: View/Panels/Spectral Profile Sources/SpectralLibrary 1/Sampling/Kernel/3x3 or 5x5 or 7x7

I suggest:

  1. Spectral Profile Sources should also be an option on the right click of "SpectralLibray 1"
  2. The level "Kernel" is useless, it could be omitted, and just select 1x1, 3x3, 5x5 or 7x7 directly under Sampling
  3. The Sampling options should also be directly accessible in the "+" of Add profiles.

Also, outside the sampling options Could it be possible to add a specific tool at the main menu horizontal bar (the one with the hand etc) to draw polygons and get average (+/- sd) profiles?

janzandr commented 1 year ago
  1. Spectral Profile Sources should also be an option on the right click of "SpectralLibray 1"

Yes, that sounds reasonable.

  1. The level "Kernel" is useless, it could be omitted, and just select 1x1, 3x3, 5x5 or 7x7 directly under Sampling

Not sure, how would you select the size and the aggregation function in one line? image

  1. The Sampling options should also be directly accessible in the "+" of Add profiles.

Also not sure, because you can have multiple spectral views with different sampling options.

Also, outside the sampling options Could it be possible to add a specific tool at the main menu horizontal bar (the one with the hand etc) to draw polygons and get average (+/- sd) profiles?

Could be useful.

@jakimowb, please decide, what is possible to implement.

jakimowb commented 1 year ago

Where did https://bitbucket.org/hu-geomatics/enmap-box/issues/288/spectral-libraries-select-3x3-or-5x5 go?

@aloboa we had to close the bitbucket issue tracker. It got flooded with with spam issues and bibucket never reacted to this problem.

I like the idea of simplifying the menu. I'll also simplyfiy the backend API that it becomes easier to register other sampling methods.

aloboa commented 1 month ago

Any roadmap to include this feature request?

janzandr commented 1 month ago

Could it be possible to add a specific tool at the main menu horizontal bar (the one with the hand etc) to draw polygons and get average (+/- sd) profiles?

Hi @aloboa, note that in the Profile Analytics tool, you have the option to plot the average profile under a polygon. See #261. image

Also note, that you can forward profiles plotted in the Profile Analytics tool to a Spectral View. image

aloboa commented 1 month ago

Those are certainly useful, but I refer to the task of interactive collection of spectra. Doing at pixel level is normally too noisy, and being able to optionally set a larger window would be much appreciated.