Hough Transform
From MIPAV
This topic is a stub. For the HTML MIPAV help refer to [1]
Applying Hough transform to images
Running the Hough Transform for Line Filing algorithm
To run the algorithm, do the following:
- Run MIPAV.
- Open an image of interest. Make sure that the image has a binary type. You might consider processing the image, first, and then running the Hough Transform on the processed image. Processing may include applying Gradient Magnitude (GM), and then thresholding the GM result image to convert it to the binary image.
- Navigate to Algorithms > Hough Transform > Line Filling.
- In the Hough Transform for Line Filling dialog box that appears, enter the user defined values into X dimension and Y dimension text boxes. See Figure (a).
- Press OK. The algorithm begins to run and the progress bar appears with the status. When the algorithm finishes running, the Hough Transform image and the Hough Transform Line Selection dialog box appear, see Figure (b).
- In the Hough Transform Line Selection dialog box, use the check boxes to select lines and also specify the minimum gap distance.
- Press OK
- The result image appears displaying isolated lines. See Figure (c).