I want to use houghline to detect lines in image. I read the concept of houghline in openCV website
According to this api call HoughLines(InputArray image, OutputArray lines, double rho, double theta, int threshold, double srn=0, double stn=0 ) and this explanation rho – Distance resolution of the accumulator in pixels. theta – Angle resolution of the accumulator in radians.
I still conduse what is rho and theta in parameter do. Isn't the result of houghLines, OutputArray lines, defined in term of rho, theta?
Could you explain a purpose of rho and theta in parameter?