[Dcmlib] Bug?

Mathieu Malaterre mathieu.malaterre at gmail.com
Fri Jul 21 17:44:52 CEST 2006


Manuele,

   First of could you *please* CC dcmlib as this is the ML related to
GDCM users. You can suscribe to the ML at:

  http://www.creatis.insa-lyon.fr/Public/Gdcm/MailingList.html

  I think part of the reason for your troubles is that GDCM still
expect its users to be developers. That's why people assume you know
how open source development works (did I say bazar style ;-P).

   Anyway having PrintFile works on your file is a definite green
light on almost anything you want from GDCM lib. Now I'd like to step
back a little and know :

- What are you trying to do ?
- What is the *exact* command line you are using ?

  Keep in mind that if PrintFile was able to read your file, it
definitely means you are all set and you'll be able to work on this
file.

HTH
Mathieu
Ps: if I remember correctly you don't even need to suscribe to the
list to be able to send post, simply keep it in the CC line.

On 7/20/06, Manuele Turini <mt at dta.it> wrote:
> Hi Mathieu,
> attached you will find the output of the requested test but I haven't
> problem to read DICOM files.
> Probably I haven't well explaned my problem (sorry for my little english):
> In your library you can find several examples of code, one of this is
> WriteDicomSimple, this example doesn't correctly run.
> If you try to run this program you have as result the following message:
>
> "Error while creating the file
> This file is considered to be not readable"
>
> I don't know if the bug is present into the example or into the library, I
> have tested the library and the examples using VC 7.1 and VC 6.0 with the
> same result.
>
> Thank you in advance for your help.
>
> Manuele Turini
>
>
> ----- Original Message -----
> From: "Mathieu Malaterre" <mathieu.malaterre at gmail.com>
> To: "Manuele Turini" <mt at dta.it>; <dcmlib at creatis.insa-lyon.fr>
> Sent: Wednesday, July 19, 2006 6:20 AM
> Subject: Re: Bug?
>
>
> > [Please CC dcmlib as this is the ML related to GDCM users]
> >
> > My mistake I did not read carefully your message, my bad.
> > Anyway this is very difficult to diagnose from here, could you for
> > example run PrintFile on the file to see what it looks like:
> >
> > $ PrintFile filein=./mydicom.dcm
> >
> > Send us the output. As a side note can you load you DICOM in let say
> > TomoVision, EFilm or dcmtk ... ?
> >
> > Thanks
> > Mathieu
> > Ps: as a last solution send me a copy of the file so that I can inspect...
> >
> > On 7/17/06, Manuele Turini <mt at dta.it> wrote:
> >> Hi Mathieu,
> >> I'working with XP Pro, CMake 2.4 Patch 2 and I'haven't modified your
> >> source
> >> code.
> >> I have only tested it..
> >> Thank you for your help .....
> >>
> >> Regards
> >> Manuele
> >> ----- Original Message -----
> >> From: "Mathieu Malaterre" <mathieu.malaterre at gmail.com>
> >> To: "Manuele Turini" <mantur at users.sourceforge.net>
> >> Cc: <malat at users.sourceforge.net>; <dcmlib at creatis.insa-lyon.fr>
> >> Sent: Sunday, July 16, 2006 5:29 PM
> >> Subject: Re: Bug?
> >>
> >>
> >> > Hi Manuele,
> >> >
> >> >   Thanks a lot for taking the time to report the problem.
> >> > Unfortunately you are not giving a lot of details and it is very
> >> > difficult for me to diagnose.
> >> > Could you specify exactly:
> >> > - What OS you are running (64bits?)
> >> > - What version of CMake you are using, did you do in source or out of
> >> > source build
> >> >
> >> > Did you had any warnings during cmake configure step ?
> >> >
> >> > Thanks
> >> > Mathieu
> >> >
> >> > On 7/13/06, Manuele Turini <mantur at users.sourceforge.net> wrote:
> >> >>
> >> >> Message body follows:
> >> >>
> >> >> Hi,
> >> >> I'm testing GDCM ver. 1.2.2, but I have found problems at
> >> >> my first test.
> >> >> For example with the WriteDicomSimple, it always send an
> >> >> error message:
> >> >>
> >> >> Error while creating the file
> >> >> This file is considered to be not readable
> >> >>
> >> >> I builded the library with VC 6.0 and VC 7.1 but the result
> >> >> is always the same.
> >> >>
> >> >> Probably I do some error....can you help me?
> >> >>
> >> >> Regards
> >> >> Manuele Turini
> >> >> DTA srl
> >> >>
> >> >> --
> >> >> This message has been sent to you, a registered SourceForge.net user,
> >> >> by another site user, through the SourceForge.net site.  This message
> >> >> has been delivered to your SourceForge.net mail alias.  You may reply
> >> >> to this message using the "Reply" feature of your email client, or
> >> >> using the messaging facility of SourceForge.net at:
> >> >> https://sourceforge.net/sendmessage.php?touser=881010
> >> >>
> >> >>
> >> >
> >> >
> >> > --
> >> > Mathieu
> >> >
> >>
> >>
> >
> >
> > --
> > Mathieu
> >
>
>
>


