• No results found

With the fast progress of research and applications in image understanding and computer vision, the need for accurate line detection and segmentation is increasing. The work presented in this thesis has been an attempt to contribute to one of the primitive and yet important steps in many object recognition and feature detection tasks, i.e. line detection and segmentation. On one hand, the proposed algorithm illustrated promising outcomes with good accuracy. On the other hand, it highlighted the gaps and limitation that are worthy of future investigation. It also provided grounds for improvement and expansion of this work.

Bibliography

[1] R. O. Duda and P. E. Hart, “Use of the Hough transformation to detect lines and curves in pictures,” Graphics and Image Processing, vol. 15, pp. 11–15, January 1972.

[2] D. Shi, L. Zheng, and J. Liu, “Advanced Hough transform using a multilayer fractional Fourier method,” IEEE Transactions on Image Processing, vol. 19, pp. 1558–1566, June 2010.

[3] C. F. Olson, “A general method for geometric feature matching and model extraction,” International Journal of Computer Vision, vol. 45, pp. 39–54, 2001.

[4] C.-T. Ho and L.-H. Chen, “A high-speed algorithm for elliptical object detection,” IEEE Transactions on Image Processing, vol. 5, pp. 547– 550, March 1996.

[5] J. Song and M. R. Lyu, “A Hough transform based line recognition method utilizing both parameter space and image space,” Pattern Recognition, vol. 38, no. 4, pp. 539–552, 2005.

[6] V. Ayala-Ramirez, C. H. Garcia-Capulin, A. Perez-Garcia, and R. E. Sanchez-Yanez, “Circle detection on images using genetic algorithms,” Pattern Recognition Letters, vol. 27, no. 6, pp. 652–657, 2006.

[7] Y. Liu, T. Ikenaga, and S. Goto, “An MRF model-based approach to the detection of rectangular shape objects in color images,” Signal Processing, vol. 87, no. 11, pp. 2649–2658, 2007.

[8] D. Ballard, “Generalizing the Hough transform to detect arbitrary shapes,” Pattern Recognition, vol. 13, no. 2, pp. 111–122, 1981.

[9] Z. Li, Y. Liu, R. Hayward, J. Zhang, and J. Cai, “Knowledge-based power line detection for UAV surveillance and inspection systems,” in 23rd International ConferenceImage and Vision Computing New Zealand, IVCNZ 2008, pp. 1–6, 2008.

[10] J. Zhang, L. Liu, B. Wang, X. Chen, Q. Wang, and T. Zheng, “High speed automatic power line detection and tracking for a UAV-based inspection,” in 2012 International Conference on Industrial Control and Electronics Engineering (ICICEE), pp. 266–269, 2012.

[11] S. Du and C. Tu, “Power line inspection using segment measurement based on HT butterfly,” in 2011 IEEE International Conference on Signal Processing, Communications and Computing (ICSPCC), pp. 1– 4, 2011.

[12] P. Frnti, E. I. Ageenko, H. Klviinen, and S. Kukkonen, “Compression of line drawing images using Hough transform for exploiting global dependencies,” in International Conference on Information Sciences, 1998.

[13] A. Borkar, M. Hayes, and M. Smith, “A novel lane detection system with efficient ground truth generation,” IEEE Transactions on Intelli- gent Transportation Systems, vol. 13, pp. 365–374, March 2012. [14] J. McCall and M. Trivedi, “Video-based lane estimation and tracking

tions on Intelligent Transportation Systems, vol. 7, pp. 20–37, March 2006.

[15] A. Bar Hillel, R. Lerner, D. Levi, and G. Raz, “Recent progress in road and lane detection: a survey,” Machine Vision and Applications, pp. 1–19, 2012.

[16] G. Zhang, N. Zheng, C. Cui, Y. Yan, and Z. Yuan, “An efficient road detection method in noisy urban environment,” in IEEE Intelligent Vehicles Symposium, pp. 556–561, June 2009.

[17] J.-S. Hong, T. Dohi, M. Hasizume, K. Konishi, and N. Hata, “A motion adaptable needle placement instrument based on tumor spe- cific ultrasonic image segmentation,” in Medical Image Computing and Computer-Assisted Intervention, vol. 2488 of Lecture Notes in Com- puter Science, pp. 122–129, Springer Berlin/Heidelberg, 2002.

