Question
In this lab you will take an image of a rabbit on a green screen and replace the green screen behind the rabbit with another
In this lab you will take an image of a rabbit on a green screen and replace the green screen behind the rabbit with another background image. The RGB pixel information (numbers between 0 and 256) is broken up into different arrays within the image files.Use this information to manipulate the arrays in the image files to create the final desired image. The image files are attached to the assignment in canvas. Make sure that the image files are located in the same folder as your code file in order to read them. Image file names: rabbitGreenScreen.jpg nature_background.jpg Read and show the images using: testImage = imread(fileName); imshow(testImage). Please provide output picture as well.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started