channels=this.pixelMapping.channelsForSubCamera(channels[0]-correctionsParameters.firstSubCameraConfig);// index in calibration files matching this source
if(!pixelMapping.subcamerasUsed()){
channels=pixelMapping.channelsForSubCamera(channels[0]-correctionsParameters.firstSubCameraConfig);// index in calibration files matching this source
}elseif(correctionsParameters.isJP4()){
intsubCamera=channels[0]-correctionsParameters.firstSubCamera;// to match those in the sensor files
getGPU().updateQuadCLT(this);// to re-load new set of Bayer images to the GPU
}
...
...
@@ -2034,8 +2034,8 @@ public class QuadCLT extends QuadCLTCPU {
threadsMax,// final int threadsMax, // maximal number of threads to launch
false,// final boolean updateStatus,
debugLevel);// final int debugLevel);
FileSaverfs=newFileSaver(img_noise);
fs.saveAsTiff(file_path);
// FileSaver fs=new FileSaver(img_noise); // is null, will be saved inside to /home/elphel/lwir16-proc/proc1/results_cuda/1626032208_613623-AUX-SHIFTED-D0.0
// fs.saveAsTiff(file_path);
}
publicImagePlusprocessCLTQuadCorrGPU(
...
...
@@ -2054,7 +2054,7 @@ public class QuadCLT extends QuadCLTCPU {
if(gpuQuad==null){
System.out.println("GPU instance is not initialized, using CPU mode");
processCLTQuadCorrCPU(
imp_quad,// ImagePlus [] imp_quad, // should have properties "name"(base for saving results), "channel","path"
// imp_quad, // ImagePlus [] imp_quad, // should have properties "name"(base for saving results), "channel","path"
saturation_imp,// boolean [][] saturation_imp, // (near) saturated pixels or null // Not needed use this.saturation_imp