Patent ID: 8331646

Claim:
A method, in a data processing system, for harmonic mean optical proximity correction (HMOPC), the method comprising: generating, by a lithographic simulator in a HMOPC mechanism, an image of a mask shape based on a target shape on a wafer thereby forming one or more lithographic contours; determining, by a cost function evaluator module, a geometric cost function associated with the one or more lithographic contours; minimizing, by an edge movement module, the geometric cost function thereby forming a minimized geometric cost function; determining, by the edge movement module, a set of edge movements for each slice in a set of slices associated with the one or more lithographic contours using the minimized geometric cost function; moving, by the edge movement module, the edges of the mask shape using the set of edge movements for each slice in the set of slices; and producing, by the HMOPC mechanism, a clean mask shape using the set of edge movements.