Tag Archive: 2d

Feb 07

Simplest 20-lines OpenCV video stabilizer [w/ code]

A simple and short video stabilizer with OpenCV.


Feb 05

Using Hidden Markov Models for staff line removal (in OMR) [w/code]

From left to right: Original binarized images, staff lines annotated by HMM,  staff lines removed.

So lately I'm into Optical Music Recognition (OMR), and a central part of that is doing staff line removal. That is when you get rid of the staff lines that obscure the musical symbols to make recognition much easier. There are a lot of ways to do it, but I'm going to share with you …

Continue reading »


Jan 21

Run length encoding in OpenCV [w/code]

RLE example

Code snippet for RLE calculation on OpenCV Mats


Dec 18

Simple NURBS renderer [w/ code]

Screen Shot 2013-12-18 at 11.01.23 AM

Simple NURBS renderer, reading from a DXF


Dec 07

Resampling, Smoothing and Interest points of curves (via CSS) in OpenCV [w/ code]

Utility functions for Resampling, Smoothing and finding Interest points of 2D curves in OpenCV.