Question: In Matlab Complete the following task: Problem: Write a function named DeleteRegion that takes an input image and regenrates output images as given below. Your
In Matlab Complete the following task:
Problem: Write a function named DeleteRegion that takes an input image and regenrates output images as given below.
Your function will be tested against two other images that are not visible to you, so hard coded values for structuring elements will not work.
INPUTS:
I input image
OUTPUTS:
Ioutstudent contains all regions except the third largest region removed set to background intensity
Note:
All ouput image are of datatype double
All output images are same size as input
Test this function as below:
I imreadExPbpng;
Ioutstudent DeleteRegionI;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
