Research Article

Otsu Based Optimal Multilevel Image Thresholding Using Firefly Algorithm

Table 2

Comparison of the standard deviation, PSNR, SSIM, and CPU time obtained for test images.

Test images Standard deviationPSNR (dB)SSIMCPU time (sec)
BDFALFFAFABDFALFFAFABDFALFFAFABDFALFFAFA

Barbara20.009140.025820.0145720.065225.124123.06270.80680.75400.7882100.4626.1547.05
30.074820.069250.0667922.023925.226724.11970.83710.82010.8300163.0541.2643.14
40.502240.625280.2787421.772723.189522.02570.85530.82270.8285187.2557.3150.42
50.629030.804250.7042224.806424.963225.01590.83680.81130.8328258.1545.2573.02

Lena20.028910.162510.0753923.202727.106625.11760.82080.80110.8116102.3618.0225.14
30.049030.271800.1385020.901422.082320.99640.84890.82460.8310142.4731.7861.03
40.311760.523190.3819624.116725.247625.57520.86060.81650.8206204.5256.2371.32
50.583190.832510.6169823.225124.146623.22570.88470.85420.8729291.0269.22108.13

Cameraman20.001760.278100.0797225.256825.774125.88200.82580.77360.8211104.1537.2842.05
30.118740.298260.3170923.294226.052324.03680.84320.73020.8400131.4251.3560.15
40.736520.521110.3707325.111727.247625.88520.84780.75330.8218128.2658.1362.34
50.903620.707280.7413026.000427.116826.47730.86330.81540.8206142.4355.2870.51

Living Room20.037820.126710.1954222.077822.962523.18430.80040.76990.7804305.35118.15136.04
30.072930.167290.2107320.269922.995221.04240.81050.78110.7915461.55132.03130.33
40.387910.509810.4961124.942626.073125.58170.84220.81020.8200604.46146.21172.49
50.825220.923510.9921826.077426.442626.99360.82590.82460.8216822.50165.15190.22

Mandrill20.266810.381990.2854123.115924.005224.11110.80770.77450.783589.3752.1154.27
30.279160.510290.3951021.000222.184221.29430.83220.80040.8125114.5051.5864.03
40.634410.734160.7317024.188325.295224.71600.84210.79530.8386172.2459.1372.44
50.835510.912820.9052521.268322.067323.06620.82570.81040.7993166.3971.3569.51

Jet20.432030.691000.2802323.986424.157824.06220.84140.80110.826879.0343.3541.50
30.558710.692610.6332121.855221.999422.05230.85280.77930.828082.3351.2948.04
40.583520.835150.7052726.031626.148126.19630.82340.79220.800397.1574.2284.52
50.622530.926140.8803825.380626.043725.52800.89430.83170.8552133.0794.2577.06

Boat20.002560.138720.0292323.773124.996225.00630.80180.79350.782559.3542.5551.12
30.023610.200180.0637720.257921.257922.07740.82800.78470.789963.1950.3246.24
40.183890.419930.2195021.658923.184324.11160.81460.80030.800289.0462.1370.13
50.208710.619230.3742425.022726.742825.81250.85930.83310.8236107.2371.3581.30

Zebra20.101980.410920.2085026.042427.356626.94310.84050.79990.8332125.3148.0172.52
30.183780.577080.3111427.115727.884127.32150.83050.81100.820691.2650.1942.16
40.189920.721190.5001925.642827.005325.90920.82880.78450.8005124.2061.3471.24
50.393460.903710.7493025.743127.157926.08530.85000.80030.8367152.4373.1580.26

Snake20.002780.213090.0485925.072325.158926.27860.82670.79450.8025110.5259.2161.25
30.078200.401920.1542820.643720.631821.25780.87250.82640.8226136.1162.2582.19
40.138910.512230.2842024.062824.913224.33370.82590.80770.8024131.3571.3959.18
50.201820.988010.4911022.111823.007522.95240.85510.82050.8366148.5283.1193.40

Fish20.009910.349920.0016320.073222.773721.99660.80490.78830.783298.0144.2754.17
30.018310.710270.0267924.022424.851225.02220.81660.79350.7903105.3951.4467.35
40.019260.799260.0392222.787424.181723.15700.85520.81540.8277129.5641.3582.05
50.289190.901720.0174925.086125.111925.00630.87290.85530.8260131.0377.5190.18

Star Fish20.028130.111620.0194420.000422.577521.72690.84280.80320.824691.4358.5145.44
30.063210.309920.0379220.488221.158322.01330.83330.80040.8022116.3058.0377.02
40.217390.700180.1327021.063222.225724.57210.85100.79940.8365108.3944.0072.45
50.519100.927320.4268023.156725.500426.14890.83710.81770.8024111.5981.2569.30

Sailor20.127630.934710.3770320.773822.126821.23110.82480.82100.793793.5146.2955.03
30.287110.901820.5289325.912525.998426.14890.85370.84220.8325141.3851.4950.17
40.482910.982710.7227923.353223.955225.13620.84400.80010.8228127.5170.1468.47
50.710320.990130.9332124.028425.006124.99580.82060.79900.7993130.0965.3982.37