
The present invention provides a method and apparatus for classifying image data. A video average may be determined from the image data. Peak detection may then be limited to an area within the image data where the video average is above a first threshold. Valley detection may be limited to an area where the video average is below a second threshold.











