{'fraction_non_alphanumeric': 0.02433371958285052, 'fraction_numerical': 0.0, 'mean_word_length': 5.4, '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 GBP Algorithm

Belief propagation (BP) algorithm is an efficient way for image segmentation based on graphical models. However BP fails to converge when the graph has cycles. Generalized belief propagation (GBP) provides more accurate solutions on such graphs. In this paper, a method based on GBP algorithm is proposed for image segmentation. In proposed method, class label is modeled using Gaussian Markov random fields (GMRF), and expectation maximization (EM) algorithm was adopted to estimate the hyper-parameters of GMRF. After region graph constructed, we run GBP algorithm on region graph, to maximize the posteriori conditional probability distribution based on Bayesian theory. The analysis and experiments on natural images showed that it gives much more accurate results than those found using ordinary belief propagation.