null,// double [] ports_rgb, // average values of R,G,B for each camera (R0,R1,...,B2,B3)
null,// max_diff, // maximal (weighted) deviation of each channel from the average
ports_rgb,// null, // double [] ports_rgb, // average values of R,G,B for each camera (R0,R1,...,B2,B3)
max_diff,// null, // max_diff, // maximal (weighted) deviation of each channel from the average
lt_window2,// [256]
port_offsets,// [port]{x_off, y_off}
img_mask,// which port to use, 0xf - all 4 (will modify as local variable)
...
...
@@ -9454,6 +9484,9 @@ public class ImageDtt {
finaldouble[][]disparity_bimap,// [23][tilesY][tilesX], only [6][] is needed on input or null - do not calculate
// last 2 - contrast, avg/ "geometric average)
finaldouble[][]ml_data,// data for ML - 18 layers - 4 center areas (3x3, 5x5,..) per camera-per direction, 1 - composite, and 1 with just 1 data (target disparity)
// added in debug version
finaldouble[][]disparity_map,// [8][tilesY][tilesX], only [6][] is needed on input or null - do not calculate
finaldouble[][][][]texture_tiles_main,// [tilesY][tilesX]["RGBA".length()][]; null - will skip images combining
finaldouble[][][][]texture_tiles_aux,// [tilesY][tilesX]["RGBA".length()][]; null - will skip images combining
finalintwidth,// may be not multiple of 8, same for the height
...
...
@@ -9476,6 +9509,7 @@ public class ImageDtt {
finalintdebug_tileY=clt_parameters.tileY;
finalintquad_main=image_data_main.length;// number of subcameras
finalintquad_aux=image_data_aux.length;// number of subcameras
finaldouble[][][][][][][]clt_bidata=// new double[2][quad][nChn][tilesY][tilesX][][]; // first index - main/aux
image_dtt.clt_bi_quad_dbg(
...
...
@@ -1411,6 +1412,7 @@ public class TwoQuadCLT {
// types: 0 - selected correlation (product+offset), 1 - sum
disparity_bimap,// final double [][] disparity_bimap, // [23][tilesY][tilesX]
ml_data,// final double [][] ml_data, // data for ML - 10 layers - 4 center areas (3x3, 5x5,..) per camera-per direction, 1 - composite, and 1 with just 1 data (target disparity)
disparity_map,// final double [][] disparity_map, // [8][tilesY][tilesX], only [6][] is needed on input or null - do not calculate
texture_tiles_main,// final double [][][][] texture_tiles_main, // [tilesY][tilesX]["RGBA".length()][]; null - will skip images combining
texture_tiles_aux,// final double [][][][] texture_tiles_aux, // [tilesY][tilesX]["RGBA".length()][]; null - will skip images combining
imp_quad_main[0].getWidth(),// final int width,
...
...
@@ -1426,7 +1428,29 @@ public class TwoQuadCLT {
port_xy_main_dbg,// final double [][][] port_xy_main_dbg, // for each tile/port save x,y pixel coordinates (gpu code development)
port_xy_aux_dbg);// final double [][][] port_xy_aux_dbg) // for each tile/port save x,y pixel coordinates (gpu code development)
///// double [][] disparity_map = new double [ImageDtt.DISPARITY_TITLES.length][]; //[0] -residual disparity, [1] - orthogonal (just for debugging)