Project

General

Profile

Project Description » History » Version 27

Joseph Eugene PELC, 10/24/2024 02:58 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 25 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 25 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 25 Joseph Eugene PELC
h2. *Technology:*
24 8 Tomoki SAKAI
25 27 Joseph Eugene PELC
We plan on using one flat-screen display using two projectors with two computers so we can simultaneously show the two images to appear on the large display to create one image. To achieve this, we will use techniques such as gamma correction method, 
26 25 Joseph Eugene PELC
h2. *Alpha Blending Method:*
27 16 Joseph Eugene PELC
28 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.
29 13 Joseph Eugene PELC
30 25 Joseph Eugene PELC
h2. *Gamma Correction Method:*
31 22 MYAT Ma De May Phuu Ngon
32 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.
33 1 Faiq Sayyidan SETIAWAN
34
35 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.
36 17 MYAT Ma De May Phuu Ngon
37 20 MYAT Ma De May Phuu Ngon
*gamma_corrected = (image / 255.0)^gamma * 255*
38 1 Faiq Sayyidan SETIAWAN
39 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.
40 17 MYAT Ma De May Phuu Ngon
41
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. 
42
43
!before_gamma.jpg!
44
45 25 Joseph Eugene PELC
*Before Gamma Correction:*
46 17 MYAT Ma De May Phuu Ngon
47
!after_gamma.jpg!
48
49 19 Joseph Eugene PELC
*After Gamma Correction*