float*crms=port_weights+NUM_CAMS*(DTT_SIZE2*DTT_SIZE21);// calculated only if keep_weights
float*crms=port_weights+NUM_CAMS*(DTT_SIZE2*DTT_SIZE21);// calculated only if keep_weights
floatthreshold2=diff_sigma*diff_threshold;
floatthreshold2=diff_sigma*diff_threshold;// never used?
threshold2*=threshold2;// squared to compare with diff^2
threshold2*=threshold2;// squared to compare with diff^2
floatpair_dist2r[NUM_CAMS*(NUM_CAMS-1)/2];// new double [ports*(ports-1)/2]; // reversed squared distance between images - to be used with gaussian. Can be calculated once !
floatpair_dist2r[NUM_CAMS*(NUM_CAMS-1)/2];// new double [ports*(ports-1)/2]; // reversed squared distance between images - to be used with gaussian. Can be calculated once !
intpair_ports[NUM_CAMS*(NUM_CAMS-1)/2][2];// int [][] pair_ports = new int [ports*(ports-1)/2][2];
intpair_ports[NUM_CAMS*(NUM_CAMS-1)/2][2];// int [][] pair_ports = new int [ports*(ports-1)/2][2];