-/**
- * \ingroup gdcmFile
- * \brief drop palette related initial values -if any-
- * (InitialLutDescriptors and InitialLutData)
- * out of header, to make it consistent with the Pixel_Data
- * as it's loaded in memory
- */
-
-//FIXME : Should be nice, if we could let it here.
-// will be moved to PixelData class
-// Now, the job is done in gdcmHeader.cxx
-
- /*
-void gdcmFile::DropInitialValues()
-{
- gdcmHeader* h=GetHeader();
- if ( GetEntryByNumber(0x0028,0x0002).c_str()[0] == '3' )
- {
- // if SamplesPerPixel = 3, sure we don't need any LUT !
- // Drop 0028|1101, 0028|1102, 0028|1103
- // Drop 0028|1201, 0028|1202, 0028|1203
-
- gdcmDocEntry* e = h->GetDocEntryByNumber(0x0028,0x01101);
- if (e)
- {
- h->RemoveEntryNoDestroy(e);
- }
- e = h->GetDocEntryByNumber(0x0028,0x1102);
- if (e)
- {
- h->RemoveEntryNoDestroy(e);
- }
- e = h->GetDocEntryByNumber(0x0028,0x1103);
- if (e)
- {
- h->RemoveEntryNoDestroy(e);
- }
- e = h->GetDocEntryByNumber(0x0028,0x01201);
- if (e)
- {
- h->RemoveEntryNoDestroy(e);
- }
- e = h->GetDocEntryByNumber(0x0028,0x1202);
- if (e)
- {
- h->RemoveEntryNoDestroy(e);
- }
- e = h->GetDocEntryByNumber(0x0028,0x1203);
- if (e)
- {
- h->RemoveEntryNoDestroy(e);
- }
- }
-}
-*/
-