A method and system for adaptive pyramid transformation
A transformation system and pyramid technology, applied in the field of image processing, can solve problems such as low flexibility and low image processing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0047] figure 1 The flow chart of the adaptive pyramid transformation method provided by Embodiment 1 of the present invention, this embodiment is applicable to the situation that the target object moves at a non-uniform speed in the image processing process, and the method can be executed by an embedded system such as on an ARM chip, specifically Including the following steps:
[0048] Step 110, obtaining continuous frame streams in real time, and calculating the relative moving speeds of the image pixels of the i-th frame to the i+n-th frame respectively;
[0049] Wherein, i is greater than 1, and n is greater than or equal to 1. In the process of image processing, there will be a dozen to dozens of frames of image changes per second, and the continuous frame stream is obtained in real time, that is, the continuous multi-frame images are read separately. For example, if i=10, n=3, the first continuous Frame 10, 11, 12 and 13 images. Among them, the tracked part, that is, ...
Embodiment 2
[0075] figure 2 Shown is a schematic structural diagram of the adaptive pyramid transformation system provided by Embodiment 2 of the present invention, the adaptive pyramid transformation system includes:
[0076] The relative speed calculation modulo 1 is used to obtain continuous frame streams in real time, and respectively calculate the relative moving speeds of the image pixels in the i-th frame to the i+n-th frame, wherein, i is greater than 1, and n is greater than or equal to 1;
[0077] The average value calculation module 2 is used to calculate the average value v of the absolute value of the relative moving speed;
[0078] The number of layers determination module 3 is configured to determine the number of layers of the pyramid according to the average value v and the number of layers threshold.
[0079] Wherein, the number of layers determination module 1 is specifically used to determine: when v is greater than 0 and less than 1, the number of pyramid layers is ...
Embodiment 3
[0089] image 3 It is a flow chart of the adaptive pyramid transformation method provided by Embodiment 3 of the present invention. This embodiment can provide a preferred example based on the foregoing embodiments. As shown in the figure, it specifically includes:
[0090] Step 310, the camera device acquires 5 consecutive frames of images;
[0091] Step 320, calculating the relative moving speed v1, v2, v3, v4, v5 of each frame image respectively;
[0092] Step 330, calculating the average value v of the absolute value of the relative moving speed;
[0093] Step 340: Determine the number of layers of the pyramid according to the average value v and the threshold value of the number of layers and establish a pyramid.
[0094] The present embodiment preferably obtains 5 consecutive frames of images as the original basis for determining the number of layers of the pyramid, and uses the optical flow method to calculate the relative motion speeds v1 to v5 between frames, such...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


