摘要

The knowledge involved in digital image processing is very wide, and there are many kinds of methods. Traditional image processing technology is mainly focused on the acquisition, transformation, enhancement, restoration, compression encoding, segmentation, edge extraction and so on. With the emergence of new tools and new methods, the image processing technology has been updated and developed. In this paper, an effective method for edge detection and image de-noising is proposed. In this article, the impulse noise detector is composed of a BP neural network (BPNN) and a decision switch. BPNN requires four input values, which are the current pixel value, grey median value, energy value, and contrast. To take these four values as the input values, the impulse noise detector can show good performance. The output of the BPNN is transferred to the decision switch, and the output value is converted to 0 or 1, which is used to distinguish whether the pixels are polluted. At this point, we introduce an additional impulse term and establish the improved BPNN model. The additional impulse term can effectively speed up the convergence of the network, avoid the emergence of the local minimum problem, and ensure the stability of the training process. In this way, the IBPNN filter of this paper only uses the information of the non polluted pixels to filter the noise pixels, which avoids the secondary pollution, and obtains a better performance. This algorithm has high PSNR value and strong detail information and edge preserving ability. Finally, the improved BPNN algorithm is applied to the image edge detection, and we use the improved neural network model to detect the edge of the image. Because the method can be used to include the prior knowledge, the IBPNN method is better than the traditional method in image edge detection.