{'fraction_non_alphanumeric': 0.01705237515225335, 'fraction_numerical': 0.0, 'mean_word_length': 5.47244094488189, '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}}
Image segmentation based on NSCT and watershed

A new method for image segmentation is presented. It combines the nonsubsampled contourlet transform (NSCT) with the marker-controlled watershed algorithm to control over-segmentation and therefore achieving better segmentation. The NSCT is employed to denoise the image and enhance the edges in multiple resolutions, and the image gradient is estimated at each scale. The marker-controlled watershed algorithm is then applied to the obtained gradient images. Finally, the labeled bandpass images and the corresponding high bandpass images are constructed by the inverse NSCT to obtain the final segmented image. Results of the experimental study indicate that the proposed method is a practicable approach to control over-segmentation and can segment objective accurately.