Login  Register

Problem when Using Fiji for 3D Visualization from Matlab

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Problem when Using Fiji for 3D Visualization from Matlab

Ofra Golani
15 posts
Hi,



I just saw a post on Matlab Central about using ImageJ 3D visualization from Matlab and was very excited about it, as it is exactly what I need for an MRI registration GUI that I'm writing.

http://www.mathworks.com/matlabcentral/fileexchange/32344-hardware-accelerated-3d-viewer-for-matlab



So I went on and installed the 3DJava using InstallJava3D.m script from Fiji/script  as explained



However, this leads to problem in my matlab.

running the simple command :



> figure;t=uitable();



leads to the following error code:



com.mathworks.jmi.MatlabException: Unknown command option UPDATEVALUETABLEMODEL
 at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
 at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:219)
 at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
 at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1540)
 at com.mathworks.mlwidgets.array.ValueTableModel$3.runOnMatlabThread(ValueTableModel.java:437)
 at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
 at com.mathworks.jmi.MatlabWorker.start(MatlabWorker.java:248)
 at com.mathworks.mlwidgets.array.ValueTableModel.makeCallToMatlab(ValueTableModel.java:434)
 at com.mathworks.mlwidgets.array.ValueTableModel.requestValueFromMatlab(ValueTableModel.java:348)
 at com.mathworks.mlwidgets.array.ValueTableModel.updateTableData(ValueTableModel.java:326)
 at com.mathworks.mlwidgets.array.ValueTableModel.updateData(ValueTableModel.java:304)
 at com.mathworks.hg.peer.ui.table.DefaultUIStyleTableModel.updateData(DefaultUIStyleTableModel.java:372)
 at com.mathworks.hg.peer.ui.UITablePeer.doDataChanged(UITablePeer.java:618)
 at com.mathworks.hg.peer.ui.UITablePeer.doPreInitializePeerProperty(UITablePeer.java:949)
 at com.mathworks.hg.peer.ui.UITablePeer.initializePeerProperty(UITablePeer.java:334)
com.mathworks.jmi.MatlabException: Unknown command option UPDATEVALUETABLEMODEL
 at com.mathworks.jmi.NativeMatlab.SendMatlabMessage(Native Method)
 at com.mathworks.jmi.NativeMatlab.sendMatlabMessage(NativeMatlab.java:219)
 at com.mathworks.jmi.MatlabLooper.sendMatlabMessage(MatlabLooper.java:120)
 at com.mathworks.jmi.Matlab.mtFeval(Matlab.java:1540)
 at com.mathworks.mlwidgets.array.ValueTableModel$3.runOnMatlabThread(ValueTableModel.java:437)
 at com.mathworks.jmi.MatlabWorker$2.run(MatlabWorker.java:79)
 at com.mathworks.jmi.NativeMatlab.dispatchMTRequests(NativeMatlab.java:364)



Now my questions are:



1) Is there a way to overcome this problem and use both Matlab uitable and Java3D because I need them both for the same GUI I'm writing

2) Otherwise, How can I go back and uninstall the Java3D so that I can work with uitable again.



I'm sure uitable worked just before the Fiji Java3D installation .



Thanks alot,



Ofra Golani




Ofra Golani

BioImaging Informatics
Biological Services Unit
Weizmann Institute of Science
Tel: +972-8-934-5117
[hidden email]
http://bioservices.weizmann.ac.il/infotec/about.html
http://www.weizmann.ac.il/vet/IC/informatics


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html