[18] P. Ballester, “Hough transform and astronomical data analysis,” Vistas in Astronomy, vol. 40, no. 4, pp. 479–485, 1996.

[19] Z. Li, Y. Liu, R. Walker, R. Hayward, and J. Zhang, “Towards auto- matic power line detection for a UAV surveillance system using pulse coupled neural filter and an improved Hough transform,” Machine Vi- sion and Applications, vol. 21, pp. 677–686, 2010.

[20] A. Moqiseh and M. Nayebi, “Combinational Hough transform for surveillance radar target detection in a 3-D data map,” in IEEE Radar Conference, 2008. RADAR ’08, pp. 1–6, May 2008.

[21] P. Hough, “Method and means for recognizing complex patterns.” U.S. Patent 3.069.654, December 1962.

[22] H. Aghajan and T. Kailath, “SLIDE: subspace-based line detection,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 16, no. 11, pp. 1057–1073, 1994.

[23] J.-C. Chien and C.-C. Li, “Wavelet-based line detection in gray-scale images,” in IEEE International Conference on Systems, Man, and Cy- bernetics. Computational Cybernetics and Simulation, vol. 4, pp. 3670– 3673 vol.4, 1997.

[24] B. Hou, F. Liu, and L. Jiao, “Linear feature detection based on ridgelet,” Science in China Series E: Technological Sciences, vol. 46, no. 2, pp. 141–152, 2003.

[25] G. quan Lu, X. Hong-guo, and Y. bing Li, “Line detection based on chain code detection,” in IEEE International Conference on Vehicular Electronics and Safety, pp. 98–103, 2005.

[26] Y. Zheng, H. Li, and D. Doermann, “A parallel-line detection algorithm based on HMM decoding,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 27, no. 5, pp. 777–792, 2005.

[27] S. Berlemont and J.-C. Olivo-Marin, “Combining local filtering and multiscale analysis for edge, ridge, and curvilinear objects detection,” IEEE Transactions on Image Processing, vol. 19, pp. 74–84, January 2010.

[28] A. Bonci, T. Leo, and S. Longhi, “A Bayesian approach to the Hough transform for line detection,” IEEE Transactions on Systems, Man and Cybernetics, Part A, vol. 35, no. 6, pp. 945–955, 2005.

[29] J. Ma and L. Li, “Automatic straight line detection through fixed-point BYY harmony learning,” in Advanced Intelligent Computing Theories and Applications. With Aspects of Theoretical and Methodological Is- sues, vol. 5226 of Lecture Notes in Computer Science, pp. 569–576, Springer Berlin Heidelberg, 2008.

[30] Z.-Y. Liu, K.-C. Chiu, and L. Xu, “Strip line detection and thinning by RPCL-based local PCA,” Pattern Recognition Letters, vol. 24, no. 14, pp. 2335 – 2344, 2003.

[31] N. Aggarwal and W. Karl, “Line detection in images through regu- larized Hough transform,” IEEE Transactions on Image Processing, vol. 15, pp. 582–591, March 2006.

[32] J. Ji, G. Chen, and L. Sun, “A novel Hough transform method for line detection by enhancing accumulator array,” Pattern Recognition Letters, vol. 32, no. 11, pp. 1503 – 1510, 2011.

[33] D. Walsh and A. E. Raftery, “Accurate and efficient curve detection in images: the importance sampling Hough transform,” Pattern Recogni- tion, vol. 35, no. 7, pp. 1421 – 1431, 2002.

[34] L. Hai-Bin and Y. Wei-Dong, “An effective algorithm to detect triangles in image,” Journal of Image and Graphics, vol. 13, no. 3, pp. 456–460, 2008.

[35] T. van Veen and F. Groen, “Discretization errors in the Hough trans- form,” Pattern Recognition, vol. 14, no. 1-6, pp. 137 – 145, 1981. [36] W. Niblack and D. Petkovic, “On improving the accuracy of the Hough

transform: theory, simulations, and experiments,” in Computer Soci- ety Conference on Computer Vision and Pattern Recognition, 1988. Proceedings CVPR ’88, pp. 574–579, 1988.

