[Insight-users] LabelObjectType not a member

Emma Ryan eryanvtk at yahoo.com
Thu Nov 15 11:58:33 EST 2012


Hi All,

    I am using itk version 3.20.0 on VS2008 platform for my application.  I encounter the following error. 

itkshapelabelobject.h(48) : error C2039: 'LabelObjectType' : is not a member of 'itk::LabelObject<TLabel,VImageDimension>'
        with
        [
            TLabel=LabelType,
            VImageDimension=2
        ]


Since the error is in the ITK file, I am not sure how to handle this.  Any suggestions ?

The strange part is that I have been able to compile and execute the application fine for about 6 months now.  Yesterday, I integrated some new files (itk and other c++ code from a colleague) and since then the re-build failed.

Given that the LabelObjectType typdef seems to be missing from the parent class LabelObject, I am not sure why the code compiled fine earlier.


Thank you,
regards,
Emma




________________________________
 From: "insight-users-request at itk.org" <insight-users-request at itk.org>
To: insight-users at itk.org 
Sent: Sunday, October 21, 2012 9:00 AM
Subject: Insight-users Digest, Vol 102, Issue 32
 
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. one dimensional registration (accordVP)
   2. GDCM Separate diffusion images by b-value (kosborn)
   3. Re: GDCM Separate diffusion images by b-value (kosborn)


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

Message: 1
Date: Sat, 20 Oct 2012 18:54:38 -0700 (PDT)
From: accordVP <sb_ji at yahoo.com>
Subject: [Insight-users] one dimensional registration
To: insight-users at itk.org
Message-ID: <1350784478883-7581367.post at n2.nabble.com>
Content-Type: text/plain; charset=us-ascii

Hi,

Can someone provide some tips how I can achieve a one-dimensional
registration in ITK? Most of the registrations are either 2D or 3D, but for
my application, I need to register two 2D images along the horizontal
direction, i.e., the vertical direction is constrained.

It seems that it doesn't work by simply changing the dimension of the
translation Transform to 1D.

thanks!





--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/one-dimensional-registration-tp7581367.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


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

Message: 2
Date: Sun, 21 Oct 2012 06:32:54 -0700 (PDT)
From: kosborn <kevin.osborn at UNSWalumni.com>
Subject: [Insight-users] GDCM Separate diffusion images by b-value
To: insight-users at itk.org
Message-ID: <1350826374171-7581369.post at n2.nabble.com>
Content-Type: text/plain; charset=us-ascii

Hi all,

I am writing an application to process diffusion weighted MR images. The
scanner I have access to generates a single series containing all b-values
acquired. Using GDCMSeriesFileNames I am able to sort the images by image
number (and hence b-value), but I am not able to select only those images
with a certain b-value. I have tried using series restrictions as follows:

        itk::GDCMSeriesFileNames::Pointer nameGenerator =
itk::GDCMSeriesFileNames::New();
        nameGenerator->SetUseSeriesDetails(true);
        nameGenerator->AddSeriesRestriction("0018|9087");  //Diffusion
b-value
        nameGenerator->SetDirectory(dirName);

but I still get all images with all b-values.

Is it possible to separate images within the one series by b-value?

Thanks.



--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/GDCM-Separate-diffusion-images-by-b-value-tp7581369.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


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

Message: 3
Date: Sun, 21 Oct 2012 07:57:07 -0700 (PDT)
From: kosborn <kevin.osborn at UNSWalumni.com>
Subject: Re: [Insight-users] GDCM Separate diffusion images by b-value
To: insight-users at itk.org
Message-ID: <1350831427405-7581370.post at n2.nabble.com>
Content-Type: text/plain; charset=us-ascii

After looking at the DICOM headers it seems this vendor doesn't store the
b-value in the 0018|9087 tag but instead in a private 0019|100c tag. After
adding the correct tag to the series restrictions unfortunately I still
don't get the right result. Does the GDCMSeriesFileNames class allow private
tags for series restrictions?


kosborn wrote
> Hi all,
> 
> I am writing an application to process diffusion weighted MR images. The
> scanner I have access to generates a single series containing all b-values
> acquired. Using GDCMSeriesFileNames I am able to sort the images by image
> number (and hence b-value), but I am not able to select only those images
> with a certain b-value. I have tried using series restrictions as follows:
> 
>         itk::GDCMSeriesFileNames::Pointer nameGenerator =
> itk::GDCMSeriesFileNames::New();
>         nameGenerator->SetUseSeriesDetails(true);
>         nameGenerator->AddSeriesRestriction("0018|9087");  //Diffusion
> b-value
>         nameGenerator->SetDirectory(dirName);
> 
> but I still get all images with all b-values.
> 
> Is it possible to separate images within the one series by b-value?
> 
> Thanks.





--
View this message in context: http://itk-insight-users.2283740.n2.nabble.com/GDCM-Separate-diffusion-images-by-b-value-tp7581369p7581370.html
Sent from the ITK Insight Users mailing list archive at Nabble.com.


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

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


End of Insight-users Digest, Vol 102, Issue 32
**********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20121115/a30b9259/attachment-0001.htm>


More information about the Insight-users mailing list