I am very new to C++ programming and I need to do this: I have a code that receives the path to two images and outputs a number (histogram similarity using opencv).
I need to use this function so that instead of giving it the second image file, it will load images from a folder, repeating the operation as many times as images are in this folder, and storing the result.
If you could point towards functions I can use or somewhere I can learn this I would very much appreciate it, my knowledge is very limited.
I have no restrictions but I'm also very very lost. I suppose I need to put the function I already have and change argv[1] for agv[i]. But how do I call the files from the directory? Should I save all the names for the files in a txt?