User Tools

Site Tools


cs276:tutorial_assignment_6

For this algorithm, I divided the screen into three sections by:

1) number of Pixel divided by 3: Where I set the color of all pixels of the 'frameDifferencing' in the first section to color blue (by multiplying the value by 2) and

2) number of Pixel divided by 1.5: Where the Color of all pixels of the 'frameDifferencing' in the second section is set to color green (by multiplying the value by 3) and

3) The Third section (else): Where I used the 'else' to refer to those pixels that do not fit the discription of the first two sections. I color this section red (by multiplying the value by 5) .

cs276/tutorial_assignment_6.txt · Last modified: 2009/10/29 04:46 by bex