<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt">Hi All,<br><br>&nbsp;&nbsp;&nbsp; I am using itk version 3.20.0 on VS2008 platform for my application.&nbsp; I encounter the following error. <br><br>itkshapelabelobject.h(48) : error C2039: 'LabelObjectType' : is not a member of 'itk::LabelObject&lt;TLabel,VImageDimension&gt;'<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; with<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TLabel=LabelType,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; VImageDimension=2<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ]<br><br><br>Since the error is in the ITK file, I am not sure how to handle this.&nbsp; Any suggestions ?<br><br>The strange part is that I have been able to compile and execute the application fine for about 6 months now.&nbsp; Yesterday,
 I integrated some new files (itk and other c++ code from a colleague) and since then the re-build failed.<br><br>Given that the LabelObjectType typdef seems to be missing from the parent class LabelObject, I am not sure why the code compiled fine earlier.<br><br><br>Thank you,<br>regards, <br>Emma<br><div><span><br></span></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" 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> Sunday, October 21, 2012 9:00 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Insight-users Digest, Vol 102, Issue
 32<br> </font> </div> <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>&nbsp;&nbsp;&nbsp; <a href="http://www.itk.org/mailman/listinfo/insight-users" target="_blank">http://www.itk.org/mailman/listinfo/insight-users</a><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. one dimensional registration (accordVP)<br>&nbsp;  2. GDCM Separate diffusion images by b-value (kosborn)<br>&nbsp;  3. Re: GDCM Separate diffusion images by b-value (kosborn)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Sat, 20 Oct 2012 18:54:38 -0700 (PDT)<br>From: accordVP &lt;<a ymailto="mailto:sb_ji@yahoo.com" href="mailto:sb_ji@yahoo.com">sb_ji@yahoo.com</a>&gt;<br>Subject: [Insight-users] one dimensional registration<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:1350784478883-7581367.post@n2.nabble.com" href="mailto:1350784478883-7581367.post@n2.nabble.com">1350784478883-7581367.post@n2.nabble.com</a>&gt;<br>Content-Type: text/plain; charset=us-ascii<br><br>Hi,<br><br>Can someone provide some tips how I can achieve a
 one-dimensional<br>registration in ITK? Most of the registrations are either 2D or 3D, but for<br>my application, I need to register two 2D images along the horizontal<br>direction, i.e., the vertical direction is constrained.<br><br>It seems that it doesn't work by simply changing the dimension of the<br>translation Transform to 1D.<br><br>thanks!<br><br><br><br><br><br>--<br>View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/one-dimensional-registration-tp7581367.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/one-dimensional-registration-tp7581367.html</a><br>Sent from the ITK Insight Users mailing list archive at Nabble.com.<br><br><br>------------------------------<br><br>Message: 2<br>Date: Sun, 21 Oct 2012 06:32:54 -0700 (PDT)<br>From: kosborn &lt;<a ymailto="mailto:kevin.osborn@UNSWalumni.com" href="mailto:kevin.osborn@UNSWalumni.com">kevin.osborn@UNSWalumni.com</a>&gt;<br>Subject:
 [Insight-users] GDCM Separate diffusion images by b-value<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:1350826374171-7581369.post@n2.nabble.com" href="mailto:1350826374171-7581369.post@n2.nabble.com">1350826374171-7581369.post@n2.nabble.com</a>&gt;<br>Content-Type: text/plain; charset=us-ascii<br><br>Hi all,<br><br>I am writing an application to process diffusion weighted MR images. The<br>scanner I have access to generates a single series containing all b-values<br>acquired. Using GDCMSeriesFileNames I am able to sort the images by image<br>number (and hence b-value), but I am not able to select only those images<br>with a certain b-value. I have tried using series restrictions as follows:<br><br>&nbsp; &nbsp; &nbsp; &nbsp; itk::GDCMSeriesFileNames::Pointer nameGenerator =<br>itk::GDCMSeriesFileNames::New();<br>&nbsp; &nbsp; &nbsp; &nbsp;
 nameGenerator-&gt;SetUseSeriesDetails(true);<br>&nbsp; &nbsp; &nbsp; &nbsp; nameGenerator-&gt;AddSeriesRestriction("0018|9087");&nbsp; //Diffusion<br>b-value<br>&nbsp; &nbsp; &nbsp; &nbsp; nameGenerator-&gt;SetDirectory(dirName);<br><br>but I still get all images with all b-values.<br><br>Is it possible to separate images within the one series by b-value?<br><br>Thanks.<br><br><br><br>--<br>View this message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/GDCM-Separate-diffusion-images-by-b-value-tp7581369.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/GDCM-Separate-diffusion-images-by-b-value-tp7581369.html</a><br>Sent from the ITK Insight Users mailing list archive at Nabble.com.<br><br><br>------------------------------<br><br>Message: 3<br>Date: Sun, 21 Oct 2012 07:57:07 -0700 (PDT)<br>From: kosborn &lt;<a ymailto="mailto:kevin.osborn@UNSWalumni.com"
 href="mailto:kevin.osborn@UNSWalumni.com">kevin.osborn@UNSWalumni.com</a>&gt;<br>Subject: Re: [Insight-users] GDCM Separate diffusion images by b-value<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:1350831427405-7581370.post@n2.nabble.com" href="mailto:1350831427405-7581370.post@n2.nabble.com">1350831427405-7581370.post@n2.nabble.com</a>&gt;<br>Content-Type: text/plain; charset=us-ascii<br><br>After looking at the DICOM headers it seems this vendor doesn't store the<br>b-value in the 0018|9087 tag but instead in a private 0019|100c tag. After<br>adding the correct tag to the series restrictions unfortunately I still<br>don't get the right result. Does the GDCMSeriesFileNames class allow private<br>tags for series restrictions?<br><br><br>kosborn wrote<br>&gt; Hi all,<br>&gt; <br>&gt; I am writing an application to process diffusion weighted MR images.
 The<br>&gt; scanner I have access to generates a single series containing all b-values<br>&gt; acquired. Using GDCMSeriesFileNames I am able to sort the images by image<br>&gt; number (and hence b-value), but I am not able to select only those images<br>&gt; with a certain b-value. I have tried using series restrictions as follows:<br>&gt; <br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;  itk::GDCMSeriesFileNames::Pointer nameGenerator =<br>&gt; itk::GDCMSeriesFileNames::New();<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;  nameGenerator-&gt;SetUseSeriesDetails(true);<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;  nameGenerator-&gt;AddSeriesRestriction("0018|9087");&nbsp; //Diffusion<br>&gt; b-value<br>&gt;&nbsp; &nbsp; &nbsp; &nbsp;  nameGenerator-&gt;SetDirectory(dirName);<br>&gt; <br>&gt; but I still get all images with all b-values.<br>&gt; <br>&gt; Is it possible to separate images within the one series by b-value?<br>&gt; <br>&gt; Thanks.<br><br><br><br><br><br>--<br>View this
 message in context: <a href="http://itk-insight-users.2283740.n2.nabble.com/GDCM-Separate-diffusion-images-by-b-value-tp7581369p7581370.html" target="_blank">http://itk-insight-users.2283740.n2.nabble.com/GDCM-Separate-diffusion-images-by-b-value-tp7581369p7581370.html</a><br>Sent from the ITK Insight Users mailing list archive at Nabble.com.<br><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 102, Issue 32<br>**********************************************<br><br><br> </div> </div>  </div></body></html>