<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body>
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
<div class="WordSection1">
<p class="MsoNormal">Matlab integration:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">All Matlab commands are executed in the same session. All variables (except local variables that you define in a function) are preserved, unless you specifically request closing of Matlab after command execution.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">You can directly enter commands and see results using MatlabCommander module. We can add a Python utility function that can send a command to Matlab using MatlabCommander and print the result on the Python console. Something like:</p>
<p class="MsoNormal">>> matlab(‘a=5*5’)</p>
<p class="MsoNormal">ans=25</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">We can also implement support for table nodes on the MatlabBridge interface. It could allow sending/receiving parameters bypassing the GUI generated by the CLI XML description (I’m not sure how useful it is but it is easy to do).</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Andras</p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:alexis.girault@kitware.com">Alexis Girault</a><br>
<b>Sent: </b>Wednesday, November 23, 2016 14:50<br>
<b>To: </b><a href="mailto:na-mic-project-week@public.kitware.com">na-mic-project-week@public.kitware.com</a><br>
<b>Cc: </b><a href="mailto:curtislisle@knowledgevis.com">Curtis Lisle</a>; <a href="mailto:pieper@isomics.com">
Steve Pieper</a>; <a href="mailto:lasso@queensu.ca">Andras Lasso</a>; <a href="mailto:jchris.fillionr@kitware.com">
Jean-Christophe Fillion-Robin</a>; <a href="mailto:andinet.enqu@kitware.com">Andinet Enquobahrie</a><br>
<b>Subject: </b>Introducing two projects to discuss for NA-MIC week</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div dir="ltr">
<div>Hi everyone,<br>
<br>
I wanted to introduce you to two topics I would like to investigate and discuss during the next conference call and the na-mic week in Boston:<br>
<br>
<b>Volumetric Mesh support:</b></div>
<div>We collaborate on a project which uses finite element meshes to compute light propagation within soft tissues for optical imaging. Their mesh is computed using label map images, and they would like to visualize their output data overlayed above the structural
 images used for the segmentation without having to resample it within the original volume domain. JC directed me to the interesting work that is still in
<a href=" https://www.slicer.org/wiki/Modules:IA_FEMesh-Documentation-3.6">Slicer 3.6</a>. The discussion on this topic could be related to the potential wrapping of VTK unstructured grid, to think about where it could fall within the current nodes hierarchy
 (link with models...), etc...</div>
<div><br>
</div>
<div><b>MatLab tighter integration:</b></div>
<div>Right now - based on my current understanding of the framework - MatLabBridge allows us to forward commands to a MatLab server and retrieve information, and offers methods to convert data to and from MatLab, but the workspace environment instanciated while
 processing the given commands is lost (no way to still access the MatLab variables created, to keep using MatLab from the latest state). We would like to investigate a solution that would allow us to keep the MatLab state alive, to visualize the MatLab workspace
 variables within Slicer (table node?), to directly enter MatLab commands within Slicer (using a custom ctkConsole, like the python console?)<br>
<br>
Looking forward to hearing your thoughts and possible interests in those topics.</div>
<div><br>
</div>
<div>Best regards,</div>
<br clear="all">
<div>
<div class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr"><span style="color:rgb(136,136,136);font-size:12.8000001907349px">Alexis Girault</span><br style="color:rgb(136,136,136);font-size:12.8000001907349px">
<span style="color:rgb(136,136,136);font-size:12.8000001907349px">R&D Engineer in Medical Computing</span><br style="color:rgb(136,136,136);font-size:12.8000001907349px">
<span style="color:rgb(136,136,136);font-size:12.8000001907349px">Kitware, Inc.</span><br style="color:rgb(136,136,136);font-size:12.8000001907349px">
<br style="color:rgb(136,136,136);font-size:12.8000001907349px">
<a href="http://www.kitware.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8000001907349px" target="_blank">http://www.kitware.com</a><br style="color:rgb(136,136,136);font-size:12.8000001907349px">
<font color="#999999"><a href="tel:(919)+969-6990+x325" target="_blank"><span style="font-size:12.8000001907349px">(919) 969-6990 x3</span>25</a></font><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>