[Insight-users] GetRegion() not functioning with LabelGeometryImageFilter

Emma Ryan eryanvtk at yahoo.com
Thu Jul 15 20:35:02 EDT 2010


Dear All,
 
   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 ?

Thank you,
Emma

Error: Error    1    error C2039: 'size' : is not a member of 
'itk::FixedArray<TValueType,VLength>'    



typedef itk::LabelGeometryImageFilter< UCharImageType, ImageType> 
LabelGeometryType;
    LabelGeometryType::Pointer labelGeometry = LabelGeometryType::New();
    labelGeometry->SetInput( relabel_filter->GetOutput());
    labelGeometry->Update();

    for(int i=1; i<numObjs; ++i)
    {
            ImageType::RegionType region = labelGeometry->GetRegion(i);   //Line 
causing problems.
           //Do something...
    }





________________________________
From: "insight-users-request at itk.org" <insight-users-request at itk.org>
To: insight-users at itk.org
Sent: Thu, July 15, 2010 9:00:49 AM
Subject: Insight-users Digest, Vol 75, Issue 26

Send Insight-users mailing list submissions to
    insight-users at itk.org

To subscribe or unsubscribe via the World Wide Web, visit
    http://www.itk.org/mailman/listinfo/insight-users
or, via email, send a message with subject or body 'help' to
    insight-users-request at itk.org

You can reach the person managing the list at
    insight-users-owner at itk.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Insight-users digest..."


Today's Topics:

   1. Calibration using Levenberg-Marquardt optimizer (Michael Kirches)
   2. ANNOUNCEMENT: ITK 3.20 RELEASED ! (Luis Ibanez)
   3. ITK 3.20 --> ITK 4.0 Transition Plan : ITK : CVS    --> Git
      (Luis Ibanez)
   4. Re: ITK 3.20 --&gt; ITK 4.0 Transition Plan : ITK : CVS
      --&gt; Git (Matt McCormick)
   5. Fw:  Mesh generation (yasser salman)


----------------------------------------------------------------------

Message: 1
Date: Thu, 15 Jul 2010 12:13:45 +0200
From: Michael Kirches <michael.kirches at googlemail.com>
Subject: [Insight-users] Calibration using Levenberg-Marquardt
    optimizer
To: insight-users at itk.org
Message-ID: <4C3EDF59.9060206 at googlemail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Dear list,

as I have written to this list before, I have to solve a calibration 
problem for my current project. The problem is about finding eight 
parameters for a coordinate transformation from 2D ultrasound image 
space into a 3D world coordinate system defined by a tracking device. 
The tracking device provides information about spatial position and 
orientation of tracked objects (like a steel rod or something similar).
To find the eight parameters (6 for translation and rotation, 2 for 
scaling), I need to solve a numeric optimization problem. So far, I read 
some examples that use Levenberg-Marquardt optimizer for registration 
problems, so I know how to setup the optimizer in general. I guess to 
solve my problem, I need to implement some kind of mapper to do the 
transformation from 2D into 3D coordinates with the ability to connect 
the optimizer to this mapper class. What base class could I use to do so?

Regards

Michael


------------------------------

Message: 2
Date: Thu, 15 Jul 2010 09:18:09 -0400
From: Luis Ibanez <luis.ibanez at kitware.com>
Subject: [Insight-users] ANNOUNCEMENT: ITK 3.20 RELEASED !
To: itk <Insight-users at itk.org>,    Insight Developers
    <Insight-developers at itk.org>
Message-ID:
    <AANLkTinR1hYeqYo2bzrMjNIDQ2S4GBbNS59ZxrKd1J1E at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

We are pleased to announce the release of


                       ITK 3.20


Source files and download instructions are available at
http://itk.org/ITK/resources/software.html


The list of new files can be found at:
http://www.itk.org/Wiki/ITK_Release_3.20


The list of changed files can be found at:
http://www.itk.org/Wiki/ITK_Release_3.20_Changed_From_Previous



    Please let us know if you find any problems.


         Thanks


               Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.itk.org/pipermail/insight-users/attachments/20100715/936af08b/attachment-0001.htm>


------------------------------

Message: 3
Date: Thu, 15 Jul 2010 09:46:15 -0400
From: Luis Ibanez <luis.ibanez at kitware.com>
Subject: [Insight-users] ITK 3.20 --> ITK 4.0 Transition Plan : ITK :
    CVS    --> Git
To: itk <Insight-users at itk.org>,    Insight Developers
    <Insight-developers at itk.org>
Message-ID:
    <AANLkTin1AHPsPB9PKJhqdmD5BplfOeLBy9AqEfZLxfP6 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

As many of you may know, we are working on
a major new version of ITK:


                    This will be ITKv4.



The main goals for ITKv4 are:

        (1)  Revising,
        (2)  Accelerating,
        (3)  Simplifying and
        (4)  Improving DICOM support in ITK.


