finaldoubleplDiscrTolerance,// = 0.4; // Maximal disparity difference from the plane to consider tile
finaldoubleplDiscrTolerance,// = 0.4; // Maximal disparity difference from the plane to consider tile
finaldoubleplDiscrDispRange,// = 0.6; // Parallel move known planes around original know value for the best overall fit
finaldoubleplDiscrDispRange,// = 0.6; // Parallel move known planes around original know value for the best overall fit
finalintplDiscrSteps,// = 3; // Number of steps (each direction) for each plane to search for the best fit (0 - single, 1 - 1 each side)
finalintplDiscrSteps,// = 3; // Number of steps (each direction) for each plane to search for the best fit (0 - single, 1 - 1 each side)
finalintplDiscrVariants,// = 100; // Total number of variants to try (protect from too many planes)
// final int plDiscrVariants, // = 100; // Total number of variants to try (protect from too many planes)
finalintplDiscrMode,// = 3; // What plane to use as a hint: 0 - weighted, 1 - equalized, 2 - best, 3 - combined
finalintplDiscrMode,// = 3; // What plane to use as a hint: 0 - weighted, 1 - equalized, 2 - best, 3 - combined
finaldoubleplDiscrVarFloor,// = 0.03; // Squared add to variance to calculate reverse flatness (used mostly for single-cell clusters)
finaldoubleplDiscrVarFloor,// = 0.03; // Squared add to variance to calculate reverse flatness (used mostly for single-cell clusters)
...
@@ -2785,7 +2785,7 @@ public class SuperTiles{
...
@@ -2785,7 +2785,7 @@ public class SuperTiles{
finaldoubleplDiscrTolerance,// = 0.4; // Maximal disparity difference from the plane to consider tile
finaldoubleplDiscrTolerance,// = 0.4; // Maximal disparity difference from the plane to consider tile
finaldoubleplDiscrDispRange,// = 0.6; // Parallel move known planes around original know value for the best overall fit
finaldoubleplDiscrDispRange,// = 0.6; // Parallel move known planes around original know value for the best overall fit
finalintplDiscrSteps,// = 3; // Number of steps (each direction) for each plane to search for the best fit (0 - single, 1 - 1 each side)
finalintplDiscrSteps,// = 3; // Number of steps (each direction) for each plane to search for the best fit (0 - single, 1 - 1 each side)
finalintplDiscrVariants,// = 100; // Total number of variants to try (protect from too many planes)
// final int plDiscrVariants, // = 100; // Total number of variants to try (protect from too many planes)
finalintplDiscrMode,// = 3; // What plane to use as a hint: 0 - weighted, 1 - equalized, 2 - best, 3 - combined
finalintplDiscrMode,// = 3; // What plane to use as a hint: 0 - weighted, 1 - equalized, 2 - best, 3 - combined
finaldoubleplDiscrVarFloor,// = 0.03; // Squared add to variance to calculate reverse flatness (used mostly for single-cell clusters)
finaldoubleplDiscrVarFloor,// = 0.03; // Squared add to variance to calculate reverse flatness (used mostly for single-cell clusters)
...
@@ -2827,7 +2827,7 @@ public class SuperTiles{
...
@@ -2827,7 +2827,7 @@ public class SuperTiles{
plDiscrTolerance,//final double plDiscrTolerance, // = 0.4; // Maximal disparity difference from the plane to consider tile
plDiscrTolerance,//final double plDiscrTolerance, // = 0.4; // Maximal disparity difference from the plane to consider tile
plDiscrDispRange,// final double plDiscrDispRange, // = 0.6; // Parallel move known planes around original know value for the best overall fit
plDiscrDispRange,// final double plDiscrDispRange, // = 0.6; // Parallel move known planes around original know value for the best overall fit
plDiscrSteps,// final int plDiscrSteps, // = 3; // Number of steps (each direction) for each plane to search for the best fit (0 - single, 1 - 1 each side)
plDiscrSteps,// final int plDiscrSteps, // = 3; // Number of steps (each direction) for each plane to search for the best fit (0 - single, 1 - 1 each side)
plDiscrVariants,// final int plDiscrVariants, // = 100; // Total number of variants to try (protect from too many planes)
// plDiscrVariants, // final int plDiscrVariants, // = 100; // Total number of variants to try (protect from too many planes)
plDiscrMode,// final int plDiscrMode, // = 3; // What plane to use as a hint: 0 - weighted, 1 - equalized, 2 - best, 3 - combined
plDiscrMode,// final int plDiscrMode, // = 3; // What plane to use as a hint: 0 - weighted, 1 - equalized, 2 - best, 3 - combined
plDiscrVarFloor,// final double plDiscrVarFloor, // = 0.03; // Squared add to variance to calculate reverse flatness (used mostly for single-cell clusters)
plDiscrVarFloor,// final double plDiscrVarFloor, // = 0.03; // Squared add to variance to calculate reverse flatness (used mostly for single-cell clusters)
@@ -1562,7 +1562,7 @@ public class TileProcessor {
...
@@ -1562,7 +1562,7 @@ public class TileProcessor {
// scan.restoreKeepTileOpDisparity();// it is not used from this scan, but from last_scan
// scan.restoreKeepTileOpDisparity();// it is not used from this scan, but from last_scan
continue;
continue;
}
}
if(debugLevel>-1){
if(debugLevel>-2){
System.out.println("prepareExpandVariants(): remaining "+num_left+" tiles to be processed, used variant "+num_var+" ("+num_left+")");
System.out.println("prepareExpandVariants(): remaining "+num_left+" tiles to be processed, used variant "+num_var+" ("+num_left+")");
}
}
int[]rslt={num_left,num_var};
int[]rslt={num_left,num_var};
...
@@ -5261,7 +5261,7 @@ public class TileProcessor {
...
@@ -5261,7 +5261,7 @@ public class TileProcessor {
clt_parameters.plDiscrTolerance,// final double plDiscrTolerance, // = 0.4; // Maximal disparity difference from the plane to consider tile
clt_parameters.plDiscrTolerance,// final double plDiscrTolerance, // = 0.4; // Maximal disparity difference from the plane to consider tile
clt_parameters.plDiscrDispRange,// final double plDiscrDispRange, // = 0.6; // Parallel move known planes around original know value for the best overall fit
clt_parameters.plDiscrDispRange,// final double plDiscrDispRange, // = 0.6; // Parallel move known planes around original know value for the best overall fit
clt_parameters.plDiscrSteps,// final int plDiscrSteps, // = 3; // Number of steps (each direction) for each plane to search for the best fit (0 - single, 1 - 1 each side)
clt_parameters.plDiscrSteps,// final int plDiscrSteps, // = 3; // Number of steps (each direction) for each plane to search for the best fit (0 - single, 1 - 1 each side)
clt_parameters.plDiscrVariants,// final int plDiscrVariants, // = 100; // Total number of variants to try (protect from too many planes)
// clt_parameters.plDiscrVariants, // final int plDiscrVariants, // = 100; // Total number of variants to try (protect from too many planes)
clt_parameters.plDiscrMode,// final int plDiscrMode, // = 3; // What plane to use as a hint: 0 - weighted, 1 - equalized, 2 - best, 3 - combined
clt_parameters.plDiscrMode,// final int plDiscrMode, // = 3; // What plane to use as a hint: 0 - weighted, 1 - equalized, 2 - best, 3 - combined
clt_parameters.plDiscrVarFloor,// final double plDiscrVarFloor, // = 0.03; // Squared add to variance to calculate reverse flatness (used mostly for single-cell clusters)
clt_parameters.plDiscrVarFloor,// final double plDiscrVarFloor, // = 0.03; // Squared add to variance to calculate reverse flatness (used mostly for single-cell clusters)