发明名称 |
Video processing method and electronic device |
摘要 |
A video processing method includes the steps of: inputting a video; matching multiple frames of the video according to corresponding positions, wherein one of the frames serves as a reference image; marking a motion region, to be preserved, in the video; and submerging a content of each of the frames, corresponding to the motion region, into the reference image to generate a replacement frame. An electronic device is also disclosed. |
申请公布号 |
US9172875(B2) |
申请公布日期 |
2015.10.27 |
申请号 |
US201213651030 |
申请日期 |
2012.10.12 |
申请人 |
ARCSOFT HANGZHOU CO., LTD. |
发明人 |
Bian Qiao-Ling;Lu Yan-Qing;Huang Yu-Shan;Wang Jin |
分类号 |
H04N7/32;H04N5/232;H04N5/262 |
主分类号 |
H04N7/32 |
代理机构 |
Muncy, Geissler, Olds & Lowe, P.C. |
代理人 |
Muncy, Geissler, Olds & Lowe, P.C. |
主权项 |
1. A video processing method, comprising the steps of:
inputting a video; matching multiple frames of the video according to corresponding positions, wherein one of the frames serves as a reference image, wherein the step of matching the frames of the video according to the corresponding positions comprises:
checking at least one characteristic corner in a first frame of the frames;calculating an error amount between the characteristic corner and each of corresponding candidate points in a second frame of the frames when one of the characteristic corners is checked;finding a minimum error from the error amounts;setting the characteristic corner and the corresponding candidate point, corresponding to the minimum error, as matching corners;calculating corner offsets on coordinate values of the matching corners in the first frame and the second frame; andcalculating an overall offset according to the corner offsets; marking a motion region, to be preserved, in the video; and submerging a content of each of the frames, corresponding to the motion region, into the reference image to generate a replacement frame, wherein the step of submerging the content of each of the frames, corresponding to the motion region, into the reference image to generate the replacement frame comprises:
finely tuning coordinates of the frames corresponding to the motion region according to the overall offsets, respectively; andsubmerging a content of each of the frames, corresponding to the motion region after fine tuning, into the reference image to generate the replacement frame. |
地址 |
Hangzhou CN |