Visualizing Hough Transform

Standard

I won’t go into Hough Transform, since you can find better explanations elsewhere, and it seems like most people at least get the basic idea behind it. But here’s something I whipped out for fun (well, I was reading Fast Symmetry Detection using Hough Transform, and I’d never written Hough from scratch before), visualizing the Hough lines, along with the accumulation matrix, which represents the (r, theta) space.

Continue reading

SLIC Superpixels on OpenCV

Standard

Sorry for the shilling, but here’s my upcoming project:

https://plusplusone.herokuapp.com

Please register your email address if you’re interested in it.


 

Here’s a sample implementation of SLIC (Simple Linear Iterative Clustering) Superpixel algorithm using OpenCV, C++, and Intel TBB. It’s an adaptation of Pascal Mettes’ version which you can find over here: https://github.com/PSMM/SLIC-Superpixels

Continue reading

Non Rigid Face Tracking

Standard

I rewrote the Non Rigid Face Tracking code by Jason Saragih (http://jsaragih.org/), which is published in the book “Mastering OpenCV with Practical Computer Vision Projects”. Copyright Packt Publishing 2012. (http://www.packtpub.com/cool-projects-with-opencv/book)

Mainly because I want to understand how it works, and partly because I wanted to clean up the code (which is arguably kind of messy). Continue reading