Image processing method and device based on optical flow algorithm

An algorithm and optical flow technology, applied in image data processing, image analysis, image communication, etc., can solve the problems of large amount of calculation and low precision.

Active Publication Date: 2010-10-06
HANGZHOU HIKVISION DIGITAL TECH
View PDF0 Cites 30 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the embodiment of the present application is to provide an image processing method and device based on optical flow algorithm

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Image processing method and device based on optical flow algorithm
  • Image processing method and device based on optical flow algorithm
  • Image processing method and device based on optical flow algorithm

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0072] see figure 1 , which is the flow chart of the first embodiment of the image processing method based on the optical flow algorithm of the present application:

[0073] Step 101: Obtain the current frame image in the video sequence to be processed.

[0074] Step 102: Obtain the position of a group of pixels in the current frame image in the next frame image according to the optical flow algorithm.

[0075] Specifically, the current frame image is divided into several macroblocks, and a pixel point in each macroblock is obtained, and the local motion vector of each pixel point in the next frame image is tracked and calculated by the optical flow algorithm, according to each pixel The position coordinates of the pixel point in the next frame image are calculated from the position coordinates of the point in the current frame image and the local motion vector of the pixel point in the next frame image.

[0076] Step 103: Sampling the group of pixels according to the pre-es...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The embodiment of the invention discloses image processing method and device based on an optical flow algorithm. The method comprises the following steps of: acquiring a current frame image in a video sequence to be processed, and then acquiring the position of a group of pixel points of the current frame image in the next frame image according to the optical flow algorithm; sampling the group of pixel points according to a global parameter model of two adjacent frame images established in advance, and screening out the pixel point of which the displacement distance is within the preset range; acquiring a global motion parameter from the current frame image to the next frame image with a least square method according to the position coordinates of the screened pixel point in the current frame image and the next frame image; and compensating the next frame image according to the smoothing result on the global motion parameter. In the invention, frame images are processed in a way of combining the optical flow algorithm with global motion model sampling, therefore, the calculation precision of the global motion parameter is ensured, the calculated amount is reduced, and meanwhile, the requirement for real-time stable correction of video is met.

Description

technical field [0001] The present application relates to the field of computer image processing, in particular to an image processing method and device based on an optical flow algorithm. Background technique [0002] With the popularization and application of digital cameras, people hope that the video images captured by the cameras can be clear and stable, easy to watch and analyze, and also hope that the captured images can be better compressed to save storage space and reduce data transmission rates. [0003] Video stabilization technology is an important video enhancement technology in the field of digital image video processing, which can stabilize and compress video images. When applying video stabilization technology, it is first necessary to calculate the global motion parameters between two adjacent frames in the video image, then extract the real global motion parameters of the camera, and finally use appropriate video transformation technology to compensate the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04N5/14H04N7/32G06T7/20
Inventor 马程王超蔡巍伟贾永华胡扬忠邬伟琪
Owner HANGZHOU HIKVISION DIGITAL TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products