Commit 7edcdbe5 authored by Andrey Filippov's avatar Andrey Filippov

Calculated center of cuas rotation and radiuses

parent d7636cec
package com.elphel.imagej.cuas;
public class Cuas {
}
This diff is collapsed.
...@@ -53,6 +53,7 @@ import com.elphel.imagej.cameras.EyesisCorrectionParameters; ...@@ -53,6 +53,7 @@ import com.elphel.imagej.cameras.EyesisCorrectionParameters;
import com.elphel.imagej.common.DoubleGaussianBlur; import com.elphel.imagej.common.DoubleGaussianBlur;
import com.elphel.imagej.common.ShowDoubleFloatArrays; import com.elphel.imagej.common.ShowDoubleFloatArrays;
import com.elphel.imagej.correction.CorrectionColorProc; import com.elphel.imagej.correction.CorrectionColorProc;
import com.elphel.imagej.cuas.CuasCenterLma;
import com.elphel.imagej.gpu.GpuQuad; import com.elphel.imagej.gpu.GpuQuad;
import com.elphel.imagej.gpu.TpTask; import com.elphel.imagej.gpu.TpTask;
import com.elphel.imagej.ims.Did_ins_1; import com.elphel.imagej.ims.Did_ins_1;
...@@ -5593,6 +5594,14 @@ public class OpticalFlow { ...@@ -5593,6 +5594,14 @@ public class OpticalFlow {
} }
} }
boolean extract_center_orientation = true;
if (extract_center_orientation && clt_parameters.imp.lock_position) {
double [][] center_ATR = CuasCenterLma.getCenterATR(
quadCLTs, // QuadCLT [] quadCLTs,
ref_index, //int ref_index,
new int [] {earliest_scene, last_index}, //int [] range,
debugLevel); // int debugLevel);
}
if (generate_egomotion) { if (generate_egomotion) {
boolean ego_show = !clt_parameters.batch_run; //true; boolean ego_show = !clt_parameters.batch_run; //true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment