automatic logo replacement

12
Automatic Logo Replacement Sibasish Acharya and Saurabh Palan

Upload: saurabh-palan

Post on 05-Dec-2014

1.237 views

Category:

Documents


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Automatic Logo Replacement

Automatic Logo Replacement

Sibasish Acharya and Saurabh Palan

Page 2: Automatic Logo Replacement

Project Overview Dataset Creation Feature Detection Pair-wise logo alignment Logo Similarity Measurement Logo Warping Logo Detection Logo replacement Logo appearance matching Image Blending Conclusion

Page 3: Automatic Logo Replacement

Dataset Creation

Page 4: Automatic Logo Replacement

Feature Detection SIFT

Good but Not Panacea Does not extract ample features The clipart and reference logo lack similarity

HSV + PCA

Histogram of Orientation of Gradient (HOG) Counts occurrences of gradient orientation in

localized portions of an image Nine bins Extracts more features, thus comparative effective

then SIFT

Page 5: Automatic Logo Replacement

Pair-wise logo alignment RANSAC + TPS

Initial feature matches fed to RANSAC are detected by minimum SSD matching

1000 iterations to Minimizes Bending Energy In our case since the clipart is completely different

from Logo, we select the best from the worst possible combination.

Page 6: Automatic Logo Replacement

Logo Similarity Measurement Histogram comparison by 2 Difference

L1 Norm, L2 Norm

Page 7: Automatic Logo Replacement

Logo Warping We obtained the best match clipart and

warped it to the Logo

We use the parameters obtained from RANSAC + TPS for warping

Page 8: Automatic Logo Replacement

Logo Detection Sliding Window

Obtain Patch Compare with training Dataset Compute dissimilarity with training dataset Find minimum dissimilarity

If (Minimum dissimilarity <= threshold) LOGO DETECTED

Else NOT DETECTED

SVM Did not work well…

Page 9: Automatic Logo Replacement

Logo replacement Warp detected Logo towards reference logo Warp replacement Logo towards detected

logo

Page 10: Automatic Logo Replacement

Logo appearance matching We use V of HSV Calculate mean of V value of reference logo Calculate mean of V value of detected logo Add the differences to the logo clipart

Page 11: Automatic Logo Replacement

Image Blending We calculate the bounding box from test

image to be cropped out then replace bounding box by replacement logo using 3 level Pyramid Blending

Page 12: Automatic Logo Replacement

Conclusion Efficiency of Feature Detection algorithm

determined the outcome of the project…best algorithm for our application - HOG