Question: please give matlab code!!! To start off with, let's generate some fake edge data so that we know what the solution is. Create a 400400
To start off with, let's generate some fake edge data so that we know what the "solution" is. Create a 400400 binary image that has two objects on it: - A line with slope m=1 and y-intersept b=100. - A circle with center x=100,y=200 and radius r=50. You can generate the line by starting varying x from its minimium to maximum value, generating y values along the way according to the formula y=mx+b. You can generate the circle by varying =[0,2] and generating the (x,y) coordinates according to: x=x0+rcos()y=y0+rsin() where (x0,y0) is the center of the circle and r is its radius. Display your generated image and include it in your report. It should look something like Figure 1. Note that since the origin of an image's coordinate system is the top-left, its positive y-axis is down, and therefore your image is a reflection about the x-axis from what you might imagine it to be. Figure 1: Generated binary image
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
