Patent ID: 8279349

Claim:
A method for processing video signals comprising: processing pixel values for a current input frame of a received video signal, wherein the signal is captured by a capturing device; generating an accumulated histogram using the pixel values of the current frame together with pixel values of one or more previous input frames; calculating a calculated low-clipping threshold and a calculated high-saturation threshold based on the accumulated histogram and according to predetermined parameters for a threshold calculation; calculating a desired dynamic range based on predetermined user parameters for a dynamic range calculation and determining a desired low sensitivity area and a desired high sensitivity area; checking if the accumulated histogram is within the desired dynamic range and determining if adjustment is desired by identifying a location of the calculated low-clipping threshold relative to the desired low sensitivity area and a location of the calculated high-saturation threshold relative to the desired high sensitivity area; adjusting visual parameters for a following input frame by controlling the capturing device if the accumulated histogram is not within the desired dynamic range; and maintaining current visual parameters for the following input frame if the accumulated histogram is within the desired dynamic range.