Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribedIn 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 image

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Analysis Using SQL And Excel

Authors: Gordon S Linoff

2nd Edition

111902143X, 9781119021438

More Books

Students also viewed these Databases questions