Now parameters such as image size and depth map factor are hardcoded in the PlaneExtractor.h file. This causes an error when trying to run program with images that do not match these parameters.
This PR contains the necessary fixes for reading shape and depth map factor from the config file.
Now parameters such as image size and depth map factor are hardcoded in the PlaneExtractor.h file. This causes an error when trying to run program with images that do not match these parameters.
This PR contains the necessary fixes for reading shape and depth map factor from the config file.
It is important to mention that in PlaneExtractor.cpp:45 the division sign was replaced with the multiplication sign, since the inverse element is taken from config file.