Image matching based on local entropy and pyramid transform