Problem with Palette Color

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
m-ishihara
Posts: 40
Joined: Thu, 2008-09-18, 09:20
Location: Japan

Problem with Palette Color

#1 Post by m-ishihara »

Hi OFFIC Team,

The last week, I heard that dcmtk 3.5.4 has a bug about Palette Color.
The phenomenon is that a certain Palette Color data is not properly displayed, because dcmtk interprets incorrectly the palette descriptor, the explanation is as follows;

> Now the BitsPerTableEntry stored in the LUT descriptor is used by
> default. The previous behavior can be enabled using the ELM_CheckValue
> mode.

And yet, it is announcing that there is a description in the source code as follows;

/** bits per table entry modes.
* Specifies whether the given value in the LUT descriptor is used.
*/
enum EL_BitsPerTableEntry
{
/// use given value
ELM_UseValue,
/// ignore given value, use auto detection
ELM_IgnoreValue,
/// check whether given value is consistent with LUT data
ELM_CheckValue
};

But, unfortunately, I can't find the above description.
Please let me know what you are making of that problem.
Please let me know the cause and the solution.

Thanks,
Maty

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

Did you download the latest snapshot?

m-ishihara
Posts: 40
Joined: Thu, 2008-09-18, 09:20
Location: Japan

#3 Post by m-ishihara »

Hi OFFIC Team,

Thank you for your reply.
I had immidiately tried downloading the latest snapshot, but I could not find out the description in regard to BitsPerTableEntry and ELM_CheckValue.
The compressed file name is "dcmtk_20080627.tar.gz", isn't it right?
If so, please let me know where the description is.
If not, please tell me which file is the latest.

Thanks,
Maty

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#4 Post by Jörg Riesmeier »

Look into file "dcmtk/dcmimgle/include/dcmtk/dcmimgle/diutils.h" ...

Post Reply

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Semrush [Bot] and 1 guest