An Analysis of Topological Properties of Digitized Binary Pictures Using Local Features