Question: My task is to write a function in C++ to convert x and y coordinates of a point of an image (captured from mobile or

My task is to write a function in C++ to convert x and y coordinates of a point of an image (captured from mobile or any surveillance camera of a real-life place) into location of that point as geo coordinates and print it. We can use OpenCV but not any other external library/package. We'll be provided with an image array and x and y coordinates. Consider the following function prototype:

void locationGeoCood(int*** arr, int x, int y, int z, int px, int py);

Where, arr is a 3d image array (representing an image). Here, px and py are x and y points in the image array (i.e. arr). Whereas x, y and z are length of each dimension of image array.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!