Commit 67f71ac1 authored by Andrey Filippov's avatar Andrey Filippov

debugging

parent 9ac7e2a0
......@@ -1059,7 +1059,8 @@ public class CuasMotion {
param_select[CuasMotionLMA.INDX_C] = lma_fit_c;
param_select[CuasMotionLMA.INDX_RR0] = lma_fit_r;
param_select[CuasMotionLMA.INDX_K] = lma_fit_k;
final int dbg_tile = (38 + 45 * 80);
final int dbg_seq = 15;
final boolean[] fpn_mask= no_border? (new boolean[0]) : null;
for (int ithread = 0; ithread < threads.length; ithread++) {
threads[ithread] = new Thread() {
......@@ -1072,6 +1073,9 @@ public class CuasMotion {
// may be faster if process only where vector_field[nseq][ntile] is not null
for (int nSeq = ai.getAndIncrement(); nSeq < num_seq; nSeq = ai.getAndIncrement()) {
for (int ntile = 0; ntile < num_tiles; ntile++) {
if ((nSeq==dbg_seq) && (ntile == dbg_tile)) {
System.out.println("getAccumulatedCoordinates(): nSeq="+nSeq+", ntile="+ntile);
}
if (vector_fields[nSeq][ntile] != null) {
int tileX = ntile % tilesX;
int tileY = ntile / tilesX;
......
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