IJ 1.41c bug and 16 Bit BW images
Posted by Phase GmbH on May 20, 2008; 2:52pm
URL: http://imagej.273.s1.nabble.com/IJ-1-41c-bug-and-16-Bit-BW-images-tp3696019.html
Hi,
today I have updated to IJ 1.41c (Windows). After update some of my Plugins located in subfolders of the plugins folder did not appear in the Plugins Menu. After "down-date" to IJ 1.40g, all available plugins are shown in the Plugins Menu again.
I do not know whether this a bug or may have another reason:
When I transfer a short array with 16 bit BW pixel data to the ImageProcessor by the setPixels method (ImagePlus was created by NewImage.createShortImage), the resulting image is BW 16 bit with the invert LUT. This is surprising, since I thougth LUTs are only applicable to 8 Bit index images. When applying the ImageProcessor method invertLut before displaying that image, this has no effect. However the invert LUT can be sucessfully applied from the IJ Menu to the displayed 16 Bit BW image, finally showing the desired image.
If this is not a bug, how can I get a 16 Bit BW image from a pixel array which is finally normally displayed?
Regards
Christian Kreutzfeldt