Skip to main content
. Author manuscript; available in PMC: 2018 Aug 15.
Published in final edited form as: Knowl Based Syst. 2017 May 19;130:33–50. doi: 10.1016/j.knosys.2017.05.018

Algorithms.

Knowledge-leveraged transfer fuzzy C-means clustering (KL-TFCM)-c/-f

Inputs: The target domain data set XT constituted by extracting texture features from the target texture image; the source domain data set XS composed of texture features from the referenced texture image; the cluster numbers CT and CS in the target and source domains, respectively; the convergence threshold ε; the fuzzifiers m, m1, m2 and parameters λ, β in Eq. (1), (5), or (12); and the maximum number of iterations max_iter
Outputs: The eventual partitions on XT, i.e. the segmentation result of target texture image
Stage I: Knowledge extraction
Step I-1: Set the iteration index t = 1, initialize the fuzzy memberships μij(t) in Eq. (1) and compute the cluster prototypes v¯i(t), i = 1,, CS, using Eq. (2) in the source domain XS;
Step I-2: Compute the fuzzy memberships μij(t+1), i = 1,, CS, j = 1, … NS, using Eq. (3);
Step I-3: Compute the cluster prototypes v¯i(t+1), i = 1,, CS, using Eq. (2);
Step I-4: If JFCM(t+1)-JFCM(t)<ε or t > max_iter, go to Step I-5; otherwise, set t = t + 1 and go to Step I-2;
Step I-5; Step I-5: Set the cluster prototypes VS=V(t+1)=[v1(t+1),,vCS(t+1)]T in the source domain XS.
Stage II: Knowledge matching
Step II-1: Set the iteration index t = 1, initialize the fuzzy memberships μij,T(t) and the matching degrees pjk(t) in Eq. (5), and compute the cluster prototypes v¯j,T(t), j = 1,, CT, using Eq. (6) in the target domain XT;
Step II-2: Compute the fuzzy memberships μij,T(t+1), i = 1,, NT, j = 1,, CT, using Eq. (7);
Step II-3: Compute the matching degrees pjk(t+1), j = 1,, CT, k = 1,, CS, using Eq. (8);
Step II-4: Compute the cluster prototypes v¯j,T(t+1), j = 1,, CT, using Eq. (6);
Step II-5: If JKL-PM(t+1)-JKL-PM(t)<ε or t > max_iter, go to Step II-6; otherwise, set t = t + 1 and go to Step II-2;
Step II-6: Set the raw cluster prototypes VTr=VT(t+1)=[v1,T(t+1),,vCT,T(t+1)]T and the final matching degrees PT&S=[pjk(t+1)]CT×CS;
Step II-5: Generate the CT cluster representatives, S = [ 1,S, · · · , CT,S]T, of the source domain as the final knowledge for the target domain, according to: Case-c: the crisp form, i.e. Eq. (9); Case-f: the flexible form, i.e. Eq. (10).
Stage III: Knowledge utilization
Step III-1: Set the iteration index t = 1, initialize the cluster prototypes VT(t)=VTr=[v1,Tr,,vCT,Tr]T in Eq. (12), and compute the fuzzy memberships μij,T(t) using (14) in the target domain XT;
Step III-2: Compute the cluster prototypes v¯j,T(t+1), j = 1,, CT, using (13);
Step III-3: Compute the fuzzy memberships μij,T(t+1), i = 1,, NT, j = 1,, CT, using (14);
Step III-4: If JKL-TFCM(t+1)-JKL-TFCM(t)<ε or t > max_iter, go to Step III-5; otherwise, t = t + 1 and go to Step III-2;
Step III-5: The final memberships matrix UT in the target domain is achieved, i.e. UT=UT(t+1)=[μij,T(t+1)]CT×NT;
Step III-6: Determine the eventual partitions on the target texture image according to the eventual memberships UT.