Commit 3494b1d7 authored by Andrey Filippov's avatar Andrey Filippov
Browse files

Debugged rendering sequence for center virtual view

parent 844fe76d
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -169,12 +169,9 @@ import ij.process.ImageProcessor;
	  int num_slices =  pixels[0].length;
	  int num_slices =  pixels[0].length;
	  
	  
	  double [][] dpixels = new double [num_frames*num_slices][];
	  double [][] dpixels = new double [num_frames*num_slices][];
//	  System.out.println("pixels.length="+pixels.length+" pixels[0].length="+pixels[0].length);
	  for (int f = 0; f < num_frames; f++) {
	  for (int f = 0; f < num_frames; f++) {
//		  System.out.println("f="+f);
		  for (int s = 0; s < num_slices; s ++) {
		  for (int s = 0; s < num_slices; s ++) {
			  int indx = s + f * num_slices;
			  int indx = s + f * num_slices;
//			  System.out.println("f="+f+" s="+s+" indx="+indx);
			  dpixels[indx] = pixels[f][s];
			  dpixels[indx] = pixels[f][s];
		  }
		  }
	  }
	  }
+2 −0
Original line number Original line Diff line number Diff line
@@ -2019,6 +2019,7 @@ public class Interscene {
					null,                // final Rectangle   full_woi_in,      // show larger than sensor WOI (or null)
					null,                // final Rectangle   full_woi_in,      // show larger than sensor WOI (or null)
					clt_parameters,      // CLTParameters     clt_parameters,
					clt_parameters,      // CLTParameters     clt_parameters,
					mb_ref_disparity,    // double []         disparity_ref,
					mb_ref_disparity,    // double []         disparity_ref,
					null,                // double [][]       ref_pXpYD,    // alternative to disparity_ref when reference is not uniform
					// motion blur compensation 
					// motion blur compensation 
					mb_tau,              // double            mb_tau,      // 0.008; // time constant, sec
					mb_tau,              // double            mb_tau,      // 0.008; // time constant, sec
					mb_max_gain,         // double            mb_max_gain, // 5.0;   // motion blur maximal gain (if more - move second point more than a pixel
					mb_max_gain,         // double            mb_max_gain, // 5.0;   // motion blur maximal gain (if more - move second point more than a pixel
@@ -2040,6 +2041,7 @@ public class Interscene {
					null,                // final Rectangle   full_woi_in,      // show larger than sensor WOI (or null)
					null,                // final Rectangle   full_woi_in,      // show larger than sensor WOI (or null)
					clt_parameters,      // CLTParameters     clt_parameters,
					clt_parameters,      // CLTParameters     clt_parameters,
					mb_ref_disparity,    // double []         disparity_ref,
					mb_ref_disparity,    // double []         disparity_ref,
					null,                // double [][]       ref_pXpYD,    // alternative to disparity_ref when reference is not uniform
					// motion blur compensation 
					// motion blur compensation 
					mb_tau,              // double            mb_tau,      // 0.008; // time constant, sec
					mb_tau,              // double            mb_tau,      // 0.008; // time constant, sec
					mb_max_gain,         // double            mb_max_gain, // 5.0;   // motion blur maximal gain (if more - move second point more than a pixel
					mb_max_gain,         // double            mb_max_gain, // 5.0;   // motion blur maximal gain (if more - move second point more than a pixel