Ferdinand,
You could pass all of the images through skimage.exposure.rescale_intensity
prior to adding them to the ImageCollection
. See also http://fiji.sc/Bleach_Correction for a list of other pre-processing ideas.
Regards,
Steve
from skimage.viewer import CollectionViewer
from skimage.viewer.plugins.lineprofile import LineProfile
import numpy as np
stack = np.random.randn(100, 50, 50)
stack *= np.exp(-0.1*np.arange(stack.shape[0]))[:, np.newaxis, np.newaxis]
viewer = CollectionViewer(stack)
viewer += LineProfile()
viewer.show()
I actually did change the source code of tifffile.py written by Christoph Gohlke on line 4660 to include rescaling for min and max of current image in image stack (by pressing r). But it'd be nice to still be able to use your plugins...
Thanks for your prompt answer...
Ferdinand
--
You received this message because you are subscribed to the Google Groups "scikit-image" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scikit-image...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.