{'fraction_non_alphanumeric': 0.02134986225895317, 'fraction_numerical': 0.0013774104683195593, 'mean_word_length': 5.054166666666666, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Morphological image processing in the speckle metrology

Abstract In the speckle metrology, the processing of speckle image is very important. A method of morphological image processing is proposed in this paper. The theory of mathematical morphology and some basic morphological operations are introduced. In the experiment of laser speckle double-exposure, we get the specklegram which contains the information of micro-displacement. Then we employ the device of point-to-point analysis and get the image of laser speckle pattern interference fringes. Using the theory of speckle, the formula of micro-displacement is obtained. In the image processing, we first use grey-level transformation and histogram equalisation. Then we use the method of dynamic local threshold to get the binary image of laser speckle pattern interference fringes. In order to extract the fringe spacing, the image is processed by the operations of mathematical morphology in this work, such as the operations of opening, closing, skeletonisation and deburring. After that, the image can be used to extract the average fringe spacing by which the micro-displacement can be calculated finally. We get a more accurate result than traditional methods. The deviation may be less than 1% and the order of magnitude can reach 1 μm. The method of morphological image processing used in the speckle metrology has some advantages such as fast processing, easiness and high precision.