Open main menu

CDOT Wiki β

Changes

BLAStoise

840 bytes added, 01:51, 12 February 2017
Assignment 1
0.00 16.57 0.00 1 0.00 0.00 __static_initialization_and_destruction_0(int, int)
0.00 16.57 0.00 1 0.00 0.00 __static_initialization_and_destruction_0(int, int)
 
 
'''Oil Painting'''
 
This program converts a regular image into a stylized oil painting, it uses OpenCV. The painting algorithm depends on the brush size and colour intensity. The program takes three command line arguments: int for brush size, int for intensity and file name of an image. Upon finishing, the program produces the original image along with the oil paint version and the total time required in seconds.
 
The original source code can be found [https://github.com/housewing/OpenCV-Image-Processing/blob/master/OilPaint_forloop.cpp here]. However there have been some changes to make testing and profiling slightly easier. (Mainly changes are putting the for-loop logic into a function outside of the main and modifying for command line arguments instead of hard coding values.)
 
To profile the program, run this command.
 
$
=== Assignment 2 ===
=== Assignment 3 ===
23
edits