The discrete line is represented only by the set of the discrete sampling points , and the parameters for the line are unknown. The standard procedure of the line detection by the Hough Transform is summarized as the following. Let u denote the scanning parameter, let denote the k-th sampling point of u, and let denotes the sampling interval of u. In the same way, denotes the m-th sampling point of v, and denotes the sampling interval of v. First, we put an accumulator cell(k, m), which holds the votes, on each of the sampling points in the parameter space. For every point on the discrete figure and for every , is calculated. The quantized value of vik is given by . By varying i and k, votes are accumulated at the corresponding cell(k, m). Finally, a local maximum of the votes (shown as the peak A in Figure 2) is found among the cells. The estimated parameters are given by .