Experimental investigation on the execution time of the C++ program

The purpose of this project is to conduct an experimental investigation on the execution time of the C++ programs that perform Gaussian Filtering and Edge Detection on a digital image. The report first gives an introduction about the project. The theory concepts of sine and cosine calculation, Gaus...

Full description

Saved in:
Bibliographic Details
Main Author: Thiyagarajan Masilamani
Other Authors: Douglas Leslie Maskell
Format: Final Year Project
Language:English
Published: 2017
Subjects:
Online Access:http://hdl.handle.net/10356/70423
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-70423
record_format dspace
spelling sg-ntu-dr.10356-704232023-03-03T20:23:18Z Experimental investigation on the execution time of the C++ program Thiyagarajan Masilamani Douglas Leslie Maskell School of Computer Science and Engineering DRNTU::Engineering::Computer science and engineering The purpose of this project is to conduct an experimental investigation on the execution time of the C++ programs that perform Gaussian Filtering and Edge Detection on a digital image. The report first gives an introduction about the project. The theory concepts of sine and cosine calculation, Gaussian Filtering and Edge Detection are explained. The report then gives a brief introduction about the Canny operator, Zedboard and OpenCV library. The Canny operator is the method of Edge Detection used in this experiment. The OpenCV library algorithm is used for the C++ programs to implement the Gaussian Filtering and the Edge Detection function. The second part of the report explains about the design documentation used in the project. The report will discuss about the C program which computes the value of the sine and cosine function and two C++ programs which perform Gaussian Filtering and Edge Detection on a digital image. The C++ programs will then be tested on the Zedboard and the execution time is recorded. The third part of the report discusses about the results obtained in the project. The comparison between the original image and the output image of the C++ programs is done. The Kernal size used in the Gaussian filtering program and Edge detection program is experimented with different values. The C++ programs are run on both the desktop computer and the Zedboard and the execution time on both platforms are compared. The execution time of the Gaussian filtering program and Edge detection program run on Zedboard is 1.880s and 0.890s respectively. The execution time of the Gaussian filtering program and Edge detection program run on desktop computer is 1.867s and 0.614s respectively. Hence, the execution time of the C++ program run on the desktop computer is shorter than that of the Zedboard. This leads to the conclusion that the speed of the processor in the desktop computer is faster than that of the Zedboard. Bachelor of Engineering (Computer Engineering) 2017-04-24T04:12:57Z 2017-04-24T04:12:57Z 2017 Final Year Project (FYP) http://hdl.handle.net/10356/70423 en Nanyang Technological University 35 p. application/pdf
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic DRNTU::Engineering::Computer science and engineering
spellingShingle DRNTU::Engineering::Computer science and engineering
Thiyagarajan Masilamani
Experimental investigation on the execution time of the C++ program
description The purpose of this project is to conduct an experimental investigation on the execution time of the C++ programs that perform Gaussian Filtering and Edge Detection on a digital image. The report first gives an introduction about the project. The theory concepts of sine and cosine calculation, Gaussian Filtering and Edge Detection are explained. The report then gives a brief introduction about the Canny operator, Zedboard and OpenCV library. The Canny operator is the method of Edge Detection used in this experiment. The OpenCV library algorithm is used for the C++ programs to implement the Gaussian Filtering and the Edge Detection function. The second part of the report explains about the design documentation used in the project. The report will discuss about the C program which computes the value of the sine and cosine function and two C++ programs which perform Gaussian Filtering and Edge Detection on a digital image. The C++ programs will then be tested on the Zedboard and the execution time is recorded. The third part of the report discusses about the results obtained in the project. The comparison between the original image and the output image of the C++ programs is done. The Kernal size used in the Gaussian filtering program and Edge detection program is experimented with different values. The C++ programs are run on both the desktop computer and the Zedboard and the execution time on both platforms are compared. The execution time of the Gaussian filtering program and Edge detection program run on Zedboard is 1.880s and 0.890s respectively. The execution time of the Gaussian filtering program and Edge detection program run on desktop computer is 1.867s and 0.614s respectively. Hence, the execution time of the C++ program run on the desktop computer is shorter than that of the Zedboard. This leads to the conclusion that the speed of the processor in the desktop computer is faster than that of the Zedboard.
author2 Douglas Leslie Maskell
author_facet Douglas Leslie Maskell
Thiyagarajan Masilamani
format Final Year Project
author Thiyagarajan Masilamani
author_sort Thiyagarajan Masilamani
title Experimental investigation on the execution time of the C++ program
title_short Experimental investigation on the execution time of the C++ program
title_full Experimental investigation on the execution time of the C++ program
title_fullStr Experimental investigation on the execution time of the C++ program
title_full_unstemmed Experimental investigation on the execution time of the C++ program
title_sort experimental investigation on the execution time of the c++ program
publishDate 2017
url http://hdl.handle.net/10356/70423
_version_ 1759854537671180288