Wednesday, June 14, 2017

Bag of Features and Texture

Notes

What is the difference between SIFT and Dense SIFT

*SIFT consists of both detection and description while dense sift only uses the descriptor in densely sampled locations [1].

*SIFT identifies interest points using Difference of Gaussian Filtering (DoG) before using Histogram of Oriented Gradients (HOG) to describe these interest points, however Dense-SIFT does not identify interest points, it simply divides the image into overlapping cells before using HOG to describe them. since they both use HOG they both produce 128 dimensional feature vectors [1].

*SIFT is typically computed at interest points. Dense SIFT is computed at every pixel, or every kth pixel. HOG is computed for a rectangular cell array where each cell is usually 8x8 pixels. Dense SIFT and HOG are similar in the sense that they both characterize edginess and orientation around pixels, but the computations are different. Jianxiong Xiao's 2x2 HOG is different than normal HOG. The truth is that once you know how these kinds if features work you can get fancy and histogram them differently, change normalization terms, etc and create your own variant. I spoke with Prof Xiao many times about this when we ovarlapped at MIT [2].

*Firstly, Difference of Gaussians (DoG) can be used for estimating Laplacian of Gaussians (LoG), which are useful for finding edges and blobs. DoG is computationally faster so it is used. Overall, the way in which LoG is used for SIFT and HOG is the fundamental difference between these two feature descriptors. Dense SIFT is exactly as it sounds, SIFT computed densely for every pixel in the image and it helps in image registration, pose estimation, object recognition, etc [2].

Resources

1) BoF imlmentation using SURF, IHOG http://www.cvc.uab.cat/~aldavert/plor/software.html

2) Texture video https://www.youtube.com/watch?v=LQBKIi-Xtbc

3) Textons http://webpages.uncc.edu/~yjaved/publications.html


4) Bag of Visual Words implementation (Functional) http://www.codeproject.com/Articles/619039/Bag-of-Features-Descriptor-on-SIFT-Features-with-O

5) Gabor filters histogram, explanation
    http://stackoverflow.com/questions/20608458/gabor-feature-extraction   
6) Filter Banks, Matlab Source Code
    http://www.robots.ox.ac.uk/~vgg/research/texclass/filters.html

7) Texture classification using textons  http://courses.media.mit.edu/2008fall/mas622j/Projects/NickLoomis/


References
 [1] https://www.researchgate.net/post/What_is_the_difference_between_SIFT_and_Dense_SIFT
 [2] https://www.quora.com/Computer-Vision-Is-there-a-difference-if-any-between-dense-SIFT-and-HOG


Monday, June 05, 2017

Convert PowerPoint to EPS


When you draw some design and you like to put in your paper

1. Open your design on Powerpoint, then save as .wmf(windows meta file)
2. go to https://cloudconvert.com/anything-to-eps
3. Load you .wmf file and convert to eps
4. Download result




Firefox open multiple private window

    /opt/firefox/firefox-bin --profile $(mktemp -d) --private-window www.google.com www.bing.com