Open lpatiny opened 7 years ago
could you check how many times the processHighlights function is called? I don't think it's slow, but maybe it's called often. Does your view has many panzoom modules?
We have indeed 4 pan-zoom module in the view and the image have around 10 million pixels
https://github.com/NPellet/visualizer/blob/master/src/modules/types/display/panzoom/view.js#L287-L359
In my image processing of cells it appears that 40% of the time is spend in the calculation of highlight