{'fraction_non_alphanumeric': 0.019345238095238096, 'fraction_numerical': 0.00744047619047619, 'mean_word_length': 4.801724137931035, '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}}
An automatic depth map generation for 2D-to-3D conversion

In this paper, we propose an automatic algorithm which generates depth map of 2D image in good quality. The depth map is generated by fusing global depth gradient and local depth refinement. Image classification technique and edge-based depth cue are used to obtain the global depth gradient. In addition, image segmentation method and warm/cool color theory are adopted to generate local depth refinement. The proposed algorithm has advantages of good quality and low complexity. After the depth map is generated, the original 2D image or video can be converted to 3D for showing on stereoscopic display devices.