Perspective registration and multi-frame super-resolution of license plates in surveillance videos