removed commented out code
added spaces around +/*
fixed some space issues and converted all to 4-space indentation
removed spaces in the arguments
changed the arguments of ray_tracing, learned the wrapping trick from Alessandro trafo.{c,h} in py_ray_tracing:
- created a new function that takes Calibration *cal and returns two vectors X,a instead of Xb,Yb,Zb and a,b,c
WARNING - this means quite a lot of changes upstream to all the calls of ray_tracing, but it makes life easier on Python binding side.
fixed #include <optv/tracking_frame_buf.h>
added traffo.c from openptv-python/src
created trafo.h for the consistency
modified functions to use the modern call type (explicit argument types)
added check_trafo (empty so far)
added check_trafo to CMakeLists.txt
added check_trafo.c tests of all four functions in traffic
added multimed.c
created multimed.h
WARNING changed multimed_nlay_v2 to multimed_nlay  - v2 was for historical reasons
finished the multimed.h and changes to multimode.c function calls
added multimed.c to CMakeLists.txt
small changes, #include <optv/tracking_frame_buf.h>
imported all the changes from bitbucket/optv_integ branch of Yosef:
- use of int cam for the camera number
- added one fix for perfectly perpendicular window that creates NaNs
started refactoring init_mmLUT:
- sending volume_par, control_par and other parameters as inputs
- creating new mmlut structure that will hold the mmLUT data
-
adopted Alessandro format for pixel_to_metric and metric_to_pixel with wrapping
updated check_trafo.c to work with the new argument order (output is always first)
WARNING - a lot of signatures will have to change across the code
RECOMMENDED - use the wrapped version that sends control_par *cpar instead of the components imx,imy…
added metric_to_pixel_control_par and pixel_to_metric_control_par
added respective tests
refactored calls up to ray_tracing, stopped to wait for the decision of the type of call to ray_tracing
moved the loop through n_cams inside init_mmLUT - the pointers to all the parameters and calibration is passed once, all mmLUT[n_cams] are created inside the function,
TODO: in jw_ptv.c change the call to the function, remove the loop