[37] J. O’Rourke, “Dynamically quantized spaces for focusing the Hough transform,” in Proceedings of the 7th international joint conference on Artificial intelligence, IJCAI’81, (San Francisco, CA, USA), pp. 737– 739, Morgan Kaufmann Publishers Inc., 1981.

[38] I. Svalbe, “Natural representations for straight lines and the Hough transform on discrete arrays,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 11, no. 9, pp. 941–950, 1989.

[39] M. Zhang, “On the discretization of parameter domain in Hough trans- formation,” in Proceedings of the 13th International Conference on Pat- tern Recognition, vol. 2, pp. 527–531, 1996.

[40] Q. Ji and R. M. Haralick, “Error propagation for the Hough transform,” Pattern Recognition Letters, vol. 22, no. 6-7, pp. 813 – 823, 2001. [41] T. T. Nguyen, X. D. Pham, and J. Jeon, “An improvement of the stan-

dard Hough transform to detect line segments,” in IEEE International Conference on Industrial Technology, ICIT 2008., pp. 1–6, 2008. [42] H. Duan, X. Liu, and H. Liu, “A nonuniform quantization of Hough

space for the detection of straight line segments,” in 2nd International Conference on Pervasive Computing and Applications, ICPCA 2007, pp. 149–153, 2007.

[43] N. Kiryati and A. Bruckstein, “Antialiasing the Hough transform,” CVGIP: Graphical Models and Image Processing, vol. 53, no. 3, pp. 213 – 222, 1991.

[44] V. Shapiro, “Accuracy of the straight line Hough transform: The non-voting approach,” Computer Vision and Image Understanding, vol. 103, no. 1, pp. 1 – 21, 2006.

[45] L. A. Fernandes and M. M. Oliveira, “Real-time line detection through an improved Hough transform voting scheme,” Pattern Recognition, vol. 41, no. 1, pp. 299 – 314, 2008.

[46] R. Stephens, “Probabilistic approach to the Hough transform,” Image and Vision Computing, vol. 9, no. 1, pp. 66–71, 1991.

[47] J. Matas, C. Galambos, and J. Kittler, “Progressive probabilistic Hough transform,” in Proceedings of the British Machine Vision Con- ference, pp. 26.1–26.10, BMVA Press, 1998.

[48] C. Galambos, J. Matas, and J. Kittler, “Progressive probabilistic Hough transform for line detection,” in IEEE Conference on Computer Vision and Pattern Recognition, vol. 1, pp. –560 Vol. 1, 1999.

[49] J. Matas, C. Galambos, and J. Kittler, “Robust detection of lines using the progressive probabilistic Hough transform,” Computer Vision and Image Understanding, vol. 78, no. 1, pp. 119 – 137, 2000.

[50] L. Xu, E. Oja, and P. Kultanen, “A new curve detection method: Randomized Hough transform (RHT),” Pattern Recognition Letters, vol. 11, no. 5, pp. 331–338, 1990.

[51] L. Xu and E. Oja, “Randomized Hough transform (RHT): basic mecha- nisms, algorithms, and computational complexities,” Computer Vision and Image Understanding, vol. 57, pp. 131–154, March 1993.

[52] J. Princen, J. Illingworth, and J. Kittler, “A hierarchical approach to line extraction based on the Hough transform,” Computer Vision, Graphics, and Image Processing, vol. 52, no. 1, pp. 57 – 77, 1990. [53] R. A. Fisher, “The maximum likelihood method,” Messenger Math,

vol. 41, pp. 155 – 160, 1912.

[54] R. V. Hogg and A. Craig, Introduction to Mathematical Statistics. Pren- tice Hall, 5th ed., 1994.

[55] N. Kiryati, Y. Eldar, and A. Bruckstein, “A probabilistic Hough trans- form,” Pattern Recognition, vol. 24, no. 4, pp. 303 – 316, 1991.

[56] C. Galambos, J. Kittler, and J. Matas, “Using gradient information to enhance the progressive probabilistic Hough transform,” in Proceed- ings of 15th International Conference on Pattern Recognition, vol. 3, pp. 560–563 vol.3, 2000.

