Open main menu

CDOT Wiki β

GPU610/TeamKCM

Revision as of 18:38, 3 October 2014 by Byungho Kim (talk | contribs) (Byungho's Findings)

Team KCM

Team Members

  1. Byunghi Kim, Some responsibility
  2. Taeyang Chung, Some responsibility
  3. SeungYeon Moon, Some responsibility

Email All

Progress

Assignment 1

Byungho's Findings

To enhance image quality, most of S/W use convolution algorithm with sharpen kernel. The convolution algorithm is based on matrix matrix multiplication and the kernel which consists of 3 x 3 matrix or 5 x 5 matrix. Therefore, as we learned at the GPU610 class, I can speed up the program using CUDA library


Original Image Enhanced Image

These two images show the result of the S/W. Left picture is the original image and right picture is obtained from the S/W. The sharpen kernel is 3x3 matrix.

Taeyang's Findings

......

SeungYeon's Findings

There are many types of image processing or operations can be done. Some of examples are rotating,re-sizing,blurring, etc... For Assignment 1, I decided to work with one of the operation that can be done with an image in c++, which deals with brightness and contrast of an image. I was able to find a open source code from "openCV" website it stands for Open Source Computer Vision, is open source libraries developed by Intel for image and video processing. The libraries can be installed in any platform, and i was able to install it in my windows platform, and all test runs all done using visual studio 2013, Test file is compiled and profiled using performance wizard vs13. Following website openCV.org is an official documentation website of openCV libraries, with code examples for many image and video type operations

The open source code for the program requires 3 user inputs which are path to an image and alpha,beta values which will be multiplied and added to each pixels' in the image. To make sure test run is accurate, i had to change some code in the program and hard code in the values for alpha and beta.

Here is two test runs using same image but in different file size

Test run with an image size of 500KB

 

Total Time takes is 12 seconds


 


Test run with an image size of 2MB

 

Total Time takes is 14 seconds


 


SeungYeons' observation for As_1

Changing contrast and brightness of an image in the function is implemented with a scale * matrix operation. M_A(x,y) = ALPHA * M_B(x,y) + BETA;


Assignment 2

Assignment 3