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 in Eq. (1) and compute the cluster prototypes , i = 1, …, CS, using Eq. (2) in the source domain XS; |
| Step I-2: | Compute the fuzzy memberships , i = 1, …, CS, j = 1, … NS, using Eq. (3); |
| Step I-3: | Compute the cluster prototypes , i = 1, …, CS, using Eq. (2); |
| Step I-4: | If 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 in the source domain XS. |
| Stage II: Knowledge matching | |
| Step II-1: | Set the iteration index t = 1, initialize the fuzzy memberships and the matching degrees in Eq. (5), and compute the cluster prototypes , j = 1, …, CT, using Eq. (6) in the target domain XT; |
| Step II-2: | Compute the fuzzy memberships , i = 1, …, NT, j = 1, …, CT, using Eq. (7); |
| Step II-3: | Compute the matching degrees , j = 1, …, CT, k = 1, …, CS, using Eq. (8); |
| Step II-4: | Compute the cluster prototypes , j = 1, …, CT, using Eq. (6); |
| Step II-5: | If 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 and the final matching degrees ; |
| 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 in Eq. (12), and compute the fuzzy memberships using (14) in the target domain XT; |
| Step III-2: | Compute the cluster prototypes , j = 1, …, CT, using (13); |
| Step III-3: | Compute the fuzzy memberships , i = 1, …, NT, j = 1, …, CT, using (14); |
| Step III-4: | If 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. ; |
| Step III-6: | Determine the eventual partitions on the target texture image according to the eventual memberships UT. |