Research Article

Ancient Chinese Character Image Retrieval Based on Dual Hesitant Fuzzy Sets

Algorithm 2

Image retrieval algorithm of Chinese characters in ancient books based on the dual hesitant fuzzy direction line element.
Input: image to be retrieved
Output: images of Chinese characters within the threshold of the correlation coefficient
(1). Open the image to be retrieved
(2). Preprocess
(3). Elastic grid division
(4). The dual hesitant fuzzy direction line element characteristics of were extracted
(5).while i<N do//traversal database
(6).  Calculate the correlation coefficient between and
(7).  if < then
(8).    is added to the result data table R(id, ρ)
(9).  else
(10).   i = i+1
(11).  end if
(12). end while
(13).return R(id, ρ)