Re: Troubles with the Interactive 3D plugin
Posted by
Philip Ershler on
Aug 08, 2007; 12:21am
URL: http://imagej.273.s1.nabble.com/Troubles-with-the-Interactive-3D-plugin-tp3698664p3698666.html
Great, and this also solves the other problem I was asking about.
That is, how can you get more color tables into the Interactive 3D
plugin? Set the image to 8 bits, put the color table on the image you
want, and then take the image into the 3D plugin.
Thanks again,
Phil
On Aug 7, 2007, at 2:45 PM, Wayne Rasband wrote:
> You get this exception with 16 and 32 bit images that have a color
> LUT. You can work around the problem by converting the image to 8
> bits before running the Interactive 3D plugin.
>
> -wayne
>
> On Aug 6, 2007, at 8:36 PM, Philip Ershler wrote:
>
>> Hi,
>> I have been working with the Interactive 3D plugin in ImageJ
>> 1.38X in OS X 10.4.10. Most times the plugin works beautifully,
>> but on some occasions as soon as I try to run the plugin, I get
>> the following exception. Most time it works, but at times this is
>> what I get. Any suggestions?
>>
>> java.lang.ClassCastException: [S
>> at jRenderer3D.SurfacePlot.setSurfacePlotImage(SurfacePlot.java:99)
>> at jRenderer3D.JRenderer3D.setSurfacePlot(JRenderer3D.java:754)
>> at Interactive_3D_Surface_Plot.create3DRenderer
>> (Interactive_3D_Surface_Plot.java:344)
>> at Interactive_3D_Surface_Plot.runApplication
>> (Interactive_3D_Surface_Plot.java:296)
>> at Interactive_3D_Surface_Plot.run
>> (Interactive_3D_Surface_Plot.java:283)
>> at ij.IJ.runUserPlugIn(IJ.java:158)
>> at ij.IJ.runPlugIn(IJ.java:124)
>> at ij.Executer.runCommand(Executer.java:95)
>> at ij.Executer.run(Executer.java:49)
>> at java.lang.Thread.run(Thread.java:613)
>>
>> Thanks for EVERYTHING,
>>
>> Phil
>>