[57] P. R. Thrift and S. M. Dunn, “Approximating point-set images by line segments using a variation of the Hough transform,” Computer Vision, Graphics, and Image Processing, vol. 21, no. 3, pp. 383 – 394, 1983. [58] M. Fiala, “Identify and remove Hough transform method,” in Proceed-

ings of the Vision Interface, pp. 184–187, 2003.

[59] C.-T. Choy, P.-K. Ser, and W.-C. Siu, “Peak detection in Hough trans- form via self-organizing learning,” in IEEE International Symposium on Circuits and Systems, ISCAS ’95., vol. 1, pp. 139–142 vol.1, 1995. [60] L. Chao, W. Zhong, and L. Lin, “An improved HT algorithm on

straight line detection based on Freeman chain code,” in 2nd Inter- national Congress on Image and Signal Processing, pp. 1–4, 2009. [61] M. Atiquzzaman and M. W. Akhtar, “Complete line segment descrip-

tion using the Hough transform,” Image and Vision Computing, vol. 12, no. 5, pp. 267 – 273, 1994.

[62] M. Atiquzzaman and M. Akhtar, “A robust Hough transform technique for complete line segment description,” Real-Time Imaging, vol. 1, no. 6, pp. 419–426, 1995.

[63] V. Kamat and S. Ganesan, “A robust Hough transform technique for description of multiple line segments in an image,” in Proceedings of IEEE International Conference on Image Processing, vol. 1, pp. 216– 220, October 1998.

[64] V. Kamat-Sadekar and S. Ganesan, “Complete description of multiple line segments using the Hough transform,” Image and Vision Comput- ing, vol. 16, no. 910, pp. 597 – 613, 1998.

[65] Y. Furukawa and Y. Shinagawa, “Accurate and robust line segment extraction by analyzing distribution around peaks in Hough space,” Computer Vision and Image Understanding, vol. 92, no. 1, pp. 1–25, 2003.

[66] S. Du, B. van Wyk, C. Tu, and X. Zhang, “An improved Hough trans- form neighborhood map for straight line segments,” IEEE Transactions on Image Processing, vol. 19, pp. 573–585, March 2010.

[67] S. Du, C. Tu, B. J. van Wyk, and Z. Chen, “Collinear segment detection using HT neighborhoods,” IEEE Transactions on Image Processing, vol. 20, pp. 3612–3620, December 2011.

[68] C. Tu, S. Du, B. van Wyk, K. Djouani, and Y. Hamam, “High reso- lution Hough transform based on butterfly self-similarity,” Electronics Letters, vol. 47, no. 25, pp. 1360–1361, 2011.

[69] S. Du, C. Tu, and M. Sun, “High accuracy Hough transform based on butterfly symmetry,” Electronics Letters, vol. 48, no. 4, pp. 199–201, 2012.

[70] C. G. Ho, R. C. D. Young, C. D. Bradfield, and C. R. Chatwin, “A fast Hough transform for the parametrisation of straight lines using fourier methods,” Real-Time Imaging, vol. 6, no. 2, pp. 113–127, 2000.

[71] L. Zheng and D. Shi, “Advanced Radon transform using generalized interpolated Fourier method for straight line detection,” Computer Vi- sion and Image Understanding, vol. 115, pp. 152–160, February 2011.

[72] S. R. Deans, “Hough transform from the Radon transform,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 3, pp. 185–188, March 1981.

[73] J. Radon, “ber die bestimmung von funktionen durch ihre integralwerte lngs gewisser mannigfaltigkeiten,” Berichte der Sachsischen Akadamie der Wissenschaft,, vol. 69, pp. 262–277, April 1917.

[74] J. Radon, “On the determination of functions from their integral val- ues along certain manifolds,” IEEE Transactions on Medical Imaging, vol. 5, no. 4, pp. 170–176, 1986.

[75] P. Toft, “The Radon transform - theory and implementation,” PhD thesis, Department of Mathematical Modelling, Technical University of Denmark, June 1996.

[76] M. van Ginkel, C. L. Hendriks, and L. van Vliet, “A short introduction to the Radon and Hough transforms and how they relate to each other,” in the Quantitative Imaging Group Technical Report Series, no. QI- 2004-01, 2004.

[77] R. von Gioi, J. Jakubowicz, J.-M. Morel, and G. Randall, “LSD: A fast line segment detector with a false detection control,” IEEE Transac- tions on Pattern Analysis and Machine Intelligence, vol. 32, pp. 722– 732, April 2010.

