Image processing apparatus and method, electronic device
A technology in images and images, applied in the information field, can solve problems such as the influence of detection results, distortion, and local target motion that cannot be eliminated, and achieve the effect of eliminating inaccuracy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] An embodiment of the present invention provides an image processing device, figure 1 is a schematic diagram of an image processing apparatus according to Embodiment 1 of the present invention. Such as figure 1 As shown, the image processing device 100 includes:
[0029] The first foreground detection unit 101 is used to extract the foreground mask of the current frame image of the input video according to the background model, and determine the first foreground area according to the foreground mask;
[0030] A shake detection unit 102, which is used to detect the shake vector of the entire current frame image and the shake vector of each part in the current frame image based on optical flow matching;
[0031] difference calculation unit 103, which is used to calculate the difference between the shake vector of the entire current frame image and the shake vector of each part;
[0032] A shake compensation unit 104, configured to perform global shake compensation on th...
Embodiment 2
[0098] The embodiment of the present invention also provides an electronic device, Figure 9 is a schematic diagram of an electronic device according to Embodiment 2 of the present invention. Such as Figure 9 As shown, the electronic device 900 includes an image processing device 901, and the structure and function of the image processing device 901 are the same as those described in Embodiment 1, and will not be repeated here.
[0099] Figure 10 It is a schematic block diagram of the system configuration of the electronic device according to Embodiment 2 of the present invention. Such as Figure 10 As shown, the electronic device 1000 may include a central processing unit 1001 and a memory 1002; the memory 1002 is coupled to the central processing unit 1001. This diagram is exemplary; other types of structures may also be used, in addition to or in place of this structure, for telecommunications or other functions.
[0100] Such as Figure 10 As shown, the ...
Embodiment 3
[0113] An embodiment of the present invention also provides an image processing method, which corresponds to the image processing device in Embodiment 1. Figure 11 is a schematic diagram of the image processing method of Embodiment 3 of the present invention. Such as Figure 11 As shown, the method includes:
[0114] Step 1101: Extract the foreground mask of the current frame image of the input video according to the background model, and determine the first foreground region according to the foreground mask;
[0115] Step 1102: Detect the shake vector of the entire current frame image and the shake vectors of each part in the current frame image based on optical flow matching;
[0116] Step 1103: Calculate the difference between the shake vector of the entire current frame image and each local shake vector;
[0117] Step 1104: perform global shake compensation on the current frame image according to the shake vector of the entire current frame image;
[0118]...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


