A method for the automatic detection of fields or frames in film or video
content having similar or substantially the same luminance or color
component values, for example to detect black frames. Image sample values
are assigned to a sample value range having a signed weight associated
therewith, and a contribution to a discriminator function is determined
for each sample range depending on the signed weight and the number of
input samples in the sample value range. The discriminator function
output is then compared with a threshold.