13thsymphony / HDRImageViewer

UWP app to view high dynamic range (HDR) and wide color gamut (WCG) images.
https://13thsymphony.github.io/
MIT License
76 stars 21 forks source link

ComputeHdrMetadata: sometimes histogram returns large pixel count for last bucket (1 million nits) #58

Open 13thsymphony opened 1 year ago

13thsymphony commented 1 year ago

I see this nondeterminstically/spuriously - occasionally a histogramData[399] value of greater than 0.01, which is known incorrect for the image. Right now, this is worked around by ignoring the last bucket.