Difference between revisions of "Hough Transform"

From MIPAV
Jump to: navigation, search
m (Created page with "This topic is a stub. For the HTML MIPAV help refer to [http://mipav.cit.nih.gov/documentation/HTML%20Algorithms/HoughTransform.html] Category:Help:Stub")
 
(created an outline of this topic)
Line 1: Line 1:
 
This topic is a stub.
 
This topic is a stub.
For the HTML MIPAV help refer to [http://mipav.cit.nih.gov/documentation/HTML%20Algorithms/HoughTransform.html]
+
For the HTML MIPAV help refer to [http://mipav.cit.nih.gov/documentation/HTML%20Algorithms/HoughTransform.html|HoughTransform.html ]
 +
 
 +
 
 +
== Applying Hough transform to images ==
 +
 
 +
=== Running the Hough Transform for Line Filing algorithm ===
 +
[[File:LinearHoughTransformAlgorithm.jpg|200px|thumb|right|Running the Hough Transform for Line Filling 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).
 +
 
 +
 
 +
 
  
 
[[Category:Help:Stub]]
 
[[Category:Help:Stub]]

Revision as of 19:18, 6 August 2012

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

Running the Hough Transform for Line Filling algorithm

To run the algorithm, do the following:

  1. Run MIPAV.
  2. 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.
  3. Navigate to Algorithms > Hough Transform > Line Filling.
  4. 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).
  5. 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).
  6. In the Hough Transform Line Selection dialog box, use the check boxes to select lines and also specify the minimum gap distance.
  7. Press OK
  8. The result image appears displaying isolated lines. See Figure (c).