{'fraction_non_alphanumeric': 0.020128824476650563, 'fraction_numerical': 0.00644122383252818, 'mean_word_length': 5.4404145077720205, '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}}
Automatic Segmentation of Fiber Cross Sections by Dual Thresholding

In a microscopic image, fiber cross sections are often surrounded by borders distinctively darker than their bodies and the background. Fiber borders can be utilized to separate cross-sections properly so that accurate fiber shape and size information can be obtained. Hence, locating correct fiber borders is one of the most critical steps in cross-sectional analysis for fiber characterization and identification. This paper introduces a dual-thresholding algorithm that performs automatic fiber border segmentation from noisy cross-sectional images. The dual thresholds include a low threshold calculated based on the histogram of the difference from the average grayscale, and a high threshold computed by a bisection algorithm. With the low threshold, part of fiber border pixels, regarded as seeds, can be reliably located. The seeds can be further expanded by using the high threshold to form complete borders surrounding individual cross-sections. The experimental results show that the dual-thresholding algorithm can obtain cleaner and more fiber borders than other connectional thresholding algorithms, and improves the detection accuracy from 52.78% and 88.88%.