170 likes | 332 Views
AIP Final Project. Study and Implementation of Feature-aware Texturing 921509 陸可凡 922047 陳彥銘. Outline. Introduction Process Flow Algorithm Transformations Detail algorithm flow Feature-aware mapping Result Conclusion. Introduction. Ran Gal, Olga Sorkine and Daniel Cohen-Or,
E N D
AIP Final Project Study and Implementation of Feature-aware Texturing 921509 陸可凡 922047 陳彥銘
Outline • Introduction • Process Flow • Algorithm • Transformations • Detail algorithm flow • Feature-aware mapping • Result • Conclusion
Introduction • Ran Gal, Olga Sorkine and Daniel Cohen-Or, "Feature-aware texturing", EGSR 2006. • Original image mapping and manipulation techniques treat the entire texture image homogeneously.
Introduction (cont.) • This paper present an inhomogeneous 2D texture mapping method. The method is capable of preserving the shape of masked regions of the texture while warping the image according to the user specifications.
Given Original Image Produce Feature Map in Binary (with user specifications) Feature-aware Mapping (with given warping function) Output Result Image Process Flow
Algorithm - Transformations • There are two types of transformation for each quad • Warping transformation • Scaling • Rotation • …etc • Rigid transformation • preserve the size of a feature
For each quad Is Feature Rigid transformation Warping transformation Compute the matrix A and b Get the warped quads Interpolate the quads Algorithm - Detail algorithm flow NO YES
Algorithm - Feature-aware mapping Image Quad
Algorithm - Feature-aware mapping MxN Nx1 Mx1 a11 ‧‧‧ a1N x1 bx1 . . . . . . ‧ ‧ ‧ = aM1 ‧‧‧ aMN xN bxM A x b =
Result - Painted Image Hx4,Wx4