[linux_image_processing] Fixes and improves image rectification