Difference between revisions of "Nameless"

From CDOT Wiki
Jump to: navigation, search
(Assignment 1)
Line 9: Line 9:
 
=== Assignment 1 ===
 
=== Assignment 1 ===
 
<u>'''Francis' discoveries'''</u>
 
<u>'''Francis' discoveries'''</u>
So far after doing some research through windows command I've managed to compile it.  I chose one of the example projects that CImg offers "spherical_function3d" which displays an odd looking 3D rendered splash image.  You can rotate the image any direction you like.
+
After doing some research and going through the trouble of building through windows command-line on the latest GNU compiler, I've managed to compile it.
  
After performing some test I find this particular function to take up the majority of the execution timeBe forewarned that the function name is extremely long and it probably has links to multiple source files.  The name of the function in quotation is this "''cimg_library::CImg<unsigned char>& cimg_library::CImg<unsigned char>::_draw_object3d<float, float, unsigned int, unsigned char, cimg_library::CImgList<float> >(void*, cimg_library::CImg<float>&, float, float, float, cimg_library::CImg<float> const&, cimg_library::CImgList<unsigned int> const&, cimg_library::CImgList<unsigned char> const&, cimg_library::CImgList<float> const&, unsigned int, bool, float, float, float, float, float, float, float)''"
+
I chose one of the sample projects that CImg carries, "tutorial.cpp"Based on my observations through running it, it measures the amount of Red, Green and Blue values (RGB, primary colours) of a picture; there is one window displaying an image in this case a parrot and the other window to measure RGB values.
  
According to the flat diagram it took 1.57 seconds.
+
After performing some execution tests, I've found that '''CImgDisplay''' function consumes the most amount of time at 1.57 seconds.
  
Here is a flat diagram
+
Here's the flat diagram:
[[File:Flat Diagram.jpg]]
+
[[File:Flat.jpg]]
  
As well as the Call Graph
+
As well as the call graph diagram:
[[File:Call Graph.jpg]]
+
[[File:Call.jpg]]
  
 
=== Assignment 2 ===
 
=== Assignment 2 ===
 
=== Assignment 3 ===
 
=== Assignment 3 ===

Revision as of 20:52, 14 October 2015

Project Name Goes here

Team Members

  1. Rene Anderson, researching
  2. Francis Chau, researching on Image Processing
  3. Yiqi Liu, doing something

Email All

Progress

Assignment 1

Francis' discoveries After doing some research and going through the trouble of building through windows command-line on the latest GNU compiler, I've managed to compile it.

I chose one of the sample projects that CImg carries, "tutorial.cpp". Based on my observations through running it, it measures the amount of Red, Green and Blue values (RGB, primary colours) of a picture; there is one window displaying an image in this case a parrot and the other window to measure RGB values.

After performing some execution tests, I've found that CImgDisplay function consumes the most amount of time at 1.57 seconds.

Here's the flat diagram: Flat.jpg

As well as the call graph diagram: Call.jpg

Assignment 2

Assignment 3