• Acta Photonica Sinica
  • Vol. 51, Issue 4, 0410005 (2022)
Shaohua ZENG1、2、*, Bingyu ZHAO1、2, Shuai WANG3, Yanan CHEN4, and Deli ZHU1、2
Author Affiliations
  • 1College of Computer and Information Science,Chongqing Normal University,Chongqing 401331,China
  • 2Chongqing Research Center on Engineer Technology of Digital Agricultural & Services,Chongqing 401331,China
  • 3Chongqing Master Station of Agricultural Technology Promotion,Chongqing 400014,China
  • 4Chongqing Wanzhou District Station of Soil Fertilizer and Agricultural Ecological Protection,Chongqing 404199,China
  • show less
    DOI: 10.3788/gzxb20225104.0410005 Cite this Article
    Shaohua ZENG, Bingyu ZHAO, Shuai WANG, Yanan CHEN, Deli ZHU. Controllable Brightness Enhancement of the Soil Image Based on Weighted Gaussian Subtraction Fitting[J]. Acta Photonica Sinica, 2022, 51(4): 0410005 Copy Citation Text show less
    The histogram analysis of Y component(brightness)of soil image
    Fig. 1. The histogram analysis of Y component(brightness)of soil image
    Gaussian fitting of the left local region of soil image Y component histogram
    Fig. 2. Gaussian fitting of the left local region of soil image Y component histogram
    The process of weighted Gaussian subtractive fittings of soil image Y component(brightness)histogram
    Fig. 3. The process of weighted Gaussian subtractive fittings of soil image Y component(brightness)histogram
    Converting sub-images from low to high brightness on dataset 1(No.3 group)with different algorithms
    Fig. 4. Converting sub-images from low to high brightness on dataset 1(No.3 group)with different algorithms
    Converting sub-images from high to low brightness on dataset 1(No.7 group)with different algorithms
    Fig. 5. Converting sub-images from high to low brightness on dataset 1(No.7 group)with different algorithms
    Converting sub-images from low to high brightness in experiment 5(No.5 group)
    Fig. 6. Converting sub-images from low to high brightness in experiment 5(No.5 group)
    Converting sub-images from low to high brightness in experiment 6(No.9 group)
    Fig. 7. Converting sub-images from low to high brightness in experiment 6(No.9 group)
    Controllable brightness enhancement of soil image converted to high brightness in experiment 7(No.6 group)
    Fig. 8. Controllable brightness enhancement of soil image converted to high brightness in experiment 7(No.6 group)
    Controllable brightness enhancement of soil image converted to low brightness in experiment 7(No.8 group)
    Fig. 9. Controllable brightness enhancement of soil image converted to low brightness in experiment 7(No.8 group)
    The histogram of iterations of the weighted Gaussian subtraction fit
    Fig. 10. The histogram of iterations of the weighted Gaussian subtraction fit
    输入加权高斯减法拟合曲线,土壤图像UV分量
    输出增强RGB图像
    过程

    Step1:用式(17)式(18)计算原始的亮度值μorg

    Step2:用式(19)计算亮度差值Δμ

    Step3:用式(20)式(21)计算增强图像的期望概率密度Ptary

    Step4:用式(22)计算原始图像累积分布Corgy

    Step5:用式(23)式(24)计算增强图像期望累积分布Ctary

    Step6:用式(25)计算新灰度级y'

    Step7:用式(26)计算增强图像Y分量增强比例γ

    Step8:用式(27)式(28),计算UV分量的增强结果unewvnew,并进行RGB转化,获得增强RGB图像。

    Table 0. [in Chinese]
    输入土壤图像Y分量
    输出加权高斯减法拟合曲线
    过程

    Step1:用式(1)计算土壤图像Y分量各灰度级概率密度Porgy

    Step2:令Porgy为剩余待拟合直方图h0y

    Step3:repeat{

    Step3-1:根据式(7)式(8)设置参数bt的搜索区间b1t,b2t

    Step3-2:根据式(9)式(10)设置参数at的搜索区间a1t,a2t

    Step3-3:根据式(11)式(12)设置参数ct的搜索区间c1t,c2t

    Step3-4:依据式(5),循环搜索hty左局部区域的高斯拟合优化解,获得本次高斯拟合参数atbtct

    Step3-5:计算剩余待拟合直方图ht+1y,并用式(13)计算拟合剩余差和s

    }until(满足s0.01

    Step4:用式(16)计算式(14)加权高斯减法拟合曲线f(y)

    Table 0. [in Chinese]
    Sub-imageAlgorithmsd¯yDdyd¯rd¯gd¯b13d¯c13Ddc
    No.3-1

    1-D HS

    2-D HS

    Ours

    11.645 1

    11.429 7

    10.405 9

    14.350 5

    14.352 6

    13.301 7

    12.216 8

    11.966 9

    11.045 4

    11.541 0

    11.366 8

    10.361 6

    11.941 0

    11.621 2

    10.306 6

    11.899 6

    11.651 6

    10.571 2

    14.257 2

    14.279 0

    13.264 8

    No.3-2

    1-D HS

    2-D HS

    Ours

    12.214 8

    12.147 7

    10.868 4

    15.602 8

    15.515 2

    13.551 7

    12.107 8

    11.983 9

    10.519 8

    12.335 3

    12.280 7

    11.055 4

    12.755 8

    12.760 5

    11.581 7

    12.399 6

    12.341 7

    11.052 3

    15.649 3

    15.561 9

    13.633 8

    No.3-3

    1-D HS

    2-D HS

    Ours

    12.873 8

    12.796 7

    11.445 7

    16.330 7

    16.229 5

    14.607 8

    13.680 9

    13.543 0

    12.681 7

    12.983 8

    12.932 9

    11.800 3

    13.046 9

    13.001 7

    11.683 6

    13.237 2

    13.159 2

    12.055 2

    16.346 8

    16.247 8

    14.609 7

    Average

    1-D HS

    2-D HS

    Ours

    12.244 6

    12.124 7

    10.906 7

    15.428 0

    15.365 8

    13.820 4

    12.668 5

    12.498 0

    11.415 6

    12.286 7

    12.193 5

    11.072 4

    12.581 3

    12.461 1

    11.190 6

    12.512 2

    12.384 2

    11.226 2

    15.417 7

    15.362 9

    13.837 8

    Table 1. Accuracy of converting sub-images from low to high brightness on dataset 1(No.3 group)with different algorithms
    5

    1-D HS

    2-D HS

    Ours

    13.468 3

    13.343 1

    11.682 1

    16.575 2

    16.530 4

    14.827 3

    13.922 3

    13.772 1

    12.264 1

    13.412 8

    13.306 6

    11.642 5

    13.536 9

    13.396 5

    11.611 5

    13.624 0

    13.491 7

    11.839 4

    16.535 3

    16.494 9

    14.803 2

    6

    1-D HS

    2-D HS

    Ours

    14.021 4

    13.8600

    12.167 9

    17.708 9

    17.523 5

    15.226 3

    14.728 4

    14.505 5

    13.096 4

    14.049 4

    13.911 9

    12.366 2

    14.324 6

    14.206 4

    12.779 3

    14.367 5

    14.207 9

    12.747 3

    17.725 0

    17.540 2

    15.264 3

    7

    1-D HS

    2-D HS

    Ours

    14.827 9

    14.555 5

    12.024 0

    18.108 0

    17.942 0

    15.047 3

    15.555 4

    15.221 3

    12.872 7

    14.756 4

    14.518 1

    12.047 0

    14.993 2

    14.732 5

    12.372 1

    15.101 7

    14.823 9

    12.430 6

    18.038 4

    17.881 5

    15.020 9

    8

    1-D HS

    2-D HS

    Ours

    13.220 0

    12.979 1

    10.515 8

    16.066 6

    15.940 7

    13.233 5

    13.681 7

    13.428 1

    11.094 9

    13.193 0

    12.968 9

    10.509 1

    13.099 1

    12.827 7

    10.478 2

    13.324 6

    13.074 9

    10.694 1

    15.977 4

    15.859 5

    13.176 0

    9

    1-D HS

    2-D HS

    Ours

    14.253 5

    14.091 5

    11.746 8

    17.751 1

    17.585 2

    14.843 1

    15.061 1

    14.830 9

    12.984 2

    14.264 0

    14.127 1

    11.866 3

    14.493 2

    14.409 3

    12.243 6

    14.606 1

    14.455 8

    12.364 7

    17.728 6

    17.563 5

    14.844 8

    10

    1-D HS

    2-D HS

    Ours

    14.836 3

    14.626 7

    11.996 4

    18.382 4

    18.177 9

    14.954 7

    15.326 0

    15.066 2

    12.617 2

    14.823 0

    14.629 0

    12.032 2

    15.107 4

    14.967 3

    12.601 9

    15.085 5

    14.887 5

    12.417 1

    18.379 2

    18.175 1

    14.990 6

    Average

    1-D HS

    2-D HS

    Ours

    13.787 3

    13.613 1

    11.617 7

    17.161 6

    17.015 4

    14.600 2

    14.415 7

    14.183 8

    12.437 7

    13.793 8

    13.644 7

    11.719 4

    14.021 1

    13.887 7

    12.034 5

    14.076 9

    13.905 4

    12.063 9

    17.137 3

    16.994 6

    14.602 5

    Table 2. Accuracy of converting sub-images from low to high brightness on dataset 1 with different algorithms
    Sub-imageAlgorithmsd¯yDdyd¯rd¯gd¯b13d¯c13Ddc
    No.7-1

    1-D HS

    2-D HS

    Ours

    15.479 8

    15.394 3

    13.005 5

    19.433 9

    19.323 8

    16.392 5

    15.997 6

    15.943 3

    13.676 8

    15.367 7

    15.276 0

    12.872 2

    15.524 1

    15.374 1

    12.771 5

    15.629 8

    15.531 2

    13.106 8

    19.444 2

    19.331 8

    16.383 4

    No.7-2

    1-D HS

    2-D HS

    Ours

    12.023 3

    11.605 9

    10.954 0

    14.682 1

    14.529 6

    13.967 4

    12.517 8

    12.179 7

    11.789 1

    12.057 2

    11.589 8

    10.861 6

    11.779 7

    11.450 2

    10.915 8

    12.118 2

    11.739 9

    11.188 8

    14.756 5

    14.580 3

    13.987 0

    No.7-3

    1-D HS

    2-D HS

    Ours

    15.482 5

    15.315 4

    10.619 1

    19.402 0

    19.309 0

    13.257 4

    15.049 5

    14.907 7

    11.756 6

    15.860 0

    15.686 4

    10.998 5

    17.235 7

    17.081 1

    13.589 5

    16.048 4

    15.891 7

    12.114 8

    19.462 7

    19.369 8

    13.367 2

    Average

    1-D HS

    2-D HS

    Ours

    14.328 5

    14.105 2

    11.526 2

    17.839 3

    17.720 8

    14.539 1

    14.521 6

    14.343 6

    12.407 5

    14.428 3

    14.184 1

    11.577 4

    14.846 5

    14.635 1

    12.425 6

    14.598 8

    14.387 6

    12.136 8

    17.887 8

    17.760 6

    14.579 2

    Table 3. Accuracy of converting sub-images from high to low brightness on dataset 1(No.7 group)with different algorithms
    10

    1-D HS

    2-D HS

    Ours

    15.127 1

    14.961 8

    11.719 6

    18.884 6

    18.758 6

    14.607 9

    15.043 9

    14.882 7

    12.414 3

    15.270 5

    15.106 1

    11.808 1

    15.853 7

    15.684 5

    12.699 2

    15.389 4

    15.224 4

    12.307 2

    18.908 1

    18.781 8

    14.651 4

    Average

    1-D HS

    2-D HS

    Ours

    13.880 3

    13.766 7

    11.432 1

    17.466 6

    17.399 6

    14.400 6

    14.015 0

    13.927 6

    12.141 4

    14.028 4

    13.906 2

    11.565 0

    14.454 7

    14.332 7

    12.261 0

    14.166 0

    14.055 5

    11.989 1

    17.499 7

    17.428 7

    14.428 0

    Table 4. Accuracy of converting sub-images from high to low brightness on dataset 1 with different algorithms
    Sub-imageBrightness base pointBase point +10Base point +20Base point +30Base point +40Base point +50Effective range
    No.5-181.042 91.000 01.000 00.800 00.400 00.400 0[0,30]
    No.5-280.919 31.000 01.000 00.800 00.400 00.200 0[0,30]
    No.5-368.878 31.000 01.000 01.000 00.600 00.400 0[0,30]
    No.5-4107.712 91.000 01.000 00.800 00.800 00.400 0[0,40]
    No.5-5119.603 71.000 01.000 00.800 00.600 00.200 0[0,30]
    No.5-6116.963 91.000 01.000 01.000 00.800 00.200 0[0,40]
    No.5-7150.225 41.000 01.000 01.000 00.800 00.200 0[0,40]
    No.5-8146.443 31.000 01.000 00.800 00.600 00.200 0[0,30]
    No.5-9146.570 01.000 01.000 01.000 00.600 00.400 0[0,30]
    Table 5. Subjective evaluation score and effective range of converting sub-images from low to high brightness in experiment 5(No.5 group)
    Sub-imageBrightness base pointBase point -10Base point -20Base point -30Base point -40Base point -50Effective range
    No.9-181.788 11.000 01.000 00.800 00.800 00.600 0[-40,0]
    No.9-282.425 31.000 01.000 00.800 00.600 00.400 0[-30,0]
    No.9-383.403 41.000 01.000 00.800 00.400 00.400 0[-30,0]
    No.9-4128.258 31.000 01.000 00.800 00.400 00.400 0[-30,0]
    No.9-5139.228 01.000 01.000 00.800 00.800 00.600 0[-40,0]
    No.9-6124.559 01.000 01.000 01.000 00.600 00.200 0[-30,0]
    No.9-7143.997 41.000 01.000 00.800 00.600 00.400 0[-30,0]
    No.9-8147.375 61.000 01.000 00.800 00.600 00.400 0[-30,0]
    No.9-9144.343 01.000 01.000 00.800 00.600 00.400 0[-30,0]
    Table 6. Subjective evaluation score and effective range of converting sub-images from high to low brightness in experiment 6(No.9 group)
    Sub-imageBrightness base pointBase point +10Base point +20Base point +30
    1-D HS2-D HSOurs1-D HS2-D HSOurs1-D HS2-D HSOurs
    No.6-1138.050 82.841 02.472 20.721 44.266 33.886 91.161 26.000 45.693 31.689 3
    No.6-2127.270 91.960 60.939 50.481 82.055 61.939 61.080 73.213 43.063 81.492 7
    No.6-363.996 20.805 02.151 90.527 41.754 23.106 00.592 42.490 23.860 50.603 7
    Average1.565 41.715 00.558 12.671 62.848 10.896 73.887 04.081 91.188 9
    Table 7. Accuracy of the controllable brightness enhancement of soil image converted to high brightness in experiment 7(No.6 group)
    GroupBase point +10Base point +20Base point +30
    1-D HS2-D HSOurs1-D HS2-D HSOurs1-D HS2-D HSOurs
    11.937 81.803 20.824 13.292 23.211 21.197 24.742 74.715 11.584 4
    21.480 91.939 20.707 62.311 63.269 40.894 23.536 54.536 40.989 8
    31.827 91.830 10.833 83.203 43.186 91.149 54.662 04.655 91.426 3
    40.868 71.269 40.485 51.103 13.309 70.602 42.450 94.756 80.614 3
    51.425 11.296 30.501 62.610 12.459 70.752 73.844 03.710 10.969 7
    61.565 41.715 00.558 12.671 62.848 10.896 73.887 04.081 91.188 9
    72.668 21.811 10.737 92.908 92.941 51.136 74.121 54.708 41.413 9
    82.014 31.734 80.954 33.123 92.956 51.474 74.560 84.407 51.921 0
    92.440 12.204 00.779 93.764 53.529 11.257 55.384 55.216 61.638 3
    101.137 31.502 70.342 62.345 02.738 20.470 03.426 23.881 50.513 1
    Average1.736 61.710 60.672 62.733 43.045 00.983 24.061 64.467 01.226 0
    Table 8. Accuracy of the controllable brightness enhancement of soil image converted to high brightness in experiment 7(dataset 2)
    Sub-imageBrightness base pointBase point -10Base point -20Base point -30
    1-D HS2-D HSOurs1-D HS2-D HSOurs1-D HS2-D HSOurs
    No.8-1126.067 00.365 00.697 00.155 30.900 01.203 60.669 01.625 81.983 71.535 8
    No.8-2127.363 10.343 80.502 50.319 40.904 21.077 70.178 91.685 01.953 01.054 6
    No.8-3121.752 30.548 90.742 20.151 81.190 91.386 10.435 42.162 52.414 11.243 2
    Average0.419 20.647 20.208 90.998 41.222 50.427 81.824 42.117 01.277 9
    Table 9. Accuracy of the controllable brightness enhancement of soil image converted to low brightness in experiment 7(No.8 group)
    GroupBase point -10Base point-20Base point -30
    1-D HS2-D HSOurs1-D HS2-D HSOurs1-D HS2-D HSOurs
    10.385 10.715 00.315 90.951 81.252 00.473 71.750 82.003 81.369 6
    20.557 30.779 50.301 41.210 51.448 20.297 82.211 82.453 11.189 8
    30.584 10.904 00.257 61.243 31.567 60.297 72.213 62.522 51.208 0
    40.643 20.901 80.270 51.367 41.632 70.218 42.419 32.660 01.125 8
    50.516 40.751 40.332 61.177 01.442 90.158 82.182 42.405 61.057 6
    60.558 10.978 50.244 61.179 41.587 90.255 42.112 02.479 61.220 1
    70.346 20.604 60.182 30.956 31.225 00.467 11.794 72.077 21.317 0
    80.419 20.647 20.208 90.998 41.222 50.427 81.824 42.117 01.277 9
    90.604 80.886 40.207 21.253 61.543 50.392 82.202 72.532 91.209 9
    100.700 21.044 90.425 31.415 51.728 40.187 52.404 62.741 91.120 6
    Average0.531 50.821 30.274 61.175 31.465 10.317 72.111 62.399 41.209 6
    Table 10. Accuracy of the controllable brightness enhancement of soil image converted to low brightness in experiment 7(dataset 2)
    Shaohua ZENG, Bingyu ZHAO, Shuai WANG, Yanan CHEN, Deli ZHU. Controllable Brightness Enhancement of the Soil Image Based on Weighted Gaussian Subtraction Fitting[J]. Acta Photonica Sinica, 2022, 51(4): 0410005
    Download Citation