Pedestrian detection has important research value and practical significance. It has been used in intelligent monitoring, intelligent transportation, intelligent therapy, and automatic driving. However, in the pixel-level fusion and the feature-level fusion of visible light images and thermal infrared images under shadows during the daytime or under low illumination at night in actual surveillance, missed and false pedestrian detection always occurs. To solve this problem, an algorithm for the pedestrian detection based on the two-stage fusion of visible light images and thermal infrared images is proposed. In this algorithm, in view of the difference and complementarity of visible light images and thermal infrared images, these two types of images are subjected to pixel-level fusion and feature-level fusion according to the varying daytime conditions. In the pixel-level fusion stage, the thermal infrared image, after being brightness enhanced, is fused with the visible image. The obtained pixel-level fusion image contains the information critical for accurate pedestrian detection. In the feature-level fusion stage, in the daytime, the previous pixel-level fusion image is fused with the visible light image; meanwhile, under low illumination at night, the previous pixel-level fusion image is fused with the thermal infrared image. According to the experimental results, the proposed algorithm accurately detects pedestrian under shadows during the daytime and low illumination at night, thereby improving the accuracy of the pedestrian detection and reducing the missed rate and false rate in the detection of pedestrians.
To deal with the threat of image privacy leakage in the Internet of things, this paper presents a novel batch images encryption algorithm using the counter mode and a multi-channel processing scheme. We employ multi-thread technique combined with an adapter to construct a novel multi-channel processing scheme, which can encrypt four different sized images in one round. Moreover, the counter encryption mode, which can compute round keys from a plaintext related session key, is introduced to decrease the difficulty of session key management when dealing with batch images. The security tests demonstrate the exceptional performance of the proposed algorithm in terms of security, as evidenced by P-values of statistical tests far larger than 0.01, correlation coefficients and entropies of cipher images close to 0 and greater than 7.99. Additionally, the results of NPCR and UACI tests closely approximate the theoretical values 99.6094% and 33.4635%, the proposed algorithm can better resist statistical, exhaustive, differential, or even chosen plaintext attacks. Moreover, due to the novel parallel scheme with a linear time complexity of O(2W+2H), which demonstrates an acceleration of over 300% compared to existing algorithms, it only takes 2.1sto encrypt one hundred images with varying sizes. Therefore, the proposed algorithm succeeds in exceeding existing algorithms in meeting the efficiency and security requirements for encrypting batch images.
An essential challenge in B-spline curve fitting is how to produce a B-spline curve that satisfies the accuracy requirement with a minimal number of knots and control points. This paper suggests a better algorithm based on feature points method. During the curve approximation process, the projection points of data points and their parameters are calculated, and the data point parameters are corrected to achieve dynamic adjustment of the knot vector. At the same time, traditional methods are improved in terms of initial feature point selection and new feature points determination. The experimental results indicate that the B-spline curve produced using the method in this work has higher fitting accuracy, fewer control points, and shorter fitting time.
Camera calibration is an essential research direction in photonics and computer vision. It achieves the standardization of camera data by using intrinsic and extrinsic parameters. Recently, RGB-D cameras have been an important device by supplementing deep information, and they are commonly divided into three kinds of mechanisms: binocular, structured light, and Time of Flight (ToF). However, the different mechanisms cause calibration methods to be complex and hardly uniform. Lens distortion, parameter loss, and sensor degradation et al. even fail calibration. To address the issues, we propose a camera calibration method based on the Expectation–Maximization (EM) algorithm. A unified model of latent variables is established for the different kinds of cameras. In the EM algorithm, the E-step estimates the hidden intrinsic parameters of cameras, while the M-step learns the distortion parameters of the lens. In addition, the depth values are calculated by the spatial geometric method, and they are calibrated using the least squares method under an optical motion capture system. Experimental results demonstrate that our method can be directly employed in the calibration of monocular and binocular RGB-D cameras, reducing image calibration errors between 0.6 and 1.2% less than least squares, Levenberg–Marquardt, Direct Linear Transform, and Trust Region Reflection. The deep error is reduced by 16 to 19.3 mm. Therefore, our method can effectively improve the performance of different RGB-D cameras.