To that end we have drafted a Transition Plan to go
from ITK 3.20 to ITKv4.  The current form of this plan
is available in the Wiki page:

http://www.itk.org/Wiki/ITK_Release_4/Migration_Plan


A schematic representation of th plan is available at:

http://www.itk.org/Wiki/File:ITKv4-TransitionPlanProposal.png



The intermediate Phases of the Transition Plan
have been sketched out in

http://www.itk.org/Wiki/ITK_Release_4/Migration_Plan/Phases

an equivalent document is available at:
http://www.itk.org/Wiki/images/5/5c/ITKv4-TransitionPlan-Draft.pdf



Please share with us your impression on how
the current transition plan may impact your use
of ITK.


---


At this point, we have executed:

* Release of ITK 3.20 : July 15th

We are now in the process of:

* Porting ITK from CVS to Git.

As we move to Git, a lot of effort is being invested
in preserving the CVS history.

We anticipate that ITK-Git will be settle by the end of July.


It is therefore a good moment for you to start learning Git.  :-)

Resources are available at:
http://git-scm.com/documentation

We recommend that you start by watching this talk
that Linus Torvals gave at Google:

http://www.youtube.com/watch?v=4XpnKHJAok8

Then follow up with the official Git tutorial

http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html

( but, please note that there are many other
    resources available for learning Git )


--


We will appreciate any suggestions on how to
improve the Transition Plan, and how to minimize
the effort that users will have to invest for migrating
to ITKv4.




     Thanks



           Luis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.itk.org/pipermail/insight-users/attachments/20100715/7184d3d1/attachment-0001.htm>


------------------------------

Message: 4
Date: Thu, 15 Jul 2010 15:06:06 +0000 (UTC)
From: Matt McCormick <matt at mmmccormick.com>
Subject: Re: [Insight-users] ITK 3.20 --&gt; ITK 4.0 Transition Plan :
    ITK : CVS    --&gt; Git
To: insight-users at itk.org
Message-ID: <loom.20100715T170213-434 at post.gmane.org>
Content-Type: text/plain; charset=us-ascii

Luis Ibanez <luis.ibanez at ...> writes:
Porting ITK from CVS to Git.As we move to Git, a lot of effort is being invested 

in preserving the CVS history.We anticipate that ITK-Git will be settle by the 
end of July.

Huge commendations for making this change!  It is very exciting.  It will make 
doing development with and for ITK much easier.

Matt



------------------------------

Message: 5
Date: Thu, 15 Jul 2010 08:29:37 -0700 (PDT)
From: yasser salman <yass71 at yahoo.com>
Subject: [Insight-users] Fw:  Mesh generation
To: Luis Ibanez <luis.ibanez at kitware.com>
Cc: insight-users at itk.org
Message-ID: <594694.20826.qm at web50601.mail.re2.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"



Hi Luis,

I have a MRI brain volume, i wanna to do that:
1- Extract the Brain only from the volume.??
2- Segment Brain to Gray / White matter/ ?CFS.? (may be tumor in the future will 

be considered)
3- Output this segmented volume to FEM (Ansys) .??
Could you please let me know the shortcut to do that
Regards,
Yasser





________________________________
From: Luis Ibanez <luis.ibanez at kitware.com>
To: yasser salman <yass71 at yahoo.com>
Cc: itk <Insight-users at itk.org>
Sent: Sun, July 11, 2010 8:27:18 AM
Subject: Re: [Insight-users] Mesh generation


Hi Yasser,

Do you need something more detailed than Skull-removal ?

The first thing in MRI will be to evaluate whether
you need bias-field correction or not.

Please provide more details on what you are trying to achieve.


???? Thanks


?????????? Luis


------------------------------------------------------------------------------

On Sun, Jul 11, 2010 at 11:20 AM, yasser salman <yass71 at yahoo.com> wrote:

Hi Luis
>
>?MRI
>Yasser
>
>
>
>
________________________________
From: Luis Ibanez <luis.ibanez at kitware.com>
>To: yasser salman <yass71 at yahoo.com>
>Cc: itk <Insight-users at itk.org>
>Sent: Sat, July 10, 2010 1:08:26 PM
>Subject: Re: [Insight-users] Mesh generation
>
>
>?Hi Yasser,
>
>From what image modality ?
>
>
>????? Luis
>
>
>----------------------------------------
>
>On Fri, Jul 9, 2010 at 6:43 PM, yasser salman <yass71 at yahoo.com> wrote:
>
>Dear Luis,
>>i asking for an easy way to segment /extract the whole brain from head,
>>is it by using threshold tech., depending on histogram?
>>Regards ,
>>Yasser
>>
>>
>>
>>
>
>


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://www.itk.org/pipermail/insight-users/attachments/20100715/5024a9ce/attachment-0001.htm>


------------------------------

_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users


End of Insight-users Digest, Vol 75, Issue 26
*********************************************



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20100715/521e3918/attachment-0001.htm>


More information about the Insight-users mailing list