double[][][][][][]clt_kernels=null;// can be used to determine monochrome too?
double[][][][][][]clt_kernels=null;// can be used to determine monochrome too?
publicGeometryCorrectiongeometryCorrection=null;
publicGeometryCorrectiongeometryCorrection=null;
double[]extrinsic_vect=newdouble[GeometryCorrection.CORR_NAMES.length];// extrinsic corrections (needed from properties, before geometryCorrection
double[]extrinsic_vect;// = new double [GeometryCorrection.CORR_NAMES.length]; // extrinsic corrections (needed from properties, before geometryCorrection
publicintextra_items=8;// number of extra items saved with kernels (center offset (partial, full, derivatives)
publicintextra_items=8;// number of extra items saved with kernels (center offset (partial, full, derivatives)
publicImagePluseyesisKernelImage=null;
publicImagePluseyesisKernelImage=null;
publiclongstartTime;// start of batch processing
publiclongstartTime;// start of batch processing
...
@@ -666,10 +666,13 @@ public class QuadCLTCPU {
...
@@ -666,10 +666,13 @@ public class QuadCLTCPU {
if(gc==null){// if it was not yet created
if(gc==null){// if it was not yet created
gc=newGeometryCorrection(this.extrinsic_vect);// not used in lwir
gc=newGeometryCorrection(this.extrinsic_vect);// not used in lwir
}
}
gc.setPropertiesExtrinsic(prefix,properties);
/*
for (int i = 0; i < GeometryCorrection.CORR_NAMES.length; i++){
for (int i = 0; i < GeometryCorrection.CORR_NAMES.length; i++){
String name = prefix+"extrinsic_corr_"+GeometryCorrection.CORR_NAMES[i];
String name = prefix+"extrinsic_corr_"+GeometryCorrection.CORR_NAMES[i];