[Dcmlib] Loading twice the same File
Jean-Pierre Roux
jpr at creatis.insa-lyon.fr
Thu Jul 7 17:55:08 CEST 2005
Mathieu Malaterre wrote:
>> I don't agree with the use of the Modified flag.
>> It's used in VTK because we have a pipeline... but in gdcm, we can't
>> have this
>> mechanism (it has been discussed in an older mail).
>
> what ? ref/link please ...
>
>> Moreover, if the user change it's file with an other soft and would
>> reread its
>> file with gdcm (without closing this application), the file isn't re
>> read.
>> I think that's bad !
>
> I have absolutely no clue what you are talking about ?
==> What Benoit meant is that if the user writes :
f->SetFileName("foo.dcm");
f->Load();
<------------------------------------------- User modifies the "Patient
Name" with hexedit (*)
f->Load(); // The header is *not* reloaded
Pfff !
JPRx
(*) User would better to go and see a medical doctor, not to play with
medical images ;-)
>
> App 1:
> open foo.dcm with gdcm
> write over foo.dcm
>
> the reader has it's own Modified bool
>
> App 2:
> open foo.dcm
> -> Modified is set to false... reading happen
>
>
> The static context only happen for the dictionary (loaded in the dll)...
> Mathieu
> _______________________________________________
> Dcmlib mailing list
> Dcmlib at creatis.insa-lyon.fr
> http://www.creatis.insa-lyon.fr/mailman/listinfo/dcmlib
>
More information about the Dcmlib
mailing list