[Dcmlib] Re: [Gdcm2] gdcmPrinter
Mathieu Malaterre
mathieu.malaterre at kitware.com
Wed Mar 8 16:56:29 CET 2006
Jean-Pierre Roux wrote:
> Mathieu Malaterre wrote:
>
>> Salut,
>>
>> Ok j'ai un peu avancer dans la structure du gdcmPrinter. Si vous
>> avez deux minutes merci de l'essayer. J'ai essayer de garder en tete
>> une consommation memoire mimimun:
>> - Je retuilise tout le temps le meme gdcm::DataElement, - avec un
>> taille max de 0xfff (meme astuce que gdcm1.x)
>>
>> Ca fais que j'ai sur tout gdcmData:
>> $ time ./bin/gdcmTests TestPrinter >& /tmp/log
>> ./bin/gdcmTests TestPrinter >&/tmp/log 0.34s user 0.27s system 99%
>> cpu 0.618 total
>>
>>
>>
> Sur mon PC, avec mes données
>
> gdcm2 :
> time ./bin/gdcmTests TestPrinter >& /tmp/log
> real 0m1.532s
> user 0m0.836s
> sys 0m0.624s
C'est qd meme bizarre j'ai moins de 0.4s pour user:
$ time ./bin/gdcmTests TestPrinter >& /tmp/log
./bin/gdcmTests TestPrinter >&/tmp/log 0.37s user 0.37s
system 99% cpu 0.742 total
Et en plus j'ai beaucoup plus d'image que gdcmData normal:
$ cvs -n up
~/Creatis/gdcmData
? 0001.dcm
? 0005.005
? 001064_Philips_Flair_Breaker_useNOSHADOWSEQ.dcm
? 001073_Philips_Flair_Breaker.dcm
? 001073_Philips_Flair_Breaker_useNOSHADOWSEQ.dcm
? 012345.002.050
? 012345.002.050.vol
? 05119848_IS_Black_hasOverlayData.dcm
? 10200900_8b_Palette_RLE_blinker.dcm
? 10200901_8b_Palette_RLE_blinker.dcm
? 10200905_8b_Palette_RLE_blinker.dcm
? 1075235AnouncedAsBigEndianButIsLittleEndian.dcm
? 2929IUO2
? 2929J204
? 2929J686_8b_YBR_RLE_PlanConf0_breaker.dcm
? 2929J888_8b_YBR_RLE_PlanConf0_breaker.dcm
? AAA_Multislice_Anon.zip
? Baseline-foobar
? CT.3073.1_FromIRAD_Almost_BlackWhite.dcm
? CT.3073.1_FromIRAD_BlackWhite_breaker.dcm
? CT_PET001_CT001.dcm
? CT_Phillips_JPEG2K_Decompr_Problem.dcm
? Clunie
? E00001S03I0015.dicom
? ETIAM
? ElemZeroNotGroupLength.dcm
? ElemZeroNotGroupLength.dcm.1
? GUEREIROLUDOVIC1997052917511129
? Huge4D
? I0001_1
? Implicit-0001.dcm
? MR_Philips_Intera_Broken.dcm
? MR_Philips_Intera_Kosher.dcm
? MR_forceLoad29-1010_29-1020.dcm
? NM_FromJulius_Caesar.dcm
? PETAt001_PT204.dcm
? Philips-Intera_Unexpected_Sequence_Terminator_1.dcm
? Philips-Intera_Unexpected_Sequence_Terminator_2.dcm
? Philips-Intera_Unexpected_Sequence_Terminator_3.dcm
? PublicLiver001.anonymized.dcm.tgz
? RMI_Mattes_1_150_001_7_150_cEval0_038.dcm
? RMI_Mattes_1_150_001_7_150_cEval0_038.dcm.1
? RMI_Mattes_1_1_001_7_1_cEval0_000.dcm
? RMI_Mattes_1_1_001_7_1_cEval0_000.dcm.1
? RMI_Mattes_unevenLengthTags.dcm
? RMI_Mattes_unevenLengthTags.dcm.1
? Siemens-leonardo-bugged.dcm
? Test PETCT registration data.zip
? US.irad.27702.1.dcm
? US.irad.28317.1.dcm
? VisibleLightSamples.zip
? a.zip
? a.zip.txt
? acc-max.dcm
? bla.dcm
? diazpost.dcm
? eclipse_dose.dcm
? eclipse_plan.dcm
? exCSA_Non-Image_Storage.dcm
? exRT_Structure_Set_Storage.dcm
? foo.vtk
? i0002.dcm
? i0116.dcm
? image09.dcm
? image12.dcm
? log
? log1
? log2
? rle16loop_16b_Palette_RLE.dcm
? rle16loop_16b_Palette_RLE.dcm.1
? rusty.dcm
Ca doit dependre de la memoire de la machine. A mon avis gdcm2 doit etre
un peu plus gourmant memoire que je le pense...
Mathieu
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
Gdcm-developers mailing list
Gdcm-developers at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gdcm-developers
More information about the Dcmlib
mailing list