<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> <br> Please help me understand the following error with regard to the code below. I see that 'size' is a member of itk::FixedArray. How can I get the label region ?<br><br>Thank you,<br>Emma<br><br>Error: Error 1 error C2039: 'size' : is not a member of 'itk::FixedArray<TValueType,VLength>' <br><br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">typedef itk::LabelGeometryImageFilter< UCharImageType, ImageType> LabelGeometryType;<br> LabelGeometryType::Pointer labelGeometry = LabelGeometryType::New();<br> labelGeometry->SetInput( relabel_filter->GetOutput());<br>
labelGeometry->Update();<br><br> for(int i=1; i<numObjs; ++i)<br> {<br> ImageType::RegionType region = labelGeometry->GetRegion(i); //Line causing problems.<br> //Do something...<br> }<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" <insight-users-request@itk.org><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> <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> <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> <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> <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> 1. Calibration using Levenberg-Marquardt optimizer (Michael Kirches)<br> 2. ANNOUNCEMENT: ITK 3.20 RELEASED ! (Luis Ibanez)<br> 3. ITK 3.20 --> ITK 4.0 Transition Plan : ITK : CVS --> Git<br> (Luis Ibanez)<br> 4. Re: ITK 3.20 --&gt; ITK 4.0 Transition Plan : ITK : CVS<br> --&gt; Git (Matt McCormick)<br> 5. Fw: 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 <<a ymailto="mailto:michael.kirches@googlemail.com" href="mailto:michael.kirches@googlemail.com">michael.kirches@googlemail.com</a>><br>Subject: [Insight-users] Calibration using Levenberg-Marquardt<br> optimizer<br>To: <a ymailto="mailto:insight-users@itk.org"
href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Message-ID: <<a ymailto="mailto:4C3EDF59.9060206@googlemail.com" href="mailto:4C3EDF59.9060206@googlemail.com">4C3EDF59.9060206@googlemail.com</a>><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 <<a ymailto="mailto:luis.ibanez@kitware.com" href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>><br>Subject: [Insight-users] ANNOUNCEMENT: ITK 3.20 RELEASED !<br>To: itk <<a ymailto="mailto:Insight-users@itk.org" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>>, Insight Developers<br> <<a ymailto="mailto:Insight-developers@itk.org"
href="mailto:Insight-developers@itk.org">Insight-developers@itk.org</a>><br>Message-ID:<br> <<a ymailto="mailto:AANLkTinR1hYeqYo2bzrMjNIDQ2S4GBbNS59ZxrKd1J1E@mail.gmail.com" href="mailto:AANLkTinR1hYeqYo2bzrMjNIDQ2S4GBbNS59ZxrKd1J1E@mail.gmail.com">AANLkTinR1hYeqYo2bzrMjNIDQ2S4GBbNS59ZxrKd1J1E@mail.gmail.com</a>><br>Content-Type: text/plain; charset="iso-8859-1"<br><br>We are pleased to announce the release of<br><br><br> 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> Please let us know if you find any problems.<br><br><br> Thanks<br><br><br> Luis<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: <<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>></span><br><br>------------------------------<br><br>Message: 3<br>Date: Thu, 15 Jul 2010 09:46:15 -0400<br>From: Luis Ibanez <<a ymailto="mailto:luis.ibanez@kitware.com" href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>><br>Subject: [Insight-users] ITK 3.20
--> ITK 4.0 Transition Plan : ITK :<br> CVS --> Git<br>To: itk <<a ymailto="mailto:Insight-users@itk.org" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>>, Insight Developers<br> <<a ymailto="mailto:Insight-developers@itk.org" href="mailto:Insight-developers@itk.org">Insight-developers@itk.org</a>><br>Message-ID:<br> <<a ymailto="mailto:AANLkTin1AHPsPB9PKJhqdmD5BplfOeLBy9AqEfZLxfP6@mail.gmail.com" href="mailto:AANLkTin1AHPsPB9PKJhqdmD5BplfOeLBy9AqEfZLxfP6@mail.gmail.com">AANLkTin1AHPsPB9PKJhqdmD5BplfOeLBy9AqEfZLxfP6@mail.gmail.com</a>><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> This will be ITKv4.<br><br><br><br>The main goals for ITKv4 are:<br><br>
(1) Revising,<br> (2) Accelerating,<br> (3) Simplifying and<br> (4) 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. 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. :-)<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> 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> Thanks<br><br><br><br>
Luis<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: <<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>></span><br><br>------------------------------<br><br>Message: 4<br>Date: Thu, 15 Jul 2010 15:06:06 +0000 (UTC)<br>From: Matt McCormick <<a ymailto="mailto:matt@mmmccormick.com" href="mailto:matt@mmmccormick.com">matt@mmmccormick.com</a>><br>Subject: Re: [Insight-users] ITK 3.20 --&gt; ITK 4.0 Transition Plan :<br> ITK : CVS --&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: <<a ymailto="mailto:loom.20100715T170213-434@post.gmane.org"
href="mailto:loom.20100715T170213-434@post.gmane.org">loom.20100715T170213-434@post.gmane.org</a>><br>Content-Type: text/plain; charset=us-ascii<br><br>Luis Ibanez <luis.ibanez@...> 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! It is very exciting. 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 <<a ymailto="mailto:yass71@yahoo.com" href="mailto:yass71@yahoo.com">yass71@yahoo.com</a>><br>Subject: [Insight-users] Fw: Mesh generation<br>To: Luis Ibanez <<a ymailto="mailto:luis.ibanez@kitware.com"
href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>><br>Cc: <a ymailto="mailto:insight-users@itk.org" href="mailto:insight-users@itk.org">insight-users@itk.org</a><br>Message-ID: <<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>><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 <<a ymailto="mailto:luis.ibanez@kitware.com"
href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>><br>To: yasser salman <<a ymailto="mailto:yass71@yahoo.com" href="mailto:yass71@yahoo.com">yass71@yahoo.com</a>><br>Cc: itk <<a ymailto="mailto:Insight-users@itk.org" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>><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 <<a ymailto="mailto:yass71@yahoo.com" href="mailto:yass71@yahoo.com">yass71@yahoo.com</a>> wrote:<br><br>Hi
Luis<br>><br>>?MRI<br>>Yasser<br>><br>><br>><br>><br>________________________________<br>From: Luis Ibanez <<a ymailto="mailto:luis.ibanez@kitware.com" href="mailto:luis.ibanez@kitware.com">luis.ibanez@kitware.com</a>><br>>To: yasser salman <<a ymailto="mailto:yass71@yahoo.com" href="mailto:yass71@yahoo.com">yass71@yahoo.com</a>><br>>Cc: itk <<a ymailto="mailto:Insight-users@itk.org" href="mailto:Insight-users@itk.org">Insight-users@itk.org</a>><br>>Sent: Sat, July 10, 2010 1:08:26 PM<br>>Subject: Re: [Insight-users] Mesh generation<br>><br>><br>>?Hi Yasser,<br>><br>>From what image modality ?<br>><br>><br>>????? Luis<br>><br>><br>>----------------------------------------<br>><br>>On Fri, Jul 9, 2010 at 6:43 PM, yasser salman <<a ymailto="mailto:yass71@yahoo.com" href="mailto:yass71@yahoo.com">yass71@yahoo.com</a>> wrote:<br>><br>>Dear
Luis,<br>>>i asking for an easy way to segment /extract the whole brain from head,<br>>>is it by using threshold tech., depending on histogram?<br>>>Regards ,<br>>>Yasser<br>>><br>>><br>>><br>>><br>><br>><br><br><br> <br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br><span>URL: <<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>></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>