waterz
waterz copied to clipboard
HistogramQuantileProvider: why InitWithMax?
Hey Jan,
I'm trying to get the 75 percentile for the affinity between two seg ids. However, during debugging, I found that with the defaultInitWithMax=true
, the histogram will only have one value in the end (either clear()
or return
). Wonder what's the logic for InitWithMax
? It seems that we just need to addAffinity
for every input element?
Thanks D.
https://github.com/funkey/waterz/blob/8ccd0b308fed604d143577f128420da83ff444da/waterz/backend/HistogramQuantileProvider.hpp#L27