Next: Graph Cut
Up: Block Sampling
Previous: Patch-based Sampling
[28], proposed by Efros and Freeman, improves
the patch-based non-parametric sampling by developing a more
sophisticated technique to handle the boundary conditions between
overlapped image patches. Instead of using the oversimplified
blending technique [65], image quilting exploits a
minimum error boundary cut to find an optimal boundary
between two patches. An optimal cut defines an irregular path
separating overlapping patches, so that each patch provides the
synthetic texture only image signals on its side of the path (See
Fig 5.7 (b)).
Formally an optimal cut is found by using dynamic programming or
Dijkstra's algorithm which minimises the minimum cumulative
matching error along the path [28],
where is the cumulative error until the pixel
along the path, and is the matching error at pixel
which is given by the Euclidean distance of signal values at the
pixel between two overlapping patches.
In image quilting, since the overlapping area between two
rectangular patches is always along one of four sides, the optimal
cut only goes either vertically or horizontally through the
overlapping area. This limitation might prevent the algorithm from
finding a global optimal cut.
Figure 5.8:
Graph cut algorithm.
|
Next: Graph Cut
Up: Block Sampling
Previous: Patch-based Sampling
dzho002
2006-02-22