[78] C. Akinlar and C. Topal, “EDLines: A real-time line segment detector with a false detection control,” Pattern Recognition Letters, vol. 32, no. 13, pp. 1633–1642, 2011.

[79] K. Yang, S. Sam Ge, and H. He, “Robust line detection using two- orthogonal direction image scanning,” Computer Visison and Image Understanding, vol. 115, no. 8, pp. 1207–1222, 2011.

[80] D. Guru, B. Shekar, and P. Nagabhushan, “A simple and robust line detection algorithm based on small eigenvalue analysis,” Pattern Recog- nition Letters, vol. 25, no. 1, pp. 1 – 13, 2004.

[81] J. Koeck and W. Zhang, “Video compass,” in Computer Vision - ECCV 2002, vol. 2353 of Lecture Notes in Computer Science, pp. 476–490, Springer Berlin Heidelberg, 2002.

[82] R. Nevatia and K. R. Babu, “Linear feature extraction and descrip- tion,” Computer Graphics and Image Processing, vol. 13, no. 3, pp. 257 – 269, 1980.

[83] P. Kahn, L. Kitchen, and E. M. Riseman, “A fast line finder for vision- guided robot navigation,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 12, no. 11, pp. 1098–1102, 1990.

[84] J. B. Burns, A. R. Hanson, and E. M. Riseman, “Extracting straight lines,” IEEE Transactions on Pattern Analysis and Machine Intelli- gence, vol. PAMI-8, pp. 425–455, July 1986.

[85] A. Desolneux, L. Moisan, and J.-M. Morel, “Meaningful alignments,” International Journal of Computer Vision, vol. 40, pp. 7–23, 2000. [86] A. Etemadi, “Robust segmentation of edge data,” in International Con-

ference on Image Processing and its Applications, pp. 311–314, 1992. [87] C. Topal, C. Akinlar, and Y. Gen, “Edge Drawing: A heuristic ap-

proach to robust real-time edge detection,” in 20th International Con- ference on Pattern Recognition (ICPR), pp. 2424–2427, 2010.

[88] C. Topal and C. Akinlar, “Edge Drawing: A combined real-time edge and segment detector,” Journal of Visual Communication and Image Representation, vol. 23, no. 6, pp. 862 – 872, 2012.

[89] J. Canny, “A computational approach to edge detection,” IEEE Trans- actions on Pattern Analysis and Machine Intelligence, vol. PAMI-8, no. 6, pp. 679–698, 1986.

[90] S. Y. K. Yuen, T. S. L. Lam, and N. K. D. Leung, “Connective Hough transform,” Image and Vision Computing, vol. 11, no. 5, pp. 295 – 301, 1993.

[91] N. Guil, J. Villalba, and E. Zapata, “A fast Hough transform for segment detection,” IEEE Transactions on Image Processing, vol. 4, pp. 1541–1548, Nov. 1995.

[92] J. Cha, R. Cofer, and S. Kozaitis, “Extended Hough transform for linear feature detection,” Pattern Recognition, vol. 39, no. 6, pp. 1034– 1043, 2006.

[93] K.-L. Chung, T.-C. Chang, and Y.-H. Huang, “Comment on: Extended Hough transform for linear feature detection,” Pattern Recognition, vol. 42, no. 7, pp. 1612–1614, 2009.

[94] A. Bandera, J. Prez-Lorenzo, J. Bandera, and F. Sandoval, “Mean shift based clustering of hough domain for fast line segment detection,” Pattern Recognition Letters, vol. 27, no. 6, pp. 578 – 586, 2006.

[95] M. Nieto, C. Cuevas, L. Salgado, and N. Garca, “Line segment de- tection using weighted mean shift procedures on a 2D slice sampling strategy,” Pattern Analysis and Applications, vol. 14, no. 2, pp. 149– 163, 2011.

[96] M. Jacob and M. Unser, “Design of steerable filters for feature detection using Canny-like criteria,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 26, pp. 1007–1019, August 2004.

[97] R. Mersereau and A. Oppenheim, “Digital reconstruction of multidi- mensional signals from their projections,” Proceedings of the IEEE, vol. 62, no. 10, pp. 1319–1338, 1974.

