Task 10 (25 points) Binary image: similar to the blue-screening technique on TV
ID: 3594599 • Letter: T
Question
Task 10 (25 points) Binary image: similar to the blue-screening technique on TV and in movies function [ out!mg ] = binaryMask( 1n1mg ) Create one binary image out Img (also known as the mask), which will represent the boundaries of the object of interest in the input image inImg. A binary image has only values of 0 and 1, so only black and white pixels, no grey shades (this means outImg is a 2-dimensional matrix) To make this task easier, you only need to make this function work for one input image: wrench1.jpg. Your algorithm should be able to figure out the threshold value that separates the background from the "object of interest" in the image. The pixels in the binary image will have the value of O if they belong to the background, and 1 otherwise (if they are part of the wrench). Choosing the Binary Image menu button should result in: a. Calling the binaryMask function, with the current image as input. b. Displaying the original image and the resulting image, side by side (use subplots) c. Saving the resulting image.Explanation / Answer
binaryMask.m
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.