A novel unstructured road detection approach based on HSV color space and road features is proposed. The method mainly uses the Hue component as the estimation standard, for it is insensitive to shadows and water areas. Sometimes, the Hue component of the road may be unstable, so we combine the Saturation and the Value components. This arrangement can assure the robustness of the approach. We don't deal with all the frame pixels one by one. Instead, we only select some of them. Thus, the processing speed of the method is guaranteed. At last, credible edge points are chosen and then fitted by either straight line or curve. The experiments carried out show that the method detects the lane area effectively, and is robust against noise, shadows, and illumination variations.
Wastewater treatment is a pivotal step in water resource recycling. Predicting effluent wastewater quality can help wastewater treatment plants (WWTPs) establish efficient operations so as to save resources. We propose CNN-LSTM-Attention (CLATT), an attention-based effluent wastewater quality prediction model, which uses a convolutional neural network (CNN) as an encoder and a long short-term memory network (LSTM) as a decoder. An attention mechanism is used to aggregate the information at adjacent sampling times. A sliding window method is proposed to solve the problem of the prediction performance of the model decreasing with time. We conducted the experiment using data collected from a WWTP in Fujian, China. Our results show that the accuracy of prediction is improved, with MSE decreasing by 0.25, MAPE decreasing by 5% and LER decreasing by 7%, after using the sliding window method. Compared with other methods, CLATT achieves the fastest prediction speed among all the methods based on LSTM and the most accurate prediction performance, with MSE increasing up to 0.92, MAPE up to 0.08 and LER up to 0.11. Furthermore, we performed an ablation study on the proposed method to validate the rationality of the major part of the model, and the results show that the LSTM significantly improves the predictive performance of the model, and the CNN and the attention mechanism also improve the accuracy of the prediction.
Recovering depth information of objects from two-dimensional images is one of the very important and basic problems in the field of computer vision. In view of the shortcomings of existing methods of depth estimation, a novel approach based on SIFT (the Scale Invariant Feature Transform) is presented in this paper. The approach can estimate the depths of objects in two images which are captured by an un-calibrated ordinary monocular camera. In this approach, above all, the first image is captured. All of the camera parameters remain unchanged, and the second image is acquired after moving the camera a distance d along the optical axis. Then image segmentation and SIFT feature extraction are implemented on the two images separately, and objects in the images are matched. Lastly, an object’s depth can be computed by the lengths of a pair of straight line segments. In order to ensure that the most appropriate pair of straight line segments are chosen, and also reduce computation, convex hull theory and knowledge of triangle similarity are employed. The experimental results show our approach is effective and practical.
27 May 2023 in Computer-Aided Civil and Infrastructure Engineering