|
@@ -32,6 +32,8 @@ Before coming to the laboratory you should have:
|
32
|
32
|
|
33
|
33
|
4. Taken the Pre-Lab quiz that is found in Moodle.
|
34
|
34
|
|
|
35
|
+5. Visit the following Facebook page to see how the green technology is used in some Hollywood movies: https://www.facebook.com/video.php?v=920387528037801
|
|
36
|
+
|
35
|
37
|
---
|
36
|
38
|
|
37
|
39
|
---
|
|
@@ -105,7 +107,7 @@ The following functions are useful to work with data of type `QRgb`:
|
105
|
107
|
|
106
|
108
|
####Examples:
|
107
|
109
|
|
108
|
|
-1. `QRgb myRgb = qRgb(0xff, 0x00, 0xff);`: Assigns the value `0xff00ff` to `myRgb` which represents the color ![figure2.jpg](images/figure4.jpg)
|
|
110
|
+1. `QRgb myRgb = qRgb(0xff, 0x00, 0xff);`: Assigns the value `0xff00ff` to `myRgb` which represents the color ![figure4.png](images/figure4.png)
|
109
|
111
|
|
110
|
112
|
Notice that the value `0xff00ff` represents the values `0xff`, `0x0`, and `0xff`, that correspond to the red, green and blue components in `myRgb`.
|
111
|
113
|
|
|
@@ -175,14 +177,19 @@ where $$P_R$$, $$P_G$$, and $$P_B$$ are the red, green and blue components of th
|
175
|
177
|
---
|
176
|
178
|
|
177
|
179
|
!INCLUDE "../../eip-diagnostic/green-screen/en/diag-green-screen-01.html"
|
|
180
|
+<br>
|
178
|
181
|
|
179
|
182
|
!INCLUDE "../../eip-diagnostic/green-screen/en/diag-green-screen-02.html"
|
|
183
|
+<br>
|
180
|
184
|
|
181
|
185
|
!INCLUDE "../../eip-diagnostic/green-screen/en/diag-green-screen-03.html"
|
|
186
|
+<br>
|
182
|
187
|
|
183
|
188
|
!INCLUDE "../../eip-diagnostic/green-screen/en/diag-green-screen-04.html"
|
|
189
|
+<br>
|
184
|
190
|
|
185
|
191
|
!INCLUDE "../../eip-diagnostic/green-screen/en/diag-green-screen-05.html"
|
|
192
|
+<br>
|
186
|
193
|
|
187
|
194
|
---
|
188
|
195
|
|
|
@@ -323,4 +330,4 @@ Use "Deliverables" in Moodle to upload the `filter.cpp` file that contains the `
|
323
|
330
|
|
324
|
331
|
[2] http://en.wikipedia.org/wiki/Chroma_key
|
325
|
332
|
|
326
|
|
-[3] http://doc.qt.io/qt-4.8/qimage.html
|
|
333
|
+[3] http://doc.qt.io/qt-4.8/qimage.html
|