[Dcmlib] BinEntry::WriteContent
Jean-Pierre Roux
Jean-Pierre.Roux at creatis.insa-lyon.fr
Mon Oct 10 17:37:27 CEST 2005
Mathieu Malaterre wrote:
> Quick question:
>
> when is this code used ?
>
--> everything a Dicom element was not loaded before (and is not loaded
after :-( )
> ...
> else
> {
> // nothing was loaded, but we need to skip space on disc
> fp->seekp(lgr, std::ios::cur);
> }
> }
>
> Aren't we writting junk on disk ?
--> Very few, and not very often ...
But, sure, we *do* write junk areas on disk (if you grep NotLoaded on
the result of TestPrintAllDocument, you'll see it concerns only 7fe0
(Pixels) -no pb, they are loaded elsewhere) or 7fe1 elements (private
*very long* area)
BTW : PrintFile on gdcmData/gdcm-JPEG-LossLessThoravision.dcm
shows me some very ugly lines lines, like :
| | V 0008|0000 lg : x(e000fffe) 3758161918 Off.: x(1c0a) 7178 [UL]
[Group Length] [gdcm::NotLoaded Address:7178 Length:3758161918
x(e000fffe)] x(0)
One more oddity we never realized it existed before ?!?
JPRx
>
> 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