ImageBufAlgo::color_range_check and oiiotool --rangecheck
Both can be used to count how many pixels have values that fall outside
the specified range.