Change a working program built in C++. The program returns a depth map based on three sequences of YUV files.
The objective is that the program returns the depth map of the 3 yuv files of the same frame without having as a basis the parameters of the camera.
After obtaining the depth maps make the merge of the two files into one. I supply the yuv files to use for tests and evaluation and the program wich also contains the algorithm that calculates depth.
Input: 3 yuv files
Output: 1 depth map
The program the client will supply have as input 3 yuv and returns one depth map in yuv format. The depth map is a representation of the scene in gray scale, the darkest the shade of gray the farthest is the object. The program have a configuration file where the user defines the path to the yuv files the path to the parameters of the camera and some other parameters that are explained in detail in the document that comes along with the program. The program is built in C++.
We need to change the program so it works with just a few parameters, having as input 3 yuv files and returning a depth map with the right depth calculated. All the yuv files belongs from the same frame but there's no parameters of the camera.
The yuv files used as input are 6, extracted from a holoscopic image. Each one as the dimensions of 160px (width) and 1264 (height), 8 bits. The algorithm of the program calculates the depth and returns one depth map.
After the two depth maps are obtained it is necessary to make a merge between the yuv files resulting in one depth map for the 6 yuv files.