{'fraction_non_alphanumeric': 0.014130434782608696, 'fraction_numerical': 0.0, 'mean_word_length': 5.059210526315789, '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}}
Segmentation and classification of tuberculosis bacilli from ZN-stained sputum smear images

Quality of tuberculosis (TB) diagnosis by manual observation varies depending on the quality of the smear and skill of the pathologist. To overcome this problem, a method for diagnosis of TB from ZN-stained sputum smear images is presented in this paper. Hue color component based approach is proposed to segment the bacilli by adaptive choice of the hue range. The bacilli are declared to be valid or invalid depending on the presence of beaded structure inside them. The beaded structure is segmented by thresholding the saturation component of the bacilli pixels. Clumps of bacilli and other artifacts are removed by thresholding the area, thread length and thread width parameters of the bacilli. Results presented for several images taken from different patients show that the scheme detects the presence of TB accurately.