DcmPixelData::hasRepresentation checks if an appropriate representation of the pixel data is available. However, since DcmPixelData::findConformingEncapsulatedRepresentation returns either EC_Normal or EC_RepresentationNotFound
the code (in DcmPixelData::hasRepresentation):
Code: Select all
else if (repTypeSyn.isEncapsulated())
return findConformingEncapsulatedRepresentation(
repTypeSyn, repParam, found) != EC_Normal;
Best regards,
Roelant.