AddParameter(ParameterType_Int,"step","Step of the deformation grid (in nb. of pixels)");
SetParameterDescription("step","Stereo-rectification deformation grid only varies slowly. Therefore, it is recommanded to use a coarser grid (higher step value) in case of large images");
SetParameterDescription("above","Maximum altitude above the selected elevation source (in m)");
...
...
@@ -322,6 +329,13 @@ private:
SetDefaultParameterFloat("below",-20.0);
DisableParameter("below");
AddParameter(ParameterType_Int,"radius","Radius of blocks for matching filter");
SetParameterDescription("radius","The radius (in pixels) of blocks in Block-Matching");
SetDefaultParameterInt("radius",4);
SetMinimumParameterIntValue("radius",1);
MandatoryOff("radius");
AddParameter(ParameterType_Group,"mask","Masks");
AddParameter(ParameterType_InputImage,"mask.left","Input left mask");
...
...
@@ -334,6 +348,14 @@ private:
MandatoryOff("mask.right");
DisableParameter("mask.right");
AddParameter(ParameterType_Float,"mask.variancet","Discard pixels with low local variance");
SetParameterDescription("mask.variancet","This parameter allows to discard pixels whose local variance is too small (the size of the neighborhood is given by the radius parameter)");
MandatoryOff("mask.variancet");
SetDefaultParameterFloat("mask.variancet",100.);
DisableParameter("mask.variancet");
//TODO JGT new framework disparity map handling
// is it useful to store disp in epipolar geometry ?