Hough transform for detection of lines in images
[HT,RHO,THETA] = Chtl(IM) [HT,RHO,THETA] = Chtl(IM, M) [HT,RHO,THETA] = Chtl(IM, M, N)
image to be analyzed (size Xmax x Ymax).
desired number of samples along the radial axis (default : Xmax).
desired number of samples along the azimutal (angle) axis (default : Ymax).
output matrix (MxN matrix).
sequence of samples along the radial axis.
sequence of samples along the azimutal axis.
From an image IM, computes the integration of the values of the image over all the lines. The lines are parametrized using polar coordinates. The origin of the coordinates is fixed at the center of the image, and theta is the angle between the VERTICAL axis and the perpendicular (to the line) passing through the origin.