Question: For this assignment, you will create a program that uses only pygame to perform a simple chroma-keying (also known as green screening) operation, to merge

 For this assignment, you will create a program that uses only
pygame to perform a simple chroma-keying (also known as green screening) operation,

For this assignment, you will create a program that uses only pygame to perform a simple chroma-keying (also known as green screening) operation, to merge two images. The first image will be a background image and the second image will be the image of a ghost against a green background (i.e, pixels where the red and blue values are 0 and the green value is 255). Your task will be to overlay a semi-transparent image of the ghost on top of the background, centered at a point defined by the user. The result will be an image where the monster appears as a ghost, as depicted in the example below You must create a flowchart before you start writing your code for this assignment. You will not be submitting the flowchart on cuLearn, but if you visit the instructor or a teaching assistant you will be asked to show your flowchart before you will receive any assistance. Specification for Assignment 4 of 6 This is actually a very simple problem, but only if you take the time to apply a divide-and- conquer methodology. It can be easily completed (i.e, with less than 50 lines of code), but you will need to combine many of the different programming skills you have learned. For this assignment, you will create a program that uses only pygame to perform a simple chroma-keying (also known as green screening) operation, to merge two images. The first image will be a background image and the second image will be the image of a ghost against a green background (i.e, pixels where the red and blue values are 0 and the green value is 255). Your task will be to overlay a semi-transparent image of the ghost on top of the background, centered at a point defined by the user. The result will be an image where the monster appears as a ghost, as depicted in the example below You must create a flowchart before you start writing your code for this assignment. You will not be submitting the flowchart on cuLearn, but if you visit the instructor or a teaching assistant you will be asked to show your flowchart before you will receive any assistance. Specification for Assignment 4 of 6 This is actually a very simple problem, but only if you take the time to apply a divide-and- conquer methodology. It can be easily completed (i.e, with less than 50 lines of code), but you will need to combine many of the different programming skills you have learned

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!