Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In Matlab Task 10 (25 points) Binary image: similar to the blue-screening technique on TV and in movies function [ out!mg ] = binaryMask( 1n1mg
In Matlab
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 imageStep 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