Accurate edge localization of bilevel images is of primary importance in barcode decoding.In the sub-pixel edge location algorithm for bilevel images,the bilevel image(barcode) imaging process is modeled as a square...Accurate edge localization of bilevel images is of primary importance in barcode decoding.In the sub-pixel edge location algorithm for bilevel images,the bilevel image(barcode) imaging process is modeled as a square wave convoluted with a Gaussian kernel and then sampled discretely by pixel arrays.Based on the gray levels of the pixels,assumed sub-pixel edge locations are set and adjusted so that the discrepancy of the theoretical gray level of pixels and the actual gray level of pixels reaches the minimum and then the best approximation of the actual sub-pixel edges of the bilevel image is obtained.Examples are presented to illustrate the techniques of the algorithm which can solve the problems of edge location or signal recovery of bilevel images in the case of the two features:one is that the support of the Gaussian kernel is comparable to the distance of the adjacent edges;the other is that the distance between the adjacent edges is comparable to the distance of the adjacent pixels.展开更多
基金Supported by the Postdoctoral Science Fund of China (20070410940)the Open Fund of Liaoning Key Laboratory of Intelligent Information Processing, Dalian University (2005-8)
文摘Accurate edge localization of bilevel images is of primary importance in barcode decoding.In the sub-pixel edge location algorithm for bilevel images,the bilevel image(barcode) imaging process is modeled as a square wave convoluted with a Gaussian kernel and then sampled discretely by pixel arrays.Based on the gray levels of the pixels,assumed sub-pixel edge locations are set and adjusted so that the discrepancy of the theoretical gray level of pixels and the actual gray level of pixels reaches the minimum and then the best approximation of the actual sub-pixel edges of the bilevel image is obtained.Examples are presented to illustrate the techniques of the algorithm which can solve the problems of edge location or signal recovery of bilevel images in the case of the two features:one is that the support of the Gaussian kernel is comparable to the distance of the adjacent edges;the other is that the distance between the adjacent edges is comparable to the distance of the adjacent pixels.