Patent ID: 8141004

Claim:
A method comprising: in a electronic processor, processing an analytical function for a nonpixelated mask region using a cost function, wherein the cost function is biased using any bias value in a range, and the quantization function comprises a continuous curve and a shape comprising for values less than a first bias value of the at least two bias values, a slope of the continuous curve is negative until a first minima point at the first bias value, for values greater than the first bias value, the slope of the continuous curve is positive until a maxima point at a middle value, for values greater than the middle value, the slope of the continuous curve is negative until a second minima point at a second bias value of the at least two bias values, and for values greater than the second bias value, the slope of the continuous curve is positive; and processing a plurality of analytical functions for nonpixelated mask regions using the cost function.