顯示具有 96160276_Vicky 標籤的文章。 顯示所有文章
顯示具有 96160276_Vicky 標籤的文章。 顯示所有文章

2011年1月5日 星期三

Course Review

1. What is your favorite homework?

My favorite homework is the object can follow the red pen. It is to make out the color and the object can follow the color. And our final project also use this kind of code, and final project part is also the rare momery and experience for me. We try to draw rectangel and let it can go with color and make more rectangel which follow different color. Then we try to change the color if two rectangel overlap with each other. And we add sound in our project. When one color rectangel out then it will appear one sound.

2. What did you learn in this course?

In this class, I learned:

How to use webcam by Dev-C++.

Use one webcam then show many image.

How to let object follow the red pen.

Make out and change the color.

To let one image change many different color.

Design a range then can do some small game.

Detect hight then can do the small game.

How to detect X-projection and Y-projection.

3. What did you change after this course?

In this class, I really learn morn knowledge about the video processing. This is my first time contant this kind of technology. It is really an interestring class but the code is still difficult to me, I hope we can have more time to learn more this knowledge.

Final Project


Vivian & Vicky


2010年12月8日 星期三

HW7-2



This is the other homework in the class. It is the same effect as HW7_1. But the different thing is that when the points lower than the basic line then the line will become bigger. The key part is “if (TopHeadPosition > LinePosition && TopHeadPosition > frame->height) {Points++;}”. This part is different from HW7_1 therefore the result is different.

HW7-1



In class, teacher taught us detection of the high point. If the high point over the basic line, the line will become bigger. This homework shows that it not only have level line (blue line) but also have vertical line (yellow line). When point over the level line then level line will become bigger. If the point over the vertical line, vertical line will become bigger.

HW6



It is interesting game. We have to try our best to let our body don’t over the green range, or the grade will become lower. When we run the program, we have to make sure the background is static and the white background is more accurate. The start grade must be zero, or the grades will inaccuracy. We can design the shape as we want. Vivian and I decided to design “M” at this homework.

2010年10月20日 星期三

HW5

I think this is interesting because we can let picture follow the red things. But it is difficult to let me understand the code therefore I spend much time to read it. I think if I can familiar with with, maybe I can use it to do some interesting games. I hope I can do it.

HW4


At this class, I learned how to divide area in the same screen then change the same color to two different color . The most important thing which I think is the pointer. If we want many different outcome, we don't need to write long code at same time. We can use pointer to point which we want then if the condition is the same, we don't need to write the condition again, we can just omit redundant code then write main code on that. If we use pointer nimbly, it is easy to change outcome which we want.

2010年10月6日 星期三

HW3


At this class, I learn how to let our view with logo and how to let it not just stay at same place. If we want let logo move, we have to set x1 and y1 to control. If x1 and y1 I set it will be a fix number then the logo will not move. If I want logo move from down to top, y1 should be set like"y1=((y1+5)%(pImg->height-logoImg->height)". But if we want it move from top to down, y1 should be set like "y1=((y1+5)%(pImg->height-logoImg->height)". And the most important thing is that we have to add a limit to avoid logo move out of the range, therefore, we can add "if(y<0) y1="pImg-">height-logoImg->height}" to avoid this kind of situation happend.


2010年9月29日 星期三

HW3


This code is more difficult for me to understand, but now I know some concept about this. At colored image, one pixel include three bytes (Blue, Green, Red). At gray image, one pixel include one byte. If we want to change color image's color to the same kind of colored, we have to change each pixel of each row, therefore, we have to use for-loop to get each pixel's site then change it.

2010年9月22日 星期三

HW2


I think it is interesting and it's amazing that we can just write some code then we can change image to different view. There are many code need "0" and "1", and in each code have different meaning, therefore, we have to notice this.

2010年9月15日 星期三

HW1-1


Although this course use different computer language, but I think it is really interesting and not
too difficult for us at this part. Original I think only can show one screen from one webcam at each time, now I know we can just write some code to let we can show so many image at once. And I learn "CvCapture" means to connect to video, "IplImage" is about the image, and what's cvFlip mean.

HW01