Bigdataviewer LUT calibration bar

Hi @tinevez @NicoKiaru @hanslovsky,

Is there somewhere code for displaying a LUT calibration bar in BDV?
Maybe in Mastodon or Paintera? I would like to ‘steal’ it :wink:

Yep there is one in Mastodon. Warning: not reviewed yet:

It is not exactly what you want because it displays the feature values, not the intensities. But you will bend it to your will.

It is meant initially for TrackScheme, but that should be ok.
It is an OverlayRenderer so uou must add the instance to the display of the BDV.

Something like
getDisplay().addOverlayRenderer( colorBarOverlay )


Thanks a lot! I will try it out sooooon :slight_smile: