HoughTransform2.H

00001 #ifndef HOUGHTRANSFORM2_H
00002 #define HOUGHTRANSFORM2_H
00003 
00004 #include "MBARI/Geometry2D.H"
00005 #include "Util/Types.H" // for byte
00006 
00007 #include <vector>
00008 
00009 template <class T> class Image;
00010 template <class T> class PixRGB;
00011 
00012 /*******************************************************************************
00013 * PROCEDURE: houghTransform
00014 * PURPOSE: To perform line detection through a hough transform
00015 * NAME: Harold Lim
00016 * DATE: 2006
00017 // thetares is the resolution of each theta
00018 // dRes is the resolution of the D
00019 // returns the number of lines found
00020 *******************************************************************************/
00021 std::vector <LineSegment2D> houghTransform(Image<byte> &inputImage, float thetaRes, float dRes, int threshold, Image< PixRGB<byte> > &output);
00022 
00023 
00024 #endif
Generated on Sun May 8 08:04:33 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3