Project

General

Profile

Project Description » History » Version 24

Joseph Eugene PELC, 10/24/2024 02:27 PM

1 1 Faiq Sayyidan SETIAWAN
2
---
3
4 7 Faiq Sayyidan SETIAWAN
*[[/|Home]]*   |   *[[Team Members]]*   |   *[[Project Description]]*   |   *[[Code]]*   |   *[[UML Diagrams]]*   |   *[[Results]]*   |
5 1 Faiq Sayyidan SETIAWAN
6
---
7 2 Faiq Sayyidan SETIAWAN
8
9 3 Faiq Sayyidan SETIAWAN
h1=. <pre>
10
Project Description </pre>
11 4 Joseph Eugene PELC
12 23 Joseph Eugene PELC
h2. *Overview*
13 4 Joseph Eugene PELC
14 9 Joseph Eugene PELC
The aim of this project is to output two different projector images merged into one singular display. We used techniques such as gamma correction, alpha blending, and modification of intensities on the images, in order to get the final result. Our project will have a project manager, team leader, Doxygen documentation team, wiki team, coding team, and UML design team.
15
16 24 Joseph Eugene PELC
h2. *Software and Tools*
17 5 Joseph Eugene PELC
18 12 Joseph Eugene PELC
%{color: red}Redmine% - We used Redmine to track our progress and tasks we need to finish
19
%{color: green}Python / OpenCV% - For image processing we used OpenCV within Python 
20
%{color: blue}Doxygen% - We used Doxygen for the code documentation
21
%{color: purple}Astah% - To create UML diagrams of the code 
22 8 Tomoki SAKAI
23 24 Joseph Eugene PELC
h2. *Technology*
24 8 Tomoki SAKAI
25 24 Joseph Eugene PELC
h2. *Alpha Blending Method*
26 16 Joseph Eugene PELC
27 1 Faiq Sayyidan SETIAWAN
The code defines an image processing application using Tkinter for the GUI, OpenCV for image manipulation, and PIL for rendering. It allows users to load configuration files, process images with gamma correction and alpha blending, and display or save the results.
28 13 Joseph Eugene PELC
29 24 Joseph Eugene PELC
h2. *Gamma Correction Method*
30 22 MYAT Ma De May Phuu Ngon
31 17 MYAT Ma De May Phuu Ngon
This project incorporates a method called gamma correction which adjusts the brightness of an image by altering its luminance values to each value of the pixel in a non-linear manner. This is helpful in matching to human perception of light. Compared to a camera, we are much more sensitive to changes in dark tones than we are to similar changes in bright tones. There's a biological reason for this peculiarity: it enables our vision to operate over a broader range of luminance.
32 1 Faiq Sayyidan SETIAWAN
33
34 20 MYAT Ma De May Phuu Ngon
Gamma correction involves applying a power-law function to the pixel values of an image. The formula used is described as below.
35 17 MYAT Ma De May Phuu Ngon
36 20 MYAT Ma De May Phuu Ngon
*gamma_corrected = (image / 255.0)^gamma * 255*
37 1 Faiq Sayyidan SETIAWAN
38 22 MYAT Ma De May Phuu Ngon
If the gamma is greater than 1, the image becomes darker; if it is less than 1, the image appears brighter.
39 17 MYAT Ma De May Phuu Ngon
40
Note: Gamma is the provided gamma value. Since pixel values range from 0 to 255, the original image is first normalized (divided by 255), then raised to the power of gamma, and finally rescaled to the 0-255 range. 
41
42
!before_gamma.jpg!
43
44
*Before Gamma Correction*
45
46
!after_gamma.jpg!
47
48 19 Joseph Eugene PELC
*After Gamma Correction*