The invention provides a video image correction method and system, comprising: selecting the image as the reference image from the video image input, image correction as the subsequent input image; extracting the reference corner of the image; calculate sparse optical flow, using sparse optical flow method to obtain the corrected image corner the corresponding corner points in the reference image; using the correction angle and the reference point to calculate the transformation parameters of the affine transform model; based on the transformation parameters of the corrected image correction. The embodiment of the invention does not need to calculate all pixel points in the global range, thereby reducing the amount of calculation and improving the efficiency of the video image correction.
【技术实现步骤摘要】
【技术保护点】
1.一种视频图像校正方法,其特征在于,所述方法包括:从输入的视频图像中选择出当前参考图像并选择参考图像的后续输入图像作为待校正图像;提取所述参考图像中的角点;计算参考图像中的角点的稀疏光流并根据所述稀疏光流得到所述待校正图像中与所述参考图像中的角点对应的待校正图像中的角点;利用所述待校正图像中的角点和所述参考图像中的角点计算出仿射变换模型的变换参数;根据所述变换参数校正所述待校正图像。
【技术特征摘要】
【专利技术属性】
技术研发人员:张超,郝鹏威,张铎,肖坦,王策,赵学敏,
申请(专利权)人:北京国铁华晨通信信息技术有限公司,
类型:发明
国别省市:11
还没有人留言评论。发表了对其他浏览者有用的留言会获得科技券。