Write a C++ function which prints location in form of geo coordinates (long and lat) of a pixel (x and y coordinates) point in an
Write a C++ function which prints location in form of geo coordinates (long and lat) of a pixel (x and y coordinates) point in an image taken by a surveillance camera. You can use OpenCV but not any other external library which doesn't come with default c++ libraries (i.e., which require extra installation). Following is a demo function prototype which you can use, or you can also do few amendments in it or can come up with your own prototype aswell:
void locationGeoCood(int*** a, int px, int py, int x, int y, int z);
Where:
- px and py are pixel x and y coordinates point in the image
- a is the (3D) image array
- x, y and z are dimensions of 3d array representing that image
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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