Note that there are some explanatory texts on larger screens.

plurals
  1. POImport ITK/VTK into Matlab or Matlab into VTK/ITK environment?
    text
    copied!<p>For a current project I have to use and do mathemetics on information provided in matrices as well as use ITK/VTK functions for displaying medical information / renders. Basically I have to use both matlab routines and VTK/ITK in a (I guess) 50/50 way. The problem is that, since I have to use both, I want to decide in advance which method to use: </p> <ol> <li><p><strong>Import ITK and VTK libs into matlab:</strong> for this you have to build your own VTK as a start. Then, by <a href="http://www.mathworks.com/matlabcentral/fileexchange/19638" rel="nofollow noreferrer">this</a> example the whole idea is to write your VTK-code in .mex files. These are files in which you can program c-code as a function of matlab. </p></li> <li><p><strong>Import matlab functions in ITK/VTK environment:</strong> for this I would use a language, probably python, to do matrix calculations. I could make use of Numpy. This is a matlab-kind-of calculation module in Python and convert vtk data to numpy data and I can make use of matplotlib to make plots.</p></li> </ol> <p><strong>Pros / cons ITK/VTK imported in matlab</strong><br> + easy to do matlab calculations and plotting <br> + matlab is one of most powerfull tools for working with matrices<br> + have used matlab before (subjective)<br><br> - Have to have matlab installed <br> - running matlab burdens your pc <br></p> <p><strong>Pros / cons matlab imported in ITK/VTK environment</strong><br> + no need to have matlab installed <br> + less of a strain for PC, and since medical datasets require alot from your pc this is nice.<br> + ITK/VTK environment already set up in this case (currently using it this way, but never with matlab/matrices .mat)<br><br> - have heard stories it is hard to do matlab calculations in this way. Bit messy.<br> - less experience in python (in combination with matlab 0)</p> <p><strong>So...? concluding</strong><br> Actually I am looking for people who have been working in one of the two environments but since I think there are such a few of them I love to hear suggestions what to look for before making the final choice. It will cost a lot of time to get it working in a way I need it so it would be a waste of time to try both (also have a deadline). </p> <p><strong>extra notes</strong><br> - I have tried Simulink for matlab in combination with VTK/ITK libs but I do not like it.<br> - Although a solution to the problem is ofcourse the best I can get here I am also happy with people having experience in making choices which are in base the same as this one. What are keypoints to look for when making such a choice? Am I missing a keypoint in my pros and cons?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload