Circle center detection in imagery
Abstract:
The invention discloses an image detection method, apparatus, device and a medium. The method includes: determining one or more edge points in an input image and gradient directions thereof; generating an initial matrix with the same size as the input image, and assigning the same initial value to all matrix elements in the initial matrix; for each pixel point located in an accumulation region of each edge point, assigning a corresponding accumulation value to a matrix element in the initial matrix corresponding to the pixel point, to obtain an accumulation matrix; determining one or more circle-center positions in the input image based on the accumulation matrix; wherein, the accumulation region of each edge point includes a first direction line for accumulation along the gradient direction of the edge point and a second direction line for accumulation along the direction opposite to the gradient direction of the edge point.
Information query
Patent Agency Ranking
0/0