Robotics 2
Masking and Image Segmentation
To complete this lab activity, make a video that includes the following in one video:

(1) You saying your name
(2) A screenshot showing your rgb image, the background object image, and one image for each of the objects in the rgb image
Your ID Code:
Link to YouTube Activity Completion Video:
Masking is an image processing method in which we define a small 'image piece' and use it to modify a larger image.  Masking is the process that is underneath many types of image processing, including edge detection, motion detection, and noise reduction.  In this video, we learn the basics of how masking works.
When there is more than one object in view in a scene at the same time, we need to figure out which pixels of the image belong to which objects.  This process is called 'image segmentation'.  We accomplish image segmentation by using a 'connected pixel' algorithm to find an 'object matrix', in which the value of each pixel tells which object that pixel belongs to.
In this video, we write Python code to use image segmentation to separate three objects simultaneously in our camera view.  Then, we use masking to reduce the image noise and improve the image segmentation results.
Your ID Code:
If you don't think you can get this challenge and quiz done by the due date, type in your User ID and click 'Request Extension'.  You are allowed 5 extensions in the semester.  If you are approved for the extension, then the due date for this challenge and quiz will be extended for you for 3 days.