Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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