@@ -55,7 +55,7 @@ public class EyesisCorrectionParameters {
...
@@ -55,7 +55,7 @@ public class EyesisCorrectionParameters {
publicbooleanblueProc=true;
publicbooleanblueProc=true;
publicbooleantoRGB=true;
publicbooleantoRGB=true;
publicbooleanrotate=true;
publicbooleanrotate=true;
publicbooleancrop=true;// crop to the sennor size
publicbooleancrop=true;// crop to the sensor size
publicintequirectangularFormat=0;// 0 - 8 bit RGBA, 1 - 16 bit RGBA, 2 (32 int or 16 float!) ?, 3 - 32-bit FP RGBA. only 0, 1 and 3 currently supported
publicintequirectangularFormat=0;// 0 - 8 bit RGBA, 1 - 16 bit RGBA, 2 (32 int or 16 float!) ?, 3 - 32-bit FP RGBA. only 0, 1 and 3 currently supported
publicdoubleoutputRangeInt=0.25;// 1.0 intensity will be mapped to 65535*0.25
publicdoubleoutputRangeInt=0.25;// 1.0 intensity will be mapped to 65535*0.25
publicdoubleoutputRangeFP=255.0;// 1.0 intensity will be saved as 255.0 (in float 32-bit mode)
publicdoubleoutputRangeFP=255.0;// 1.0 intensity will be saved as 255.0 (in float 32-bit mode)
...
@@ -2004,11 +2004,24 @@ public class EyesisCorrectionParameters {
...
@@ -2004,11 +2004,24 @@ public class EyesisCorrectionParameters {
publicdoublefine_corr_x_3=0.0;// additionally shift image in port 3 in x direction
publicdoublefine_corr_x_3=0.0;// additionally shift image in port 3 in x direction
publicdoublefine_corr_y_3=0.0;// additionally shift image in port 3 in y direction
publicdoublefine_corr_y_3=0.0;// additionally shift image in port 3 in y direction
publicdoublefcorr_min_stength=0.005;// minimal correlation strength to apply fine correction
publicdoublefcorr_min_strength=0.15;// 0.005 minimal correlation strength to apply fine correction
publicdoublefcorr_disp_diff=3.0;// consider only tiles with absolute residual disparity lower than
publicdoublefcorr_disp_diff=1.5;// consider only tiles with absolute residual disparity lower than
publicbooleanfcorr_quadratic=true;// Use quadratic polynomial for fine correction (false - only linear)
publicbooleanfcorr_quadratic=true;// Use quadratic polynomial for fine correction (false - only linear)
publicbooleanfcorr_ignore=false;// Ignore currently calculated fine correction
publicbooleanfcorr_ignore=false;// Ignore currently calculated fine correction
publicdoublefcorr_inf_strength=0.20;// Minimal correlation strength to use for infinity correction
publicdoublefcorr_inf_diff=0.2;// Disparity half-range for infinity
publicbooleanfcorr_inf_quad=true;// Use quadratic polynomial for infinity correction (false - only linear)
publicbooleanfcorr_inf_vert=false;// Correct infinity in vertical direction (false - only horizontal)
publicintfcorr_sample_size=32;// Use square this size side to detect outliers
publicintfcorr_mintiles=8;// Keep tiles only if there are more in each square
publicdoublefcorr_reloutliers=0.5;// Remove this fraction of tiles from each sample
publicdoublefcorr_sigma=20.0;// Gaussian blur channel mismatch data
publicdoublecorr_magic_scale=0.85;// reported correlation offset vs. actual one (not yet understood)
publicdoublecorr_magic_scale=0.85;// reported correlation offset vs. actual one (not yet understood)
// 3d reconstruction
// 3d reconstruction
...
@@ -2366,6 +2379,9 @@ public class EyesisCorrectionParameters {
...
@@ -2366,6 +2379,9 @@ public class EyesisCorrectionParameters {
publicdoubletaDiffPwr=0.25;// Strength power when calculating disparity error
publicdoubletaDiffPwr=0.25;// Strength power when calculating disparity error
publicdoubletaBestPwr=0.0;// Strength power when calculating disparity error over best
publicdoubletaBestPwr=0.0;// Strength power when calculating disparity error over best
publicdoubletaDiff9Pwr=0.5;// Strength power when calculating disparity error for group of 9
publicdoubletaDiff9Pwr=0.5;// Strength power when calculating disparity error for group of 9
publicdoubletaColSigma=1.5;// Gaussian sigma to blur color difference between tiles along each direction
publicdoubletaColFraction=0.3;// Relative amount of the blurred color difference in the mixture
publicdoubletaCostEmpty=1.0;// Cost of a tile that is not assigned
publicdoubletaCostEmpty=1.0;// Cost of a tile that is not assigned
publicdoubletaCostNoLink=1.0;// Cost of a tile not having any neighbor in particular direction
publicdoubletaCostNoLink=1.0;// Cost of a tile not having any neighbor in particular direction
...
@@ -2499,11 +2515,21 @@ public class EyesisCorrectionParameters {
...
@@ -2499,11 +2515,21 @@ public class EyesisCorrectionParameters {
clt_corr_combo,// [tp.tilesY][tp.tilesX][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
clt_corr_combo,// [tp.tilesY][tp.tilesX][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
null,// clt_corr_partial, // [tp.tilesY][tp.tilesX][quad]color][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
null,// clt_corr_partial, // [tp.tilesY][tp.tilesX][quad]color][(2*transform_size-1)*(2*transform_size-1)] // if null - will not calculate
null,// [tp.tilesY][tp.tilesX][pair]{dx,dy,weight}[(2*transform_size-1)*(2*transform_size-1)] // transpose unapplied. null - do not calculate
clt_mismatches[scan_step],// null, [12][tilesY * tilesX] // transpose unapplied. null - do not calculate
// Use it with disparity_maps[scan_step]? clt_mismatch, // [tp.tilesY][tp.tilesX][pair]{dx,dy,weight}[(2*transform_size-1)*(2*transform_size-1)] // transpose unapplied. null - do not calculate
// Use it with disparity_maps[scan_step]? clt_mismatch, // [tp.tilesY][tp.tilesX][pair]{dx,dy,weight}[(2*transform_size-1)*(2*transform_size-1)] // transpose unapplied. null - do not calculate