Closed
Description
Attaced you may find a file from a vendor which has a wrong BitAllocated, this cause the Dump to render Image in duplicated shape!
I have just fixed that with the following code.
public ushort BitsAllocated
{
get
{
var allocated = Dataset.GetSingleValue<ushort>(DicomTag.BitsAllocated);
var stored = BitsStored;
return stored == 8 && allocated > 8
? stored
: allocated;
}
}
Metadata
Metadata
Assignees
Labels
No labels