Laser & Optoelectronics Progress, Volume. 61, Issue 8, 0837005(2024)

A Robust Image Segmentation Algorithm Based on Weighted Filtering and Kernel Metric

Yi Liu1, Xiaofeng Zhang1,2、*, Yujuan Sun1, Hua Wang1, and Caiming Zhang3
Author Affiliations
  • 1School of Information and Electrical Engineering, Ludong University, Yantai 264025, Shandong , China
  • 2School of Information Engineering, Yantai Institute of Technology, Yantai 264003, Shandong , China
  • 3School of Software, Shandong University, Jinan 250014, Shandong , China
  • show less
    Figures & Tables(19)
    Weighted filter
    Recovery results of natural image corrupted by 30% salt & pepper noise by different filters. (a) Orginal image; (b) image corrupted by 30% salt & pepper noise; (c) recovery result by inverse gradient weighted filter; (d) recovery result by mean filter; (e) recovery result by median filter; (f) recovery result by weighted filter
    Pixel correlation model
    Framework of the proposed algorithm
    Iterative process of the proposed algorithm
    Segmentation results of different algorithms on the first synthetic image. (a) Original image; (b) noisy image corrupted by 30% Gaussian noise; (c) FCM; (d) FCMS1; (e) FCMS2; (f) EnFCM; (g) FGFCM; (h) FLICM; (i) LMKFCM; (j) KWFLICM; (k) FRFCM; (l) FCM_SICM; (m) proposed algorithm
    Segmentation results of different algorithms on the second synthetic image. (a) Original image; (b) noisy image corrupted by 30% salt & pepper noise; (c) FCM; (d) FCMS1; (e) FCMS2; (f) EnFCM; (g) FGFCM; (h) FLICM; (i) LMKFCM; (j) KWFLICM; (k) FRFCM; (l) FCM_SICM; (m) proposed algorithm
    Segmentation results of different algorithms on natural image. (a) Original image; (b) FCM; (c) FCMS1; (d) FCMS2; (e) EnFCM; (f) FGFCM; (g) FLICM; (h) LMKFCM; (i) KWFLICM; (j) FRFCM; (k) FCM_SICM; (l) proposed algorithm
    Segmentation results of different algorithms on the first remote sensing image. (a) Original image; (b) groundtruth; (c) FCM; (d) FCMS1; (e) FCMS2; (f) EnFCM; (g) FGFCM; (h) FLICM; (i) LMKFCM; (j) KWFLICM; (k) FRFCM; (l) FCM_SICM; (m) proposed algorithm
    Segmentation results of different algorithms on the second remote sensing image. (a) Original image; (b) groundtruth; (c) FCM; (d) FCMS1; (e) FCMS2; (f) EnFCM; (g) FGFCM; (h) FLICM; (i) LMKFCM; (j) KWFLICM; (k) FRFCM; (l) FCM_SICM; (m) proposed algorithm
    Segmentation results of different algorithms on the medical image. (a) Original image; (b) groundtruth; (c) FCM; (d) FCMS1; (e) FCMS2; (f) EnFCM; (g) FGFCM; (h) FLICM; (i) LMKFCM; (j) KWFLICM; (k) FRFCM; (l) FCM_SICM; (m) DeepLabV3+; (n) U-net; (o) proposed algorithm
    Results of the proposed algorithm for different size windows
    Segmentation results for different class numbers. (a) Original image; (b) class number is 2; (c) class number is 3; (d) class number is 4; (e) class number is 5
    • Table 1. Algorithm details

      View table

      Table 1. Algorithm details

      Algorithm: A robust image segmentation algorithm based on weighted filtering
      Input:Iteration termination condition ε,fuzzy factor m,number of clusters C,local window size NR,maximum number of iterations T
      Output: Segmented image
      Step 1. Calculate wir and s(i,r) according to formulas(5)and(7).
      Step 2. Obtain the filtered image according to formula(6).
      Step 3. Randomly initialize the fuzzy membership degree and cluster center.
      Step 4. Set the iteration counter b=0.
      Step 5. Update the fuzzy membership degree uij(b) according to formula(12).
      Step 6. Update the cluster center vij(b) according to formula(13).

      Step 7.b=b+1,if maxuij(b)-uij(b+1)<ε or b>T,go to Step 8,otherwise go to Step 5.

      Step 8. According to Ci=argjmaxuij,assign each pixel to the class Ci with the largest membership degree to obtain the final segmented image.

    • Table 2. Relevant parameters involved in each type of algorithm

      View table

      Table 2. Relevant parameters involved in each type of algorithm

      AlgorithmParameterWindow size
      FCM13
      FCMS132α=23×3
      FCMS232α=23×3
      EnFCM19α=23×3
      FGFCM18λs=3λg=33×3
      FLICM173×3
      LMKFCM20β=33×3
      KWFLICM215×5
      FRFCM22se=35×5
      FCM_SICM23σd=5,σr=2
      Proposed method5×5
    • Table 3. Segmentation indicators of related algorithms on synthetic images

      View table

      Table 3. Segmentation indicators of related algorithms on synthetic images

      PictureIndicatorFCMFCMS1FCMS2EnFCMFGFCMFLICM

      LMK-

      FCM

      KW-

      FLICM

      FR-

      FCM

      FCM_SICMProposed
      1SA0.59740.35370.95300.96200.96440.35190.34560.34920.37340.94380.9848
      P0.66890.38180.96270.97080.97260.62500.40140.26320.39270.94550.9870
      R0.66320.37920.96700.97350.97510.62800.37960.37540.38150.94340.9877
      F10.63350.33880.96350.97140.97320.58560.35640.18900.34960.94430.9873
      2SA0.84420.79540.83990.76730.92560.94190.84140.94320.98390.97100.9934
      P0.80190.71640.86340.81640.93050.65750.75450.71990.70900.89970.9509
      R0.73900.50340.65950.65060.76630.59970.55950.86770.77090.89170.9785
      F10.70350.53350.70090.65480.81470.46920.60780.77470.71390.88960.9639
    • Table 4. Segmentation indicators Vpc and Vpe of the related algorithms on the natural image

      View table

      Table 4. Segmentation indicators Vpc and Vpe of the related algorithms on the natural image

      IndicatorFCMFCMS1FCMS2EnFCMFGFCMFLICMLMKFCMKWFLICMFRFCMFCM_SICMProposed
      Vpc0.5400.8140.8150.8570.8640.8910.8400.8240.5620.8190.945
      Vpe1.2931.0990.9260.6290.5801.1790.8331.0240.6550.4480.119
    • Table 5. Segmentation indicators of related algorithms on remote sensing images

      View table

      Table 5. Segmentation indicators of related algorithms on remote sensing images

      PictureIndicatorFCMFCMS1FCMS2EnFCMFGFCMFLICM

      LMK-

      FCM

      KW-

      FLICM

      FR-

      FCM

      FCM_SICMProposed
      1SA0.92660.94750.95370.94700.95020.97870.98140.97880.96450.97530.9938
      P0.93590.95130.95540.95170.94880.97910.98350.96600.95310.97410.9867
      R0.96060.90220.91510.90050.91180.96110.96440.97420.94700.95650.9960
      F10.94810.92610.93480.92540.93000.97000.97390.97010.95010.96520.9913
      2SA0.85260.95300.95220.95290.95660.96750.97120.97580.94440.95590.9864
      P0.88070.94930.94660.94940.95060.95730.97160.96880.93520.95340.9838
      R0.76290.91710.91620.91740.92170.95030.95020.95400.91360.92730.9720
      F10.80310.93220.93050.93240.93530.95360.96050.96110.92400.93980.9778
    • Table 6. Indicator SA of related algorithms on medical image

      View table

      Table 6. Indicator SA of related algorithms on medical image

      FCMFCMS1FCMS2EnFCMFGFCMFLICMLMFCMKWFLICMFRFCMFCM_SICMDeepLabV3+U-netProposed
      0.90720.90750.90550.90440.90460.90700.90770.91060.92100.91710.56780.66620.9216
    Tools

    Get Citation

    Copy Citation Text

    Yi Liu, Xiaofeng Zhang, Yujuan Sun, Hua Wang, Caiming Zhang. A Robust Image Segmentation Algorithm Based on Weighted Filtering and Kernel Metric[J]. Laser & Optoelectronics Progress, 2024, 61(8): 0837005

    Download Citation

    EndNote(RIS)BibTexPlain Text
    Save article for my favorites
    Paper Information

    Category: Digital Image Processing

    Received: Jun. 15, 2023

    Accepted: Jul. 24, 2023

    Published Online: Apr. 2, 2024

    The Author Email: Zhang Xiaofeng (iamzxf@126.com)

    DOI:10.3788/LOP231545

    Topics