Fusion of MSR and Improved CLAHE for Ampoule Image Enhancement
Aiming at the problem of low measurement accuracy of bottle diameter of ampoule images captured in the automatic tempering system,an image enhancement algorithm integrating multi-scale retinal enhancement(MSR)and improved constrained contrast adaptive histogram equalization(CLAHE)is proposed.MSR algorithm can increase the image details,but it will cause the image white,reduce the image contrast.The CLAHE algorithm can increase the contrast of the image,but the information entropy will be decreased.According to the characteristics of the two algo-rithms,the gamma correction is introduced to improve the CLAHE algorithm,and the improved CLAHE algorithm can reduce the influence of the interference region in the image,further improve the contrast of the image,and then the weighted fusion with the image enhanced by MSR algorithm will be carried out to obtain the final image.The en-hanced image of ampoule is measured in diameter,and the results show that the algorithm can reduce the size error of ampoule from 0.3 mm to 0.1 mm,which effectively solves the problem of low accuracy of ampoule image size mea-surement.