Skip to content

Commit

Permalink
Allow YBR_FULL for now
Browse files Browse the repository at this point in the history
  • Loading branch information
malaterre committed Jan 9, 2024
1 parent d6d3a42 commit 962bad6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Source/MediaStorageAndFileFormat/gdcmImageHelper.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -2896,6 +2896,7 @@ MediaStorage ImageHelper::ComputeMediaStorageFromModality(const char *modality,
|| pi == PhotometricInterpretation::YBR_RCT
|| pi == PhotometricInterpretation::YBR_ICT
|| pi == PhotometricInterpretation::YBR_PARTIAL_420
|| pi == PhotometricInterpretation::YBR_FULL /* PI when coming from other gdcm filter */
|| pi == PhotometricInterpretation::YBR_FULL_422 ) &&
pixeltype.GetBitsAllocated() == 8 &&
pixeltype.GetBitsStored() == 8 &&
Expand Down

0 comments on commit 962bad6

Please sign in to comment.