Answered step by step
Verified Expert Solution
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:
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.
First thing we will want to do is initialize our minimum distance:
minDistance ;
Copy and paste the following code into your program and complete the code
whilesizecornerList
c cornerList;
cornerList cornerList:end; remove the first one
goodCorners goodCorners c;
cornersToRemove ;
for i:sizecornerList
if
cornersToRemove cornersToRemove i;
end
end
cornerListcornersToRemove; remove the corners that we found
that are too close
end
Step through the goodCorners list and mark each of the corners in the image with a green cross that is pixels in width and height using the insertMarker function.
Display the image to the user
Step 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