-- 
Mathieu
-------------- next part --------------
V 0008|0005 [CS]                                             [Specific Character Set] [ISO_IR 100]
V 0008|0008 [CS]                                                         [Image Type] [ORIGINAL\PRIMARY\SINGLE PLANE ]
V 0008|0016 [UI]                                                      [SOP Class UID] [1.2.840.10008.5.1.4.1.1.12.2]  ==>	[X-Ray Radiofluoroscoping Image Storage]
V 0008|0018 [UI]                                                   [SOP Instance UID] [1.3.46.670589.6.1.0.96421041.78050318135455 ]
V 0008|0020 [DA]                                                         [Study Date] [19941024]
V 0008|0021 [DA]                                                        [Series Date] [19941024]
V 0008|0022 [DA]                                                   [Acquisition Date] [19941024]
V 0008|0023 [DA]                                                       [Content Date] [19941024]
V 0008|0030 [TM]                                                         [Study Time] [084306]
V 0008|0031 [TM]                                                        [Series Time] [084306]
V 0008|0032 [TM]                                                   [Acquisition Time] [084306]
V 0008|0033 [TM]                                                       [Content Time] [084306]
V 0008|0050 [SH]                                                   [Accession Number] []
V 0008|0060 [CS]                                                           [Modality] [RF]
V 0008|0070 [LO]                                                       [Manufacturer] [Philips Medical Systems ]
V 0008|0080 [LO]                                                   [Institution Name] [Burgers Bush]
V 0008|0090 [PN]                                         [Referring Physician's Name] [D76 ]
V 0008|1010 [SH]                                                       [Station Name] [DSI-Ficus ]
V 0008|1030 [LO]                                                  [Study Description] [IRR ]
V 0008|1050 [PN]                                        [Performing Physician's Name] [D76 ]
V 0008|1090 [LO]                                          [Manufacturer's Model Name] [DSI R4.2.1]
V 0010|0010 [PN]                                                     [Patient's Name] [Colon ]
V 0010|0020 [LO]                                                         [Patient ID] [FKF ]
V 0010|0030 [DA]                                               [Patient's Birth Date] [19610910]
V 0010|0040 [CS]                                                      [Patient's Sex] [F ]
V 0018|0060 [DS]                                                                [KVP] []
V 0018|1000 [LO]                                               [Device Serial Number] [96421041]
V 0018|1020 [LO]                                                [Software Version(s)] [R4.2.1 LUTPROM   92-06-03 R1.0.0 a_test ]
V 0018|1030 [LO]                                                      [Protocol Name] [IRR ]
V 0018|1152 [IS]                                                           [Exposure] []
V 0018|1155 [CS]                                                  [Radiation Setting] [GR]
V 0018|1600 [CS]                                                      [Shutter Shape] [CIRCULAR\RECTANGULAR]
V 0018|1602 [IS]                                         [Shutter Left Vertical Edge] [38]
V 0018|1604 [IS]                                        [Shutter Right Vertical Edge] [986 ]
V 0018|1606 [IS]                                      [Shutter Upper Horizontal Edge] [0 ]
V 0018|1608 [IS]                                      [Shutter Lower Horizontal Edge] [1024]
V 0018|1610 [IS]                                         [Center of Circular Shutter] [512 \512  ]
V 0018|1612 [IS]                                         [Radius of Circular Shutter] [508 ]
V 0020|000d [UI]                                                 [Study Instance UID] [1.3.46.670589.6.1.0.96421041.78050318135456 ]
V 0020|000e [UI]                                                [Series Instance UID] [1.3.46.670589.6.1.0.96421041.78050318135457 ]
V 0020|0010 [SH]                                                           [Study ID] []
V 0020|0011 [IS]                                                      [Series Number] [2 ]
V 0020|0012 [IS]                                                 [Acquisition Number] [1 ]
V 0020|0013 [IS]                                                    [Instance Number] [1 ]
V 0020|0020 [CS]                                                [Patient Orientation] []
V 0020|0060 [CS]                                                         [Laterality] []
V 0028|0002 [US]                                                  [Samples per Pixel] [1] x(1)
V 0028|0004 [CS]                                         [Photometric Interpretation] [MONOCHROME2 ]
V 0028|0010 [US]                                                               [Rows] [1024] x(400)
V 0028|0011 [US]                                                            [Columns] [1024] x(400)
V 0028|0100 [US]                                                     [Bits Allocated] [8] x(8)
V 0028|0101 [US]                                                        [Bits Stored] [8] x(8)
V 0028|0102 [US]                                                           [High Bit] [7] x(7)
V 0028|0103 [US]                                               [Pixel Representation] [0] x(0)
V 0028|1040 [CS]                                       [Pixel Intensity Relationship] [DISP]
V 0028|1050 [DS]                                                      [Window Center] [126 ]
V 0028|1051 [DS]                                                       [Window Width] [145 ]
B 7fe0|0010 [OB]                                                         [Pixel Data] [gdcm::Pixel Data to be loaded]
--- Pixel information -------------------------
Pixel Data: offset 954 x(3ba)   length 1048576 x(100000)




 dataSize    1048576
 dataSizeRaw 1048576
 DIMX=1024 DIMY=1024 DIMZ=1
 pixelType= [8U] SamplesPerPixel= [1] PlanarConfiguration= [0] 
 PhotometricInterpretation= [MONOCHROME2 ] 
 NumberOfScalarComponents = 1
 LUT = FALSE
 TransferSyntaxName= [Uncompressed ACR-NEMA]
 SwapCode= 1234
 ------
Orientation [gdcm::Unfound]

./colon.dcm is Readable



More information about the Dcmlib mailing list