<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Dear All,<br>&nbsp;<br>&nbsp;&nbsp; Please help me understand the following error with regard to the code below. I see that 'size' is a member of itk::FixedArray.&nbsp; How can I get the label region ?<br><br>Thank you,<br>Emma<br><br>Error: Error&nbsp;&nbsp;&nbsp; 1&nbsp;&nbsp;&nbsp; error C2039: 'size' : is not a member of 'itk::FixedArray&lt;TValueType,VLength&gt;'&nbsp;&nbsp;&nbsp; <br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">typedef itk::LabelGeometryImageFilter&lt; UCharImageType, ImageType&gt; LabelGeometryType;<br>&nbsp;&nbsp;&nbsp; LabelGeometryType::Pointer labelGeometry = LabelGeometryType::New();<br>&nbsp;&nbsp;&nbsp; labelGeometry-&gt;SetInput( relabel_filter-&gt;GetOutput());<br>&nbsp;&nbsp;&nbsp;
 labelGeometry-&gt;Update();<br><br>&nbsp;&nbsp;&nbsp; for(int i=1; i&lt;numObjs; ++i)<br>&nbsp;&nbsp;&nbsp; {<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ImageType::RegionType region = labelGeometry-&gt;GetRegion(i);&nbsp;&nbsp; //Line causing problems.<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; //Do something...<br>&nbsp;&nbsp;&nbsp; }<br><br><br><br><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> "insight-users-request@itk.org" &lt;insight-users-request@itk.org&gt;<br><b><span style="font-weight: bold;">To:</span></b> insight-users@itk.org<br><b><span style="font-weight: bold;">Sent:</span></b> Thu, July 15, 2010 9:00:49 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Insight-users Digest, Vol 75, Issue 26<br></font><br>
Send Insight-users mailing list submissions to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:insight-users@itk.org" href="mailto:insight-users@itk.org">insight-users@itk.org</a><br><br>To subscribe or unsubscribe via the World Wide Web, visit<br><span>&nbsp;&nbsp;&nbsp; <a target="_blank" href="http://www.itk.org/mailman/listinfo/insight-users">http://www.itk.org/mailman/listinfo/insight-users</a></span><br>or, via email, send a message with subject or body 'help' to<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:insight-users-request@itk.org" href="mailto:insight-users-request@itk.org">insight-users-request@itk.org</a><br><br>You can reach the person managing the list at<br>&nbsp;&nbsp;&nbsp; <a ymailto="mailto:insight-users-owner@itk.org" href="mailto:insight-users-owner@itk.org">insight-users-owner@itk.org</a><br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Insight-users digest..."<br><br><br>Today's
 Topics:<br><br>&nbsp;  1. Calibration using Levenberg-Marquardt optimizer (Michael Kirches)<br>&nbsp;  2. ANNOUNCEMENT: ITK 3.20 RELEASED ! (Luis Ibanez)<br>&nbsp;  3. ITK 3.20 --&gt; ITK 4.0 Transition Plan : ITK : CVS&nbsp;&nbsp;&nbsp; --&gt; Git<br>&nbsp; &nbsp; &nbsp; (Luis Ibanez)<br>&nbsp;  4. Re: ITK 3.20 --&amp;gt; ITK 4.0 Transition Plan : ITK : CVS<br>&nbsp; &nbsp; &nbsp; --&amp;gt; Git (Matt McCormick)<br>&nbsp;  5. Fw:&nbsp; Mesh generation (yasser salman)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Thu, 15 Jul 2010 12:13:45 +0200<br>From: Michael Kirches &lt;<a ymailto="mailto:michael.kirches@googlemail.com" href="mailto:michael.kirches@googlemail.com">michael.kirches@googlemail.com</a>&gt;<br>Subject: [Insight-users] Calibration using Levenberg-Marquardt<br>&nbsp;&nbsp;&nbsp; optimizer<br>To: <a ymailto="mailto:insight-users@itk.org"
 href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Message-ID: &lt;<a ymailto="mailto:4C3EDF59.9060206@googlemail.com" href="mailto:4C3EDF59.9060206@googlemail.com">4C3EDF59.9060206@googlemail.com</a>&gt;<br>Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br><br>Dear list,<br><br>as I have written to this list before, I have to solve a calibration <br>problem for my current project. The problem is about finding eight <br>parameters for a coordinate transformation from 2D ultrasound image <br>space into a 3D world coordinate system defined by a tracking device. <br>The tracking device provides information about spatial position and <br>orientation of tracked objects (like a steel rod or something similar).<br>To find the eight parameters (6 for translation and rotation, 2 for <br>scaling), I need to solve a numeric optimization problem. So far, I read <br>some examples that use Levenberg-Marquardt optimizer for registration
 <br>problems, so I know how to setup the optimizer in general. I guess to <br>solve my problem, I need to implement some kind of mapper to do the <br>transformation from 2D into 3D coordinates with the ability to connect <br>the optimizer to this mapper class. What base class could I use to do so?<br><br>Regards<br><br>Michael<br><br><br>------------------------------<br><br>Message: 2<br>Date: Thu, 15 Jul 2010 09:18:09 -0400<br>From: Luis Ibanez &lt;<a ymailto="mailto:luis.ibanez@kitware.com" href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>&gt;<br>Subject: [Insight-users] ANNOUNCEMENT: ITK 3.20 RELEASED !<br>To: itk &lt;<a ymailto="mailto:Insight-users@itk.org" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>&gt;,&nbsp;&nbsp;&nbsp; Insight Developers<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:Insight-developers@itk.org"
 href="mailto:Insight-developers@itk.org">Insight-developers@itk.org</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:AANLkTinR1hYeqYo2bzrMjNIDQ2S4GBbNS59ZxrKd1J1E@mail.gmail.com" href="mailto:AANLkTinR1hYeqYo2bzrMjNIDQ2S4GBbNS59ZxrKd1J1E@mail.gmail.com">AANLkTinR1hYeqYo2bzrMjNIDQ2S4GBbNS59ZxrKd1J1E@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>We are pleased to announce the release of<br><br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  ITK 3.20<br><br><br>Source files and download instructions are available at<br><span><a target="_blank" href="http://itk.org/ITK/resources/software.html">http://itk.org/ITK/resources/software.html</a></span><br><br><br>The list of new files can be found at:<br><span><a target="_blank" href="http://www.itk.org/Wiki/ITK_Release_3.20">http://www.itk.org/Wiki/ITK_Release_3.20</a></span><br><br><br>The list of changed files can be found
 at:<br><span><a target="_blank" href="http://www.itk.org/Wiki/ITK_Release_3.20_Changed_From_Previous">http://www.itk.org/Wiki/ITK_Release_3.20_Changed_From_Previous</a></span><br><br><br><br>&nbsp; &nbsp; Please let us know if you find any problems.<br><br><br>&nbsp; &nbsp; &nbsp; &nbsp;  Thanks<br><br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;  Luis<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: &lt;<a target="_blank" href="http://www.itk.org/pipermail/insight-users/attachments/20100715/936af08b/attachment-0001.htm">http://www.itk.org/pipermail/insight-users/attachments/20100715/936af08b/attachment-0001.htm</a>&gt;</span><br><br>------------------------------<br><br>Message: 3<br>Date: Thu, 15 Jul 2010 09:46:15 -0400<br>From: Luis Ibanez &lt;<a ymailto="mailto:luis.ibanez@kitware.com" href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>&gt;<br>Subject: [Insight-users] ITK 3.20
 --&gt; ITK 4.0 Transition Plan : ITK :<br>&nbsp;&nbsp;&nbsp; CVS&nbsp;&nbsp;&nbsp; --&gt; Git<br>To: itk &lt;<a ymailto="mailto:Insight-users@itk.org" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>&gt;,&nbsp;&nbsp;&nbsp; Insight Developers<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:Insight-developers@itk.org" href="mailto:Insight-developers@itk.org">Insight-developers@itk.org</a>&gt;<br>Message-ID:<br>&nbsp;&nbsp;&nbsp; &lt;<a ymailto="mailto:AANLkTin1AHPsPB9PKJhqdmD5BplfOeLBy9AqEfZLxfP6@mail.gmail.com" href="mailto:AANLkTin1AHPsPB9PKJhqdmD5BplfOeLBy9AqEfZLxfP6@mail.gmail.com">AANLkTin1AHPsPB9PKJhqdmD5BplfOeLBy9AqEfZLxfP6@mail.gmail.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br>As many of you may know, we are working on<br>a major new version of ITK:<br><br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; This will be ITKv4.<br><br><br><br>The main goals for ITKv4 are:<br><br>&nbsp; &nbsp;
 &nbsp; &nbsp; (1)&nbsp; Revising,<br>&nbsp; &nbsp; &nbsp; &nbsp; (2)&nbsp; Accelerating,<br>&nbsp; &nbsp; &nbsp; &nbsp; (3)&nbsp; Simplifying and<br>&nbsp; &nbsp; &nbsp; &nbsp; (4)&nbsp; Improving DICOM support in ITK.<br><br><br>To that end we have drafted a Transition Plan to go<br>from ITK 3.20 to ITKv4.&nbsp; The current form of this plan<br>is available in the Wiki page:<br><br><span><a target="_blank" href="http://www.itk.org/Wiki/ITK_Release_4/Migration_Plan">http://www.itk.org/Wiki/ITK_Release_4/Migration_Plan</a></span><br><br><br>A schematic representation of th plan is available at:<br><br><span><a target="_blank" href="http://www.itk.org/Wiki/File:ITKv4-TransitionPlanProposal.png">http://www.itk.org/Wiki/File:ITKv4-TransitionPlanProposal.png</a></span><br><br><br><br>The intermediate Phases of the Transition Plan<br>have been sketched out in<br><br><span><a target="_blank"
 href="http://www.itk.org/Wiki/ITK_Release_4/Migration_Plan/Phases">http://www.itk.org/Wiki/ITK_Release_4/Migration_Plan/Phases</a></span><br><br>an equivalent document is available at:<br><span><a target="_blank" href="http://www.itk.org/Wiki/images/5/5c/ITKv4-TransitionPlan-Draft.pdf">http://www.itk.org/Wiki/images/5/5c/ITKv4-TransitionPlan-Draft.pdf</a></span><br><br><br><br>Please share with us your impression on how<br>the current transition plan may impact your use<br>of ITK.<br><br><br>---<br><br><br>At this point, we have executed:<br><br>* Release of ITK 3.20 : July 15th<br><br>We are now in the process of:<br><br>* Porting ITK from CVS to Git.<br><br>As we move to Git, a lot of effort is being invested<br>in preserving the CVS history.<br><br>We anticipate that ITK-Git will be settle by the end of July.<br><br><br>It is therefore a good moment for you to start learning Git.&nbsp; :-)<br><br>Resources are available at:<br><span><a
 target="_blank" href="http://git-scm.com/documentation">http://git-scm.com/documentation</a></span><br><br>We recommend that you start by watching this talk<br>that Linus Torvals gave at Google:<br><br><span><a target="_blank" href="http://www.youtube.com/watch?v=4XpnKHJAok8">http://www.youtube.com/watch?v=4XpnKHJAok8</a></span><br><br>Then follow up with the official Git tutorial<br><br><span><a target="_blank" href="http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html">http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html</a></span><br><br>( but, please note that there are many other<br>&nbsp; &nbsp; resources available for learning Git )<br><br><br>--<br><br><br>We will appreciate any suggestions on how to<br>improve the Transition Plan, and how to minimize<br>the effort that users will have to invest for migrating<br>to ITKv4.<br><br><br><br><br>&nbsp; &nbsp;  Thanks<br><br><br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
 Luis<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: &lt;<a target="_blank" href="http://www.itk.org/pipermail/insight-users/attachments/20100715/7184d3d1/attachment-0001.htm">http://www.itk.org/pipermail/insight-users/attachments/20100715/7184d3d1/attachment-0001.htm</a>&gt;</span><br><br>------------------------------<br><br>Message: 4<br>Date: Thu, 15 Jul 2010 15:06:06 +0000 (UTC)<br>From: Matt McCormick &lt;<a ymailto="mailto:matt@mmmccormick.com" href="mailto:matt@mmmccormick.com">matt@mmmccormick.com</a>&gt;<br>Subject: Re: [Insight-users] ITK 3.20 --&amp;gt; ITK 4.0 Transition Plan :<br>&nbsp;&nbsp;&nbsp; ITK : CVS&nbsp;&nbsp;&nbsp; --&amp;gt; Git<br>To: <a ymailto="mailto:insight-users@itk.org" href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Message-ID: &lt;<a ymailto="mailto:loom.20100715T170213-434@post.gmane.org"
 href="mailto:loom.20100715T170213-434@post.gmane.org">loom.20100715T170213-434@post.gmane.org</a>&gt;<br>Content-Type: text/plain; charset=us-ascii<br><br>Luis Ibanez &lt;luis.ibanez@...&gt; writes:<br>Porting ITK from CVS to Git.As we move to Git, a lot of effort is being invested <br>in preserving the CVS history.We anticipate that ITK-Git will be settle by the <br>end of July.<br><br>Huge commendations for making this change!&nbsp; It is very exciting.&nbsp; It will make <br>doing development with and for ITK much easier.<br><br>Matt<br><br><br><br>------------------------------<br><br>Message: 5<br>Date: Thu, 15 Jul 2010 08:29:37 -0700 (PDT)<br>From: yasser salman &lt;<a ymailto="mailto:yass71@yahoo.com" href="mailto:yass71@yahoo.com">yass71@yahoo.com</a>&gt;<br>Subject: [Insight-users] Fw:&nbsp; Mesh generation<br>To: Luis Ibanez &lt;<a ymailto="mailto:luis.ibanez@kitware.com"
 href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>&gt;<br>Cc: <a ymailto="mailto:insight-users@itk.org" href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Message-ID: &lt;<a ymailto="mailto:594694.20826.qm@web50601.mail.re2.yahoo.com" href="mailto:594694.20826.qm@web50601.mail.re2.yahoo.com">594694.20826.qm@web50601.mail.re2.yahoo.com</a>&gt;<br>Content-Type: text/plain; charset="iso-8859-1"<br><br><br><br>Hi Luis,<br><br>I have a MRI brain volume, i wanna to do that:<br>1- Extract the Brain only from the volume.??<br>2- Segment Brain to Gray / White matter/ ?CFS.? (may be tumor in the future will <br>be considered)<br>3- Output this segmented volume to FEM (Ansys) .??<br>Could you please let me know the shortcut to do that<br>Regards,<br>Yasser<br><br><br><br><br><br>________________________________<br>From: Luis Ibanez &lt;<a ymailto="mailto:luis.ibanez@kitware.com"
 href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>&gt;<br>To: yasser salman &lt;<a ymailto="mailto:yass71@yahoo.com" href="mailto:yass71@yahoo.com">yass71@yahoo.com</a>&gt;<br>Cc: itk &lt;<a ymailto="mailto:Insight-users@itk.org" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>&gt;<br>Sent: Sun, July 11, 2010 8:27:18 AM<br>Subject: Re: [Insight-users] Mesh generation<br><br><br>Hi Yasser,<br><br>Do you need something more detailed than Skull-removal ?<br><br>The first thing in MRI will be to evaluate whether<br>you need bias-field correction or not.<br><br>Please provide more details on what you are trying to achieve.<br><br><br>???? Thanks<br><br><br>?????????? Luis<br><br><br>------------------------------------------------------------------------------<br><br>On Sun, Jul 11, 2010 at 11:20 AM, yasser salman &lt;<a ymailto="mailto:yass71@yahoo.com" href="mailto:yass71@yahoo.com">yass71@yahoo.com</a>&gt; wrote:<br><br>Hi
 Luis<br>&gt;<br>&gt;?MRI<br>&gt;Yasser<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>________________________________<br>From: Luis Ibanez &lt;<a ymailto="mailto:luis.ibanez@kitware.com" href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>&gt;<br>&gt;To: yasser salman &lt;<a ymailto="mailto:yass71@yahoo.com" href="mailto:yass71@yahoo.com">yass71@yahoo.com</a>&gt;<br>&gt;Cc: itk &lt;<a ymailto="mailto:Insight-users@itk.org" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>&gt;<br>&gt;Sent: Sat, July 10, 2010 1:08:26 PM<br>&gt;Subject: Re: [Insight-users] Mesh generation<br>&gt;<br>&gt;<br>&gt;?Hi Yasser,<br>&gt;<br>&gt;From what image modality ?<br>&gt;<br>&gt;<br>&gt;????? Luis<br>&gt;<br>&gt;<br>&gt;----------------------------------------<br>&gt;<br>&gt;On Fri, Jul 9, 2010 at 6:43 PM, yasser salman &lt;<a ymailto="mailto:yass71@yahoo.com" href="mailto:yass71@yahoo.com">yass71@yahoo.com</a>&gt; wrote:<br>&gt;<br>&gt;Dear
 Luis,<br>&gt;&gt;i asking for an easy way to segment /extract the whole brain from head,<br>&gt;&gt;is it by using threshold tech., depending on histogram?<br>&gt;&gt;Regards ,<br>&gt;&gt;Yasser<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;<br>&gt;<br><br><br>&nbsp; &nbsp; &nbsp; <br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: &lt;<a target="_blank" href="http://www.itk.org/pipermail/insight-users/attachments/20100715/5024a9ce/attachment-0001.htm">http://www.itk.org/pipermail/insight-users/attachments/20100715/5024a9ce/attachment-0001.htm</a>&gt;</span><br><br>------------------------------<br><br>_______________________________________________<br>Insight-users mailing list<br><a ymailto="mailto:Insight-users@itk.org" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a><br><a href="http://www.itk.org/mailman/listinfo/insight-users"
 target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><br><br><br>End of Insight-users Digest, Vol 75, Issue 26<br>*********************************************<br></div></div>
</div><br>







      </body></html>