{'fraction_non_alphanumeric': 0.019393939393939394, 'fraction_numerical': 0.0, 'mean_word_length': 4.858156028368795, '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}}
Case-Based Design: From Image to Pattern

A case-based pattern design method is proposed to translate an image into a pattern of certain style. The method has two phases. Pattern style and knowledge are learned in case-learning phase, case mapping database and rule database are results of this phase and will serve as memory unit and logical unit respectively. In design phase, user designates the objects in an input image, visual features of object are used to retrieve memory, and the matched case is reused and revised according to knowledge in logical unit. Newly generated pattern will be retained as a new case. Our method avoids the difficulty of extracting pattern designing knowledge, helps improving the aesthetic design ability of computer, and also provides an effective way to reuse valuable artistic patterns.