getGPU().updateQuadCLT(this);// to re-load new set of Bayer images to the GPU
getGPU().updateQuadCLT(this);// to re-load new set of Bayer images to the GPU
}
}
...
@@ -2034,8 +2034,8 @@ public class QuadCLT extends QuadCLTCPU {
...
@@ -2034,8 +2034,8 @@ public class QuadCLT extends QuadCLTCPU {
threadsMax,// final int threadsMax, // maximal number of threads to launch
threadsMax,// final int threadsMax, // maximal number of threads to launch
false,// final boolean updateStatus,
false,// final boolean updateStatus,
debugLevel);// final int debugLevel);
debugLevel);// final int debugLevel);
FileSaverfs=newFileSaver(img_noise);
// 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);
// fs.saveAsTiff(file_path);
}
}
publicImagePlusprocessCLTQuadCorrGPU(
publicImagePlusprocessCLTQuadCorrGPU(
...
@@ -2054,7 +2054,7 @@ public class QuadCLT extends QuadCLTCPU {
...
@@ -2054,7 +2054,7 @@ public class QuadCLT extends QuadCLTCPU {
if(gpuQuad==null){
if(gpuQuad==null){
System.out.println("GPU instance is not initialized, using CPU mode");
System.out.println("GPU instance is not initialized, using CPU mode");
processCLTQuadCorrCPU(
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
saturation_imp,// boolean [][] saturation_imp, // (near) saturated pixels or null // Not needed use this.saturation_imp