-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatic normalization bounds produce sub-optimal images #186
Comments
@towsey - I remember what we were talking about now. We were concerned that the histograms output for the zooming indices were very flat (and thus not useful for automated normalisation).
|
Hi Anthony,
Thanks for reminding me about this. Yes, it also occurred to me that we might have to calculate bounds for each ICD level separately. And yes these could be calculated based on an off-line sample of a representative selection of samples.
I need to think about this some more.
It would take a bit of experiemnting. Which I would like to do some time!
By taking a sample, we would avoid the integer overflow problem - if that is indedd one of the problems.
Cheers, Michael
|
Use the full range of the y-axis scale when drawing histogram. Add the number of the modal bin to the collected statistics. Change method arguments to accept modalBin. Remove duplicated lines from SpectrogramConstants.cs. Write SandPit method to test drawing of histograms. this can be turned into a unit test. NOTE: The "gap" in the histograms noted in Issue #186 is due to way Rectangular bars were drawn. Nothing to do with inadequate size of int.
More work is required for this. We need to see
Keep in mind, this issue when closed will trigger a solid 6-9 months of computation as we update all the images on Ecosounds. |
Issue #186 Fixed tests which failed when I did work on this issue. Also removed an attempt to combine two index matrices into one.
Issue #186 - Fix problem with the ACI value in the top most freq bin. Explanation is given where the code has been changed. This change may cause unit tests to fail that depend on the ACI value in top freq bin.
Closed in #233 |
This is quick fix for issue #186. To fix spurious values in top bin of ACI spectral index. Set value in top bin to value in bin below.
Issue #186 required change to the expected ACI vector. Test is now passed.
Expected behaviour
False colour spectrograms, rendered for the zooming and fixed-scale visualisations should be similar or identical.
Actual behaviour
Due to the fact that the
IndexPropertiesConfig.Zooming.yml
config file uses automatic normalization bounds and theIndexPropertiesConfig.yml
does not, the images rendered for zooming look different from those done by normal generation. In particular, they generally look very red,/green and at lower scales, very green.If you look on Ecosounds and correlate the data there with images we produce offline, you'll find plenty of examples where the colour profiles are sub-optimal.
Here is one demo: This data was used in the workshop and is attributed to Liz Znidersic. It is from the Tasmania Mez site, on the 2015-11-14.
Here is a manually composited image of the zooming tiles:
And the standard rendering (through
Towsey.Acoustic
):Steps to reproduce the behaviour
audio2csv
andTowsey.Acoustic.yml
) and generating zooming images (DrawZoomingSpectrograms
)\\Sef-bigdata-10\d$\tasmania_mez\Towsey.Acoustic.Zooming.yml
\\Sef-bigdata-10\d$\tasmania_mez
has a copy of the zooming indices and tilesAny other details
This issue affects all images used for zooming spectrograms on the Ecosounds website. The changes made to normalization bounds should be tested for multiple zoom levels, and multiple sites.
The text was updated successfully, but these errors were encountered: