Learn part/patch hierarchies for objects and try to match them to scan segments