Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create MATLAB code for the following: 1 5 . Our corner response function may return a lot of corners that can be quite close to

Create MATLAB code for the following:
15. Our corner response function may return a lot of corners that can be quite close to each other.
What wed like to do next is define a minimum distance that we want these features (corners) to
be from each other. Well then want to step through each of our corners and remove the ones
that are close too close to each other. We do this by starting with the strongest corner that we
found (the first one in the list because its sorted) and remove other corners that are within the
minimum distance to this point.
16. First thing we will want to do is initialize our minimum distance:
minDistance =10;
17. Copy and paste the following code into your program and complete the code
while(size(cornerList,2)>0)
c1= cornerList(1);
cornerList = cornerList(2:end); %remove the first one
goodCorners =[goodCorners c1];
cornersToRemove =[];
for i=2:size(cornerList,2)
if(<<>>>)
cornersToRemove =[cornersToRemove i];
end
end
cornerList(cornersToRemove)=[]; %remove the corners that we found
that are too close
end
18. Step through the goodCorners list and mark each of the corners in the image with a green cross that is 3 pixels in width and height using the insertMarker function.
19. Display the image to the user

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

Database Driven Web Sites

Authors: Mike Morrison, Joline Morrison

1st Edition

061901556X, 978-0619015565

More Books

Students also viewed these Databases questions

Question

Identify cultural barriers to communication.

Answered: 1 week ago