[Gdcm2] I: Extract SQ tags (header dicom)
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: <edo...@al...> - 2010-03-17 15:13:26
|
Thank you!
Sorry, but it just a little time that I use gdcm.
Now my problem is the DICOMDIR; when I run ReadAndDumpDICOMDIR.cxx with my dicom file as the first argument the output is: This file is not a DICOMDIR
So I have tried to make DICOMDIR with the command dcmmkdir but when I run:
$ dcmmkdir --recurse --output-file ~/ITK/prova_dicom/bin/DICOMDIR --input-directory ~/ITK/prova_dicom/bin/carotid_images/
the output is:
Error: invalid character(s) in filename: no_backscattering01.dcm
^
Error: component too large (max 8 characters) in filename: no_backscattering01.dcm
Error: invalid character(s) in filename: healthycca_backscattering.dcm
^
Error: component too large (max 8 characters) in filename: healthycca_backscattering.dcm
Error: invalid character(s) in filename: .DS_Store
^
Error: component too large (max 8 characters) in filename: .DS_Store
Error: invalid character(s) in filename: prova2.dcm
^
Error: component too large (max 8 characters) in filename: prova2.dcm
Error: invalid character(s) in filename: prova.dcm
^
Error: component too large (max 8 characters) in filename: prova.dcm
Error: invalid character(s) in filename: fibrosa02.dcm
^
Error: component too large (max 8 characters) in filename: fibrosa02.dcm
Error: invalid character(s) in filename: carotid.dcm
^
Error: component too large (max 8 characters) in filename: carotid.dcm
Error: invalid character(s) in filename: no_backscattering02.dcm
^
Error: component too large (max 8 characters) in filename: no_backscattering02.dcm
Error: invalid character(s) in filename: placca02.dcm
^
Error: component too large (max 8 characters) in filename: placca02.dcm
Error: invalid character(s) in filename: noisy01.dcm
^
Error: component too large (max 8 characters) in filename: noisy01.dcm
Error: invalid character(s) in filename: placca01.dcm
^
Error: component too large (max 8 characters) in filename: placca01.dcm
Error: invalid character(s) in filename: placcanoisy01.dcm
^
Error: component too large (max 8 characters) in filename: placcanoisy01.dcm
Error: invalid character(s) in filename: trigolo_plaque_shadow.dcm
^
Error: component too large (max 8 characters) in filename: trigolo_plaque_shadow.dcm
Error: invalid character(s) in filename: soft01.dcm
^
Error: component too large (max 8 characters) in filename: soft01.dcm
dcmmkdir: error: no good files: DICOMDIR not created
edoardo@edoardo-laptop:~/ITK/prova_dicom/bin$ dcmgpdir carotid.dcm
Error: invalid character(s) in filename: carotid.dcm
^
Error: component too large (max 8 characters) in filename: carotid.dcm
dcmgpdir: error: no good files: DICOMDIR not created
And with simply: dcmmkdir carotid.dcm the output is the same.
Thank you very much
Edoardo
================================================
-----Messaggio originale----- is
Da: Mathieu Malaterre [mailto:mat...@gm...]
Inviato: mar 16/03/2010 17.49
A: edo...@al...
Cc: GDCM-developers
Oggetto: Re: [Gdcm2] Extract SQ tags (header dicom)
To compile an executable called edoardo.cxx all you need in your
cmakelists.txt file is:
add_executable(edoardo edoardo.cxx)
target_link_libraries(edoardo gdcmMSFF)
anything else is garbage. Do not copy cmakelists.txt blindly, please.
On Tue, Mar 16, 2010 at 5:35 PM, <edo...@al...> wrote:
> I have a problem with ccmake
> the output is that:
>
> CMake Warning at CMakeLists.txt:14 (FIND_PACKAGE):
> Could not find module FindMAGIC.cmake or a configuration file for package
> MAGIC.
>
> Adjust CMAKE_MODULE_PATH to find FindMAGIC.cmake or set MAGIC_DIR to the
> directory containing a CMake configuration file for MAGIC. The file will
> have one of the following names:
>
> MAGICConfig.cmake
> magic-config.cmake
>
> I have searched these files in my gdcm directory but there aren't
>
> Thank you very much
> Edoardo
>
>
> -----Messaggio originale-----
> Da: Mathieu Malaterre [mailto:mat...@gm...]
> Inviato: mar 16/03/2010 15.40
> A: edo...@al...
> Cc: gdcm-developers
> Oggetto: Re: [Gdcm2] Extract SQ tags (header dicom)
>
> [No private email thanks]
>
> Here you go:
> http://gdcm.svn.sf.net/viewvc/gdcm/trunk/Examples/Cxx/ReadAndDumpDICOMDIR.cxx?view=log
>
> On Tue, Mar 16, 2010 at 3:33 PM, <edo...@al...> wrote:
>> Sorry but in my directory gdcm/Examples/Cxx/ there isn't the file
>> ReadAndDumpDICOMDIR.cxx
>> Can you send me? and can you give me also the CMakeLists.txt to run it?
>> Thank you very much
>> Edoardo Belletti
>>
>> -----Messaggio originale-----
>> Da: Mathieu Malaterre [mailto:mat...@gm...]
>> Inviato: mar 16/03/2010 10.59
>> A: edo...@al...
>> Cc: GDCM-developers
>> Oggetto: Re: [Gdcm2] Extract SQ tags (header dicom)
>>
>> I am guessing you are a C++ user then. I this case there is an example
>> on how to get items from a SequenceOfItems:
>>
>> gdcm/Examples/Cxx/ReadAndDumpDICOMDIR.cxx
>>
>>
>> HTH
>>
>> On Sun, Mar 14, 2010 at 11:12 PM, <edo...@al...> wrote:
>>>
>>> Hi
>>> There is some one who can give me a code for extract the SQ tags form the
>>> header dicom? In particular I need the tag SequenceOfUltrasoundReagions
>>> and
>>> the four sub-fields Region Location. I need it for use with ITK.
>>>
>>> Thank you very much
>>> Edoardo
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Download Intel® Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> _______________________________________________
>>> Gdcm-developers mailing list
>>> Gdc...@li...
>>> https://lists.sourceforge.net/lists/listinfo/gdcm-developers
>>>
>>>
>>
>>
>>
>> --
>> Mathieu
>>
>>
>
>
>
> --
> Mathieu
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Gdcm-developers mailing list
> Gdc...@li...
> https://lists.sourceforge.net/lists/listinfo/gdcm-developers
>
>
--
Mathieu
|