Method and device for calculating geometric moment of target object in image
A target object and calculation method technology, applied in the field of image processing, visual tracking, and electronic technology, can solve problems such as real-time processing and calculation bottlenecks, consume large CPU resources, etc., and achieve the effect of ensuring calculation accuracy and real-time performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0034] Example one, such as figure 1 As shown, a method for calculating the geometric moment of a target object in an image includes the following steps:
[0035] S1: According to the preset data flow direction, use the hardware description language to obtain the image data stream corresponding to the image containing the target object;
[0036] S2: Obtain an image size and a target object pixel size, perform image traversal on the image data stream according to the image size and the target object pixel size according to the preset data flow direction, and calculate the image data streams separately The image geometric moment data set during each image traversal;
[0037] S3: According to the image geometric moment data set of the image data stream at each image traversal, the actual geometric moments of the image data stream at each image traversal are calculated and output, and from all the actual geometric moments, The target geometric moment corresponding to the target object i...
Embodiment 2
[0084] Embodiment two, such as Figure 17 As shown, a device for calculating geometric moments of a target object in an image is applied to the method for calculating geometric moments of a target object in an image of the first embodiment, including an integrated circuit board 1 and an integrated circuit board 1 respectively disposed on the integrated circuit board 1. The data stream input circuit 2, the traversal calculation circuit 3, the target geometric moment extraction circuit 4 and the output circuit 5;
[0085] The integrated circuit board 1 is configured to integrate the data stream input circuit 2, the traversal circuit calculation circuit 3, the target geometric moment extraction circuit 4, and the output circuit 5;
[0086] The data stream input circuit 2 is configured to obtain an image data stream corresponding to an image containing a target object by using a hardware description language according to a preset data flow direction;
[0087] The traversal calculation ci...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


