Patent ID: 7668396

Claim:
A method comprising: using a processor to perform steps comprising: receiving a first video layer of a video image; determining a first edge layer based on the first video layer, wherein the first edge layer includes an edge indicator at a pixel when a gradient at the pixel is greater than a predetermined value; determining a first weighted edge layer comprising a weighted value for each pixel of the first edge layer, each weighted value comprising: a first set of bits representative of a number of Boolean pixel edge indicators within one pixel of the corresponding pixel of the first edge layer; and a second set of bits representative of a number of Boolean pixel edge indicators within two pixels of the corresponding pixel of the first edge layer; and blending the first video layer with a first other layer based upon only one of a vertical edge component or a horizontal edge component of the first edge layer and based upon the weighted values of the first weighted edge layer, the first other layer comprising a smoothed representation of the first video layer.