Low-contrast connector pin area separation method based on improved local threshold
The invention discloses a low-contrast connector pin area separation method based on an improved local threshold, and the method comprises the steps: introducing a local threshold correction parameter into the local threshold calculation of a Bernsen algorithm, so as to improve the local threshold o...
Saved in:
Main Authors | , , , |
---|---|
Format | Patent |
Language | Chinese English |
Published |
19.08.2022
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a low-contrast connector pin area separation method based on an improved local threshold, and the method comprises the steps: introducing a local threshold correction parameter into the local threshold calculation of a Bernsen algorithm, so as to improve the local threshold of an image, achieve the purpose of reducing artifacts, and achieve the separation of pin pin areas; besides, in order to reduce interference of noise on a binarization result, different weights are given to a local threshold value obtained through calculation of an original gray level image and a local threshold value obtained through calculation of an image after Gaussian filtering so as to obtain a new local threshold value, and then the obtained new local threshold value and a local threshold value correction parameter are added to obtain a final local threshold value. Carrying out image binarization on the original image by adopting the final local threshold value; median filtering is carried out on the binariz |
---|---|
Bibliography: | Application Number: CN202210660822 |