To solve the problem of a large amount of useless accumulations yielde
d by random sampling by means of the randomized Hough transform (RHT)i
n handling complex images, an improved RHT used to detect lines was pr
oposed. It uses gradient direction information, not only can well solv
e the problem of useless accumulations, but also has higher speed, sma
ller storage and better detection performance.