摘要 |
A method and apparatus of in-painting an image using prioritized graph cut optimization is disclosed. In one embodiment, the method includes examining an image comprising a plurality of pixels that form a source region and a target region, wherein the source region comprises pixel information partitioning the source region into blocks, defining boundary areas comprising a portion of the source region and a portion of the target region, computing a plurality of energy values for the source region and the boundary areas, wherein energy values represent intensity comparisons between the boundary areas and neighboring blocks of the source region and assigning labels to the boundary areas using on a graph-cut technique, wherein each label is associated with a neighboring block and an minimal energy value for each boundary area and storing pixel information based on the pixel information of the neighboring blocks associated with the minimal energy values.
|