[Insight-users] void SerieHelper::SetUseSeriesDetails( bool useSeriesDetails )
Mengda Wu
wumengda at gmail.com
Wed Oct 23 22:54:50 EDT 2013
Hi all,
I happened to experience the same bug. I am curious to see it is still
there in ITK-4.4.1 release. Can anyone in gdcm and ITK teams integrate this
fix?
Thanks,
Mengda
On Thu, Jan 10, 2013 at 12:01 PM, Matt McCormick <matt.mccormick at kitware.com
> wrote:
> Hi Ale,
>
> To get the fix integrated, write at test along with the fix, and
> submit it to upstream GDCM:
>
> https://lists.sourceforge.net/lists/listinfo/gdcm-developers
>
> and ITK:
>
> http://www.itk.org/Wiki/ITK/Git/Develop
>
> Please let me know if there are any questions.
>
> Thanks,
> Matt
>
> On Thu, Jan 10, 2013 at 9:16 AM, Alessandro <notinmyhead at gmail.com> wrote:
> > Hi,
> >
> > I refer to this email (dated 10/23/2012):
> >
> > Il giorno 23/ott/2012, alle ore 13.33, kosborn ha scritto:
> >
> >> Instead of trying to bypass the bug, a better solution is to fix it as
> >> someone else pointed out in an earlier thread. Edit the file
> >>
> InsightToolkit-4.2.1/Modules/ThirdParty/GDCM/src/gdcm/Source/MediaStorageAndFileFormat/gdcmSerieHelper.cxx
> >>
> >> and change the SetUseSeriesDetails method to
> >>
> >> void SerieHelper::SetUseSeriesDetails( bool useSeriesDetails )
> >> {
> >> //UseSeriesDetails = useSeriesDetails;
> >> m_UseSeriesDetails = useSeriesDetails;
> >> }
> >>
> >> and rebuild ITK. Then the AddSeriesRestriction method of
> GDCMSeriesFileNames
> >> works as it should. In my case
> >>
> >> itk::GDCMSeriesFileNames::Pointer nameGenerator =
> >> itk::GDCMSeriesFileNames::New();
> >> nameGenerator->SetLoadSequences(true);
> >> nameGenerator->SetLoadPrivateTags(true);
> >> nameGenerator->SetUseSeriesDetails(true);
> >> nameGenerator->AddSeriesRestriction("0019|100c");
> >> nameGenerator->SetDirectory("path/to/dicom/files");
> >> itk::SerieUIDContainer uids = nameGenerator->GetSeriesUIDs();
> >>
> >> gives me as many series uids are there are b-values, using 0019|100c as
> the
> >> private Siemens tag for b-values.
> >>
> >> Good luck, Kevin
> >
> >
> > _____________________________________
> > Powered by www.kitware.com
> >
> > Visit other Kitware open-source projects at
> > http://www.kitware.com/opensource/opensource.html
> >
> > Kitware offers ITK Training Courses, for more information visit:
> > http://www.kitware.com/products/protraining.php
> >
> > Please keep messages on-topic and check the ITK FAQ at:
> > http://www.itk.org/Wiki/ITK_FAQ
> >
> > Follow this link to subscribe/unsubscribe:
> > http://www.itk.org/mailman/listinfo/insight-users
> _____________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Kitware offers ITK Training Courses, for more information visit:
> http://www.kitware.com/products/protraining.php
>
> Please keep messages on-topic and check the ITK FAQ at:
> http://www.itk.org/Wiki/ITK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.itk.org/mailman/listinfo/insight-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20131023/8562d6cd/attachment.htm>
More information about the Insight-users
mailing list