[98] R. Easton Jr. and H. Barrett, “Tomographic transformations in optical signal processing,” Optical Signal Processing, pp. 335 – 386, 1987. [99] G. Wolberg and S. Zokai, “Robust image registration using log-polar

transform,” in Proceedings of IEEE International Conference on Image Processing, vol. 1, pp. 493–496 vol.1, 2000.

[100] S. Derrode and F. Ghorbel, “Robust and efficient Fourier-Mellin trans- form approximations for gray-level image reconstruction and complete invariant description,” Computer Vision and Image Understanding, vol. 83, no. 1, pp. 57 – 78, 2001.

[101] B. Reddy and B. N. Chatterji, “An FFT-based technique for transla- tion, rotation, and scale-invariant image registration,” IEEE Transac- tions on Image Processing, vol. 5, no. 8, pp. 1266–1271, 1996.

[102] A. Dutt and V. Rokhlin, “Fast Fourier transforms for nonequispaced data, II,” Applied and Computational Harmonic Analysis, vol. 2, no. 1, pp. 85 – 100, 1995.

[103] N. Nguyen and Q. H. Liu, “The regular Fourier matrices and nonuni- form fast Fourier transforms,” SIAM Journal on Scientific Computing, vol. 21, pp. 283–293, August 1999.

[104] J. Fessler and B. Sutton, “Nonuniform fast Fourier transforms us- ing min-max interpolation,” IEEE Transactions on Signal Processing, vol. 51, no. 2, pp. 560–574, 2003.

[105] A. Averbuch, R. Coifman, D. Donoho, M. Elad, and M. Israeli, “Fast and accurate polar Fourier transform,” Applied and Computational Harmonic Analysis, vol. 21, no. 2, pp. 145–167, 2006.

[106] L. Liang, G. Shi, and X. Xie, “Nonuniform directional filter banks with arbitrary frequency partitioning,” IEEE Transactions on Image Processing, vol. 20, no. 1, pp. 283–288, 2011.

[107] A. Averbuch, R. Coifman, D. Donoho, M. Israeli, and Y. Shkolnisky, “A framework for discrete integral transformations i - the pseudopolar Fourier transform,” SIAM Journal on Scientific Computing, vol. 30, no. 2, pp. 764–784, 2008.

[108] Y. Keller, A. Averbuch, and M. Israeli, “Pseudopolar-based estimation of large translations, rotations, and scalings in images,” IEEE Trans- actions on Image Processing, vol. 14, no. 1, pp. 12–22, 2005.

[109] W. Pan, K. Qin, and Y. Chen, “An adaptable-multilayer fractional Fourier transform approach for image registration,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 31, pp. 400–414, March 2009.

[110] D. Marr and E. Hildreth, “Theory of edge detection,” Proceedings of the Royal Society of London. Series B. Biological Sciences, vol. 207, no. 1167, pp. 187–217, 1980.

[111] A. Borkar, M. Hayes, M. Smith, and S. Pankanti, “A layered approach to robust lane detection at night,” in IEEE Workshop on Compu- tational Intelligence in Vehicles and Vehicular Systems. CIVVS ’09, pp. 51–57, April 2009.

[112] Y. Jiang, F. Gao, and G. Xu, “Computer vision-based multiple-lane detection on straight road and in a curve,” in International Conference on Image Analysis and Signal Processing (IASP), pp. 114–117, April 2010.

[113] X. Shi, B. Kong, and F. Zheng, “A new lane detection method based on feature pattern,” in 2nd International Congress on Image and Signal Processing. CISP ’09, pp. 1–5, October 2009.

[114] A. Borkar, M. Hayes, and M. Smith, “Robust lane detection and track- ing with ransac and kalman filter,” in 16th IEEE International Con- ference on Image Processing (ICIP), pp. 3261–3264, November 2009. [115] P. Gravel, G. Beaudoin, and J. De Guise, “A method for modeling noise

in medical images,” IEEE Transactions on Medical Imaging, vol. 23, no. 10, pp. 1221–1232, 2004.

[116] MATLAB and Curve Fitting Toolbox Release 2013a, The MathWorks, Inc., Natick, Massachusetts, United States.

