摘要
Purpose–The purpose of this paper is to develop a lane detection analysis algorithm by Hough transform and histogram shapes,which can effectively detect the lane markers in various lane road conditions,in driving system for drivers.Design/methodology/approach–Step 1:receiving image:the developed system is able to acquire images from video files.Step 2:splitting image:the system analyzes the splitting process of video file.Step 3:cropping image:specifying the area of interest using crop tool.Step 4:image enhancement:the system conducts the frame to convert RGB color image into grayscale image.Step 5:converting grayscale image to binary image.Step 6:segmenting and removing objects:using the opening morphological operations.Step 7:defining the analyzed area within the image using the Hough transform.Step 8:computing Houghline transform:the system operates the defined segment to analyze the Houghline transform.Findings–This paper presents the useful solution for lane detection by analyzing histogram shapes and Hough transform algorithms through digital image processing.The method has tested on video sequences filmed by using a webcam camera to record the road as a video file in a form of avi.The experimental results show the combination of two algorithms to compare the similarities and differences between histogram and Hough transform algorithm for better lane detection results.The performance of the Hough transform is better than the histogram shapes.Originality/value–This paper proposed two algorithms by comparing the similarities and differences between histogram shapes and Hough transform algorithm.The concept of this paper is to analyze between algorithms,provide a process of lane detection and search for the algorithm that has the better lane detection results.
基金
This research has been financially granted by National Research Council of Thailand(NRCT,Thailand),Contact No.KMUTNB-GOV-58-46.