Open ajwood opened 8 years ago
It wasn't taken out on purpose - I'll figure out what happened and fix it.
@ajwood Should be fixed if you check out the latest libminc and bicpl. I also make a minor change to Display that formats the RGB value of the current voxel.
Looks great! I'm wondering, do you think it'd be tricky to get trilinear or tricubic interpolation working?
@ajwood I assume you mean trilinear/tricubic with RGB. It's probably not that tricky. How useful would it actually be?
@rdvincent Right; I mean trilinear/tricubic interpolation for RGB slices (from the menu: volume config (Q) -> interp (S)). Currently it shows the interpolant changing, but doesn't actually affect the display.
Do you think it'd be less useful for RGB than it is for intensity images?
@ajwood I don't really have an opinion - I'm just trying to get a general sense of the priority.
@rdvincent My main uses are this:
Digital microscopy: Interpolation mainly useful for zooming and collecting snapshots.
DTI colour maps: Interpolation helpful when the maps are noisy.
I also wonder about visualizing deformation fields coming out of minctracc (or other registration tools) in Display. Not sure what this would look like, or how it'd play with the different interpolants.
Other people might have different thoughts.
@ajwood I'll look into it in any case. Do you have any appropriate images available that I can use for testing.
I have a related request in #15 to be able to do additive RGB with multiple volumes, but in that case I'm hoping for independent adjustment of the colourmaps for each volume.
In general the idea here is to experiment with "hybrid contrast" for our segmenters, in the hopes of improving tissue differentiation.
@ajwood I recently added trilinear interpolation for RGB. Tricubic is harder because of implementation details in the volume_io library.
I just noticed that the segmentation painting threshold doesn't work for RGB data. Would there be an easy fix for this? e.g. threshold on the mean intensity
Display used to be able to open RGB volumes, if the fastest-varying vector_dimension contains RGB triples (on the range 0-1), but this doesn't seem to work with the latest version.
Is there any change that this feature could come back? Or alternatively, is there a different way to open RGB volumes in Display?