{'fraction_non_alphanumeric': 0.027114967462039046, 'fraction_numerical': 0.0, 'mean_word_length': 5.454545454545454, '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}}
A novel algorithm for the edge detection and edge enhancement of medical images.

A novel algorithm, histogram shifting (HS) is presented, which performs edge detection or edge enhancement with the choice of two parameters. The histogram of a region surrounding each pixel is found and translated toward the origin, resulting in the new pixel value. Images from a variety of medical imaging modalities were processed with HS to perform detection and enhancement of edges. Comparison with results obtained from conventional edge detection (e.g., Sobel) and with conventional edge-enhancement algorithms is discussed. HS appears to perform the edge-detection operation without introducing "double-edge" effects often obtained with conventional edge-detection algorithms. HS also appears to perform edge enhancement without introducing extensive noise artifacts, which may be noticeable with many edge-enhancement algorithms.