Question: ON MATLAB ! ! ! ! Function: dotMarkstheSpot Input: 1 . ( char ) 1 XN: Name of image file ending in . png Output
ON MATLAB Function: dotMarkstheSpot Input: charXN: Name of image file ending in png Output doubleX: X and Y coordinates of the center of the dot in the image Background: Your boss has a photo of an ancient treasure map, only some pirate marked the treasure with a circle instead of an X As a oneeyed pirate he is unable to tell where the treaure is so you have find it on the map for him. Description: Given an image file find the center of the single circle in the image in cartesian coordinates. Output this as a vector with the format xcoordinate, ycoordinate and round your coordinates to the nearest whole number. Size and color of the circle and the background are completely variable. Note The circle will always be completely within the image, it will not overlap any of the edges. For cartesian coordinates the bottom left corner of the image has the coordinates Each pixel represents a single unitExam;
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
