-
Notifications
You must be signed in to change notification settings - Fork 13
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
Inverted LUT #169
Comments
This is definitely doable. For the labels source the code in private void showLabelsSource( SourceAndMetadata< ? > sam )
{
final LazyLabelsARGBConverter lazyLabelsARGBConverter = new LazyLabelsARGBConverter();
final ARGBConvertedRealSource source =
new ARGBConvertedRealSource( sam.source(),
lazyLabelsARGBConverter );
sam.metadata().bdvStackSource = BdvFunctions.show(
source,
1,
BdvOptions.options().addTo( bdv ) );
... A So, I would recommend you start playing by implementing a function in private void showIntensitySourceKimberlyTest( SourceAndMetadata< ? > sam )
{
final ColorConverter myColorConverter = new KimberlyColorConverter();
final ARGBConvertedRealSource source =
new ARGBConvertedRealSource( sam.source(), myColorConverter );
sam.metadata().bdvStackSource = BdvFunctions.show(
source,
1,
BdvOptions.options().addTo( bdv ) ); with
Enough pointers to give it a go? Let me know if you have questions! In fact this may not work all the way, i.e. you may not be able to adjust B&C in the BDV UI, but give it a shot, then we can use what you have to implement it properly (we may need a newer version of BdvFunctions, which is current not yet in MoBIE...) |
Thanks for the pointers! I'll give it a try next week. |
mobie/mobie.github.io#45 seems to work. |
For viewing SEM images with MoBIE, it'd be useful to have an inverted LUT available.
@tischi - I don't know how difficult this would be to add? There's a bunch of different colouring modes for label data, but not for raw images - right?
The text was updated successfully, but these errors were encountered: