Scale-Invariant Primal Sketch Tokens



Introduction

This code is the implementation of T. Lindeberg's scale-invariant primal sketch that I use in my research on object detection and shape modeling. The code takes as input a grayscale image and convolves it with Gaussian kernels of increasing size. Using this scale-space, edge and ridge contours are found as maxima in space and scale of appropriate differential operators. These contours are then post-processed to obtain a sparse set of straight line segments. Apart from computing T. Lindeberg's primal sketch, additional functionalities that are generally useful include:

Related Publications

If you use this code in your research, please cite our CVPR 2006 paper.

Downloads

Code, readme, documentation: PS_primal_sketch.zip.
Usage, demos etc: readme.pdf.