SciSmart Applications——Grey Match
Gray matching is a matching model based on gray information, and the similarity measure adopted is a normalized correlation function. The principle is to calculate the correlation coefficient values by a certain similarity measure pixel by pixel according to the gray matrix of a certain size real-time image window and the gray level array of the reference image. The larger the value is, the more similar the two are. The range of similar values is [0, 100]. However, the target should not overlap.
Application: Count the nut.
Software: SCI Smart Camera 2.4.1804.x.x and above.
Function:Count the number of the disorder products in figure.
![]() Figure1, Count the nut |
|
Steps:
![]()
Figure2, Total procedure of the case |
|
a) Step1:read image by “Image import”. replace the path of the images located, For example: D:/Demo Project/Match/Grey matching/Grey.
b) Step2:Locate the nut by “Grey match” Algorithm. Figure3 To meet the parameters of the gray-scale matching results (gray circle at the top right corner of the template, the image frame to match the target object).
![]()
Figure3, Grey Matching General Page |
|
Step3:Display the results by “Overlay”.
Result image:
![]() Figure4, Software interface |
|
- Contact OPT:
- Contact sales team|
- Get product demos|
- Get product Quotes
EN
CN
JP










