Flint: Dynamic density filter for images
This MR added add an optional filter + user mask to the image display.
From a @wright feedback; with the help of @tvincent
- Added density filter.
- This filter using density map on the displayed image (with a max filter). It is updated dynamically to the current zoom used in the plot. The 2D bins are computed using a nearest
step
which is fast but will create artefacts in the resulted image. A slowest but accurate filter could be added later. - Provides filters
nanmean
,nanmin
,nanmax
- This filter using density map on the displayed image (with a max filter). It is updated dynamically to the current zoom used in the plot. The 2D bins are computed using a nearest
- Added user mask. This convert masked pixels into
NaN
(and then displayed as a hole). - The mask itself can be displayed as a second layer
@wright if you think it can already be useful for your beamline, let me know and we can try to hotfix Flint. I think it is easy to backport to your BLISS version.