Fast template matching algorithm based on gradient integrals
A template matching and gradient technology, applied in computing, computer components, character and pattern recognition, etc., can solve problems such as poor stability and slow speed, and achieve the effects of improving reliability, avoiding repeated operations, and reducing redundancy
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] This embodiment provides a fast template matching algorithm based on gradient integration, including the following steps:
[0032] Step 1: Decompose the template image and the target image into an image pyramid, and obtain a series of templates and original images whose resolutions gradually decrease from the bottom to the top of the pyramid. Among them, the image with the largest resolution is referred to as the bottom image, and the image with the smallest resolution is referred to as It is the top image; the minimum resolution template in the template collection contains at least 30 contour points;
[0033] Step 2, calculating the contours of templates at different angles and scales at different resolutions and their corresponding gradients;
[0034] Step 3, calculate the gradient of all pixels in the top image of the original image, and normalize;
[0035] Step 4: Calculate the gradient integral of the top image of the original image according to the size of the to...
Embodiment 2
[0044] This embodiment provides a fast template matching algorithm based on gradient integration, including the following steps:
[0045] Step 1: Decompose the template image and the target image into an image pyramid, and obtain a series of templates and original images whose resolutions gradually decrease from the bottom to the top of the pyramid. Among them, the image with the largest resolution is referred to as the bottom image, and the image with the smallest resolution is referred to as It is the top image; the minimum resolution template in the template collection contains at least 30 contour points;
[0046] Step 2, calculating the contours of templates at different angles and scales at different resolutions and their corresponding gradients;
[0047] Step 3, calculate the gradient of all pixels in the top image of the original image, and normalize;
[0048] Step 4: Calculate the gradient integral of the top image of the original image according to the size of the to...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


