An algorithm and implementation(s) of my logo classification system