|
@@ -203,13 +203,13 @@ In this laboratory experience, starting with an image with an object of interest
|
203
|
203
|
|
204
|
204
|
You will be working with the `Filter.cpp` file. The following is a review of the variables in this file:
|
205
|
205
|
|
206
|
|
-* objectImage: reference to the object image with the solid background
|
207
|
|
-* backgroundImage: reference to the background image object
|
208
|
|
-* mergedImage: reference to the merged image
|
209
|
|
-* threshold: is a threshold value used to compare the distances between the object pixel and the solid background pixel. In the provided code, the threshold value is read from the slideBar.
|
210
|
|
-* ghost: is a boolean value used to apply ghost filter to pixels.
|
211
|
|
-* (x, y): contains the coordinate of the pixel whose color will be used as solid background. The default value is (0,0).
|
212
|
|
-* (offset_x, offset_y): the coordinate of the merged image where the upper-left corner of the objectImage should be inserted. The default value is (0,0).
|
|
206
|
+* `objectImage`: reference to the object image with the solid background
|
|
207
|
+* `backgroundImage`: reference to the background image object
|
|
208
|
+* `mergedImage`: reference to the merged image
|
|
209
|
+* `threshold`: is a threshold value used to compare the distances between the object pixel and the solid background pixel. In the provided code, the threshold value is read from the slideBar.
|
|
210
|
+* `ghost`: is a boolean value used to apply ghost filter to pixels.
|
|
211
|
+* `(x, y)`: contains the coordinate of the pixel whose color will be used as solid background. The default value is (0,0).
|
|
212
|
+* `(offset_x, offset_y)`: the coordinate of the merged image where the upper-left corner of the objectImage should be inserted. The default value is (0,0).
|
213
|
213
|
|
214
|
214
|
### Exercise 1 - Create a Composite Image
|
215
|
215
|
|