Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
imagej-elphel
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Elphel
imagej-elphel
Commits
61eb0d79
Commit
61eb0d79
authored
Aug 29, 2025
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
working, contains debug print
parent
8cdf263c
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
342 additions
and
75 deletions
+342
-75
CuasMotion.java
src/main/java/com/elphel/imagej/cuas/CuasMotion.java
+331
-72
CuasMotionLMA.java
src/main/java/com/elphel/imagej/cuas/CuasMotionLMA.java
+4
-2
TileNeibs.java
src/main/java/com/elphel/imagej/tileprocessor/TileNeibs.java
+7
-1
No files found.
src/main/java/com/elphel/imagej/cuas/CuasMotion.java
View file @
61eb0d79
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/cuas/CuasMotionLMA.java
View file @
61eb0d79
...
@@ -74,9 +74,10 @@ public class CuasMotionLMA {
...
@@ -74,9 +74,10 @@ public class CuasMotionLMA {
public
static
final
int
RSLT_QMATCH
=
30
;
public
static
final
int
RSLT_QMATCH
=
30
;
public
static
final
int
RSLT_QCENTER
=
31
;
public
static
final
int
RSLT_QCENTER
=
31
;
public
static
final
int
RSLT_QSCORE
=
32
;
public
static
final
int
RSLT_QSCORE
=
32
;
public
static
final
int
RSLT_STRONGER
=
33
;
// index of stronger neighbor (may be more)
public
static
final
int
RSLT_WHEN
=
3
3
;
public
static
final
int
RSLT_WHEN
=
3
4
;
public
static
final
int
RSLT_FAIL
=
3
4
;
public
static
final
int
RSLT_FAIL
=
3
5
;
public
static
final
int
RSLT_LEN
=
RSLT_FAIL
+
1
;
public
static
final
int
RSLT_LEN
=
RSLT_FAIL
+
1
;
...
@@ -88,6 +89,7 @@ public class CuasMotionLMA {
...
@@ -88,6 +89,7 @@ public class CuasMotionLMA {
"ERR-BEFORE"
,
"ERR-AFTER"
,
"BA-DIRS"
,
// before dir + 16*after dir
"ERR-BEFORE"
,
"ERR-AFTER"
,
"BA-DIRS"
,
// before dir + 16*after dir
"*MOTION-SCORE"
,
"*MOTION-SCORE"
,
"*Q-AMPL"
,
"*Q-RMSE"
,
"*Q-RMSE/A"
,
"*Q-MATCH"
,
"*Q-CENTER"
,
"*Q-SCORE"
,
"*Q-AMPL"
,
"*Q-RMSE"
,
"*Q-RMSE/A"
,
"*Q-MATCH"
,
"*Q-CENTER"
,
"*Q-SCORE"
,
"Stronger"
,
"WHEN"
,
"FAILURE"
};
"WHEN"
,
"FAILURE"
};
public
static
final
int
FAIL_NONE
=
0
;
public
static
final
int
FAIL_NONE
=
0
;
...
...
src/main/java/com/elphel/imagej/tileprocessor/TileNeibs.java
View file @
61eb0d79
...
@@ -168,7 +168,13 @@ public class TileNeibs{
...
@@ -168,7 +168,13 @@ public class TileNeibs{
if
(
indx
<
0
)
return
false
;
if
(
indx
<
0
)
return
false
;
int
y
=
indx
/
sizeX
;
int
y
=
indx
/
sizeX
;
int
x
=
indx
%
sizeX
;
int
x
=
indx
%
sizeX
;
return
(
y
>=
roi
.
y
)
&&
(
x
>=
roi
.
x
)
||
(
y
<
roi
.
y
+
roi
.
height
)
||
(
x
<
roi
.
x
+
roi
.
width
);
return
(
y
>=
roi
.
y
)
&&
(
x
>=
roi
.
x
)
&&
(
y
<
roi
.
y
+
roi
.
height
)
&&
(
x
<
roi
.
x
+
roi
.
width
);
}
public
boolean
isInside
(
int
indx
)
{
if
(
indx
<
0
)
return
false
;
int
y
=
indx
/
sizeX
;
int
x
=
indx
%
sizeX
;
return
(
y
>=
0
)
&&
(
x
>=
0
)
&&
(
y
<
sizeY
)
&&
(
x
<
sizeX
);
}
}
/**
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment