Abstract
To solve the problem of non-real-time processing of image dehazing using traditional dark-channel prior algorithm, this work studies image real-time penetrating fog optimization technologies based on digital signal processor (DSP) devices. Using jointed optimization mechanism between algorithm and device, we can achieve real-time processing. During algorithm optimization, mean filter characterized low computation substitutes the guided filter which is the most complex in dark-channel algorithm for dehazing. In optimization of image processing task under the embedded device, we empirically construct two-step optimization strategy for raising speed of processing. Thereupon, the awful division calculation for DSP device is achieved approximately by multiplication after the reciprocal operation. We utilize the specified template which is considerably designed to realize mean filter. Thus, the division factor in the template can be calculated innovatively via shift instructions featured on DSP. The experimental results show that the optimization solution provided has realized real-time image dehazing processing for standard-definition and high-definition at frame rate of 25 fps over C6748 pure DSP device featured 456 MHz clock, at the same time the effect of penetrating fog is not remarkably degraded. The optimization methods or ideas can easily be transplanted to similar platform.
Similar content being viewed by others
References
Gibson, K.B., Nguyen, T.Q.: An analysis and method for contrast enhancement turbulence mitigation. IEEE Trans. Image Process. 23(7), 3179–3190 (2014)
Wang, Y.K., Fan, C.T.: Single Image defogging by multiscale depth fusion. IEEE Trans. Image Process. 23(11), 4826–4837 (2014)
Sun, X.M., Sun, J.X., Zhao, L.R., Cao, Y.G.: Improved single image haze removal using dark channel prior. J. Image Graph. 19(3), 381–385 (2014)
Wang, W.C., Yuan, X.H.: Recent advances in image dehazing. IEEE/CAA J. Autom. Sin. 4(3), 410–436 (2017)
Kim, J.H., Jang, W.D., Sim, J.Y., Kim, C.S.: Optimized contrast enhancement for real-time image and video dehazing. J. Vis. Commun. Image Represent. 24(3), 410–425 (2013)
Gibson, K.B., Vo, D.T., Nguyen, T.Q.: An investigation of dehazing effects on image and video coding. IEEE Trans. Image Process. 21(2), 662–673 (2012)
Ma, S.P., Li, Q.H., Zhang, S.C.: An adaptive closed-loop image dehazing algorithm based on the feedback mechanism. J. Electron. Inf. Technol. 38(2), 400–407 (2016)
Fattal, R.: Single image dehazing. ACM Trans. Graph. 27(3), 1–9 (2008)
Fattal, R.: Dehazing using color-lines. ACM Trans. Graph. 34(1), 1–14 (2014)
He, K.M., Sun, J., Tang, X.O.: Single image haze removal using dark channel prior. IEEE Trans. Pattern Anal. 12(33), 2341–2353 (2011)
Wu, D., Zhu, Q.S.: The latest research progress of image dehazing. Acta Autom. Sin. 41(2), 221–239 (2015)
Tarel, J.P., Hautiere, N.: Fast visibility restoration from a single color or gray level image. In: Proc. IEEE 12th Int. Conf. Comput. Vis., pp. 2201–2208. Kyoto (2009)
Wang, W.X., Xiao, X., Chen, L.Q.: Image dark channel prior haze removal based on minimum filtering and guided filtering. Opt. Precis. Eng. 23(7), 2100–2108 (2015)
Pang, C.Y., Ji, X.Q., Sun, L.N., Lang, X.L.: An improved method of image fast defogging. Acta Photon. Sin. 42(7), 872–877 (2013)
Berg, R., Lars, K., Jan, R., Lausen, R., Fischer, B.: Highly efficient image registration for embedded systems using a distributed multicore DSP architecture. J. Real Time Image Process. 14(2), 341–361 (2018)
Belhadj, N., Grandpierre, T., Ayed, M.A., Masmoudi, N., Akil, M.: Real-time h264/avc encoder based on enhanced frame level parallelism for smart multicore DSP camera. J. Real Time Image Process. 12(4), 791–812 (2016)
Tippetts, B., Lee, D.J., Lillywhite, K., Archibald, J.: Review of stereo vision algorithms and their suitability for resource-limited systems. J. Real Time Image Process. 11(1), 5–25 (2016)
Khodary, A.G., Aly, H.A.: A new image-sequence haze removal system based on DM6446 DaVinci processor. In: Proc. IEEE Global Conf. Signal Inf. Process. (GlbalSIP), pp. 703–706. Atlanta (2014)
El-Hashash, M.M., Aly, H.A., Mahmoud, T.A., Swelam, W.: A video haze removal system on heterogeneous cores. In: Proc. IEEE Global Conf. Signal Inf Process. (GlobalSIP), pp. 1255–1259. Orlando (2015)
El-Hashash, M.M., Aly, H.A.: High-speed video haze removal algorithm for embedded systems. J. Real Time Image Process., 1–12 (2016) (online)
Liu, Z.: Realization of a single image haze removal system based on DaVinci DM6467T processor. In: Proc. SPIE 9273, Optoe. Imag. Multim. Technol. III, p. 92732O. Beijing
McCartney, E.J.: Optics of the Atmosphere: Scattering by Molecules and Particles, pp. 23–32. Wiley, New York (1976)
Narasimhan, S.G., Nayar, S.K.: Vision and the atmosphere. Int. J. Comput. Vision 48(3), 233–254 (2002)
Narasimhan, S.G., Nayar, S.K.: Contrast restoration of weather degraded images. IEEE Trans. Pattern Anal. Mach. Intell. 25(6), 713–724 (2003)
Acknowledgements
The authors wish to thank the anonymous reviewers for their valuable suggestions. And this work was funded in part by China Ministry of Education—American TI Company Industry-University Cooperation Collaborative Education Project (201601004034).
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Lu, J., Dong, C. DSP-based image real-time dehazing optimization for improved dark-channel prior algorithm. J Real-Time Image Proc 17, 1675–1684 (2020). https://doi.org/10.1007/s11554-019-00933-3
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11554-019-00933-3