[Insight-users] [ANNOUNCEMENT] ITK 4.3 has been released!

Matt McCormick matt.mccormick at kitware.com
Thu Jan 10 12:01:19 EST 2013


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


More information about the Insight-users mailing list