[117] D. C. Hoaglin, F. Mosteller, and J. W. Tukey, Understanding robust and exploratory data analysis, vol. 3. Wiley New York, 1983.

[118] LSD: a Line Segment Detector, Website.

http://www.ipol.im/pub/art/2012/gjmr-lsd/.

[119] EDLines: Edge Drawing (ED)-Based Real-Time Line Segment Detec- tion, Website. http://ceng.anadolu.edu.tr/CV/EDLines/demo.aspx. [120] “Electron microscope image website, http://cosmicastronomy.com/3d-

learn.htm,” 2012.

[121] A. Yang, W. Ai-ling, and J. Chang, “The research on parallel least squares curve fitting algorithm,” in International Conference on Test and Measurement, ICTM 09, vol. 2, pp. 201–204, 2009.

[122] J. W. Cooley and J. W. Tukey, “An algorithm for the machine calcula- tion of complex Fourier series,” Mathematics of computation, vol. 19, no. 90, pp. 297–301, 1965.

[123] M. Frigo and S. Johnson, “The design and implementation of FFTW3,” Proceedings of the IEEE, vol. 93, no. 2, pp. 216–231, 2005.

Appendix A

Fast Fourier transform

A.1

Forward transform

The fast Fourier transform (FFT) is a computationally optimised algorithm for calculating the discrete Fourier transform (DFT). Let us consider the continuous Fourier transform as a form of integral given by

F (u) = Z ∞

−∞

f (x)e−j2πuxdx (A.1)

where f (x) is a continuous function in the time domain. As a result of an imaginary component j the transform yields to a complex domain, refereed as the Fourier or frequency domain. Recalling that the imaginary exponent could be written as:

ejθ = cos θ + j sin θ (A.2)

For a digital signal that has been sampled from its continuous form f (x) into a discrete form f (n), a DFT is defied as:

F (k) =

NX−1 n=0

Here{f0, f1, ..., fN−1} are discrete samples of input signal f(n) and

{F0, F1, ..., FN−1} are the corresponding result of the DFT. N is the total

number of available discrete components in f (n) and is usually a power of 2. Therefore, to implement the algorithm using a computer program it is sufficient to write a double loop code and calculate the sums of the products of input samples and imaginary exponents. The complexity of such operation is of O(N2) order. However, the complexity can be reduced to the order of O(N log2N ) using the algorithm explained in the following.

Let us consider the DFT of a signal with N = 8 samples given as:

F (k) = f (0) + f (1) e−j2πk/8+ f (2) e−j2π2k/8+ f (3) e−j2π3k/8

+ f (4) e−j2π4k/8+ f (5) e−j2π5k/8+ f (6) e−j2π6k/8+ f (7) e−j2π7k/8 (A.4)

Equation. A.4 can be split into two similar sums by separating the odd and even elements and factoring out the e−j2πk/8 from f (1) component.

F (k) = " f (0) + f (2) e−j2π2k/8+ f (4) e−j2π4k/8+ f (6) e−j2π6k/8 # + e−j2πk/8 " f (1) + f (3) e−j2π2k/8+ f (5) e−j2π4k/8+ f (7) e−j2π6k/8 # (A.5)

F (k) = " f (0) + f (4) e−j2π4k/8 ! + e−j2π2k/8 f (2) + f (6) e−j2π4k/8 !# + e−j2πk/8 " f (1) + f (5) e−j2π4k/8 ! + e−j2π2k/8 f (3) + f (7) e−j2π4k/8 !# (A.6) Equation. A.6 shows there are log28 = 3 levels of summation, i.e. the deepest level in parenthesis, the middle level in brackets and the outer or the last level. Also, for every level the exponential component is the same. Equation. A.6 can be further simplified as:

F (k) = " f (0) + f (4) e−jπk ! + e−jπk/2 f (2) + f (6) e−jπk !# + e−jπk/4 " f (1) + f (5) e−jπk ! + e−jπk/2 f (3) + f (7) e−jπk !# (A.7)

Note that one of the interesting properties of a complex number ejθ is the periodicity at every 2π radian and can be used to speed-up the computation. Given that

ejθ = ej(θ+2π) (A.8) Period for each of the exponential terms inside the parenthesis in Equa-