_photoreceptorsPrefilter.setLPfilterParameters(0,0,10,3);// keeps low pass filter with low cut frequency in memory (usefull for the tone mapping function)
_photoreceptorsPrefilter.setLPfilterParameters(0,0,10,3);// keeps low pass filter with low cut frequency in memory (useful for the tone mapping function)
_ParvoRetinaFilter.normalizeGrayOutputCentredSigmoide();// models the saturation of the cells, usefull for visualisation of the ON-OFF Parvo Output, Bipolar cells outputs do not change !!!
_ParvoRetinaFilter.normalizeGrayOutputCentredSigmoide();// models the saturation of the cells, useful for visualisation of the ON-OFF Parvo Output, Bipolar cells outputs do not change !!!
_ParvoRetinaFilter.centerReductImageLuminance();// best for further spectrum analysis
@ -153,7 +153,7 @@ The first step of stereo reconstruction is stereo rectification so that epipolar
The API of stereo reconstruction for omnidrectional camera is ```omnidir::stereoReconstruct```. Here we use an example to show how it works.
First, calibrate a stereo pair of cameras as describe above and get parameters like ```K1```, ```D1```, ```xi1```, ```K2```, ```D2```, ```xi2```, ```rvec```, ```tvec```. Then read two images from the first and second camera respectively, for instance, ```image1``` and ```image2```, which are shown below.
First, calibrate a stereo pair of cameras as described above and get parameters like ```K1```, ```D1```, ```xi1```, ```K2```, ```D2```, ```xi2```, ```rvec```, ```tvec```. Then read two images from the first and second camera respectively, for instance, ```image1``` and ```image2```, which are shown below.
@ -72,7 +72,7 @@ Using the masks, we applied three different kind of corruption on the same input

> Do not forget that in real life usage, images `input1`, `input2` and `input3` are created naturaly and used as the input directly.
> Do not forget that in real life usage, images `input1`, `input2` and `input3` are created naturally and used as the input directly.
Declaration of output images follows. In the following lines, the method of inpainting is applied. Let me explain three different algorithms one by one.
@ -67,7 +67,7 @@ Finally, the obtained results will be shown in Viz.
Usage and Results
-----------------
In order to run this sample we need to specify the path to the image paths files, the focal lenght of the camera in addition to the center projection coordinates (in pixels).
In order to run this sample we need to specify the path to the image paths files, the focal length of the camera in addition to the center projection coordinates (in pixels).