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
fea4dfdc
Commit
fea4dfdc
authored
Aug 29, 2025
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Works, before multi-target
parent
61eb0d79
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
486 additions
and
315 deletions
+486
-315
Eyesis_Correction.java
.../java/com/elphel/imagej/correction/Eyesis_Correction.java
+3
-0
CuasMotion.java
src/main/java/com/elphel/imagej/cuas/CuasMotion.java
+476
-313
OpticalFlow.java
...ain/java/com/elphel/imagej/tileprocessor/OpticalFlow.java
+1
-1
QuadCLTCPU.java
...main/java/com/elphel/imagej/tileprocessor/QuadCLTCPU.java
+6
-1
No files found.
src/main/java/com/elphel/imagej/correction/Eyesis_Correction.java
View file @
fea4dfdc
...
@@ -30,6 +30,7 @@ import java.awt.Button;
...
@@ -30,6 +30,7 @@ import java.awt.Button;
import
java.awt.Color
;
import
java.awt.Color
;
import
java.awt.Component
;
import
java.awt.Component
;
import
java.awt.Dialog
;
import
java.awt.Dialog
;
import
java.awt.Dimension
;
import
java.awt.Font
;
import
java.awt.Font
;
import
java.awt.Frame
;
import
java.awt.Frame
;
import
java.awt.GraphicsEnvironment
;
import
java.awt.GraphicsEnvironment
;
...
@@ -10099,6 +10100,7 @@ public class Eyesis_Correction implements PlugIn, ActionListener {
...
@@ -10099,6 +10100,7 @@ public class Eyesis_Correction implements PlugIn, ActionListener {
//getSelectedFiles
//getSelectedFiles
JFileChooser
fc
=
new
JFileChooser
();
JFileChooser
fc
=
new
JFileChooser
();
fc
.
setPreferredSize
(
new
Dimension
(
800
,
1000
));
fc
.
setFileSelectionMode
(
directory
?
JFileChooser
.
DIRECTORIES_ONLY
:
JFileChooser
.
FILES_ONLY
);
fc
.
setFileSelectionMode
(
directory
?
JFileChooser
.
DIRECTORIES_ONLY
:
JFileChooser
.
FILES_ONLY
);
fc
.
setMultiSelectionEnabled
(
true
);
fc
.
setMultiSelectionEnabled
(
true
);
if
((
title
!=
null
)
&&
(
title
.
length
()
>
0
))
if
((
title
!=
null
)
&&
(
title
.
length
()
>
0
))
...
@@ -10148,6 +10150,7 @@ public class Eyesis_Correction implements PlugIn, ActionListener {
...
@@ -10148,6 +10150,7 @@ public class Eyesis_Correction implements PlugIn, ActionListener {
}
}
JFileChooser
fc
=
new
JFileChooser
();
JFileChooser
fc
=
new
JFileChooser
();
fc
.
setPreferredSize
(
new
Dimension
(
800
,
1000
));
fc
.
setFileSelectionMode
(
directory
?
JFileChooser
.
DIRECTORIES_ONLY
:
JFileChooser
.
FILES_ONLY
);
fc
.
setFileSelectionMode
(
directory
?
JFileChooser
.
DIRECTORIES_ONLY
:
JFileChooser
.
FILES_ONLY
);
fc
.
setMultiSelectionEnabled
(
false
);
fc
.
setMultiSelectionEnabled
(
false
);
if
((
title
!=
null
)
&&
(
title
.
length
()
>
0
))
if
((
title
!=
null
)
&&
(
title
.
length
()
>
0
))
...
...
src/main/java/com/elphel/imagej/cuas/CuasMotion.java
View file @
fea4dfdc
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/tileprocessor/OpticalFlow.java
View file @
fea4dfdc
...
@@ -6094,7 +6094,7 @@ public class OpticalFlow {
...
@@ -6094,7 +6094,7 @@ public class OpticalFlow {
}
else
{
}
else
{
if
(
debugLevel
>
-
4
)
{
if
(
debugLevel
>
-
4
)
{
System
.
out
.
println
(
"S
pipping update of center CLT (it is reae
d from "
+
center_CLT
.
getImagePath
()+
")."
);
System
.
out
.
println
(
"S
kipping update of center CLT (it is rea
d from "
+
center_CLT
.
getImagePath
()+
")."
);
}
}
}
}
// setCenterAverage();
// setCenterAverage();
...
...
src/main/java/com/elphel/imagej/tileprocessor/QuadCLTCPU.java
View file @
fea4dfdc
...
@@ -412,13 +412,18 @@ public class QuadCLTCPU {
...
@@ -412,13 +412,18 @@ public class QuadCLTCPU {
// If both local and parent exist - combine
// If both local and parent exist - combine
// If rad old-style from parent - save it there as cumulative
// If rad old-style from parent - save it there as cumulative
//What about DSI?
//What about DSI?
if
(
debugLevel
>-
4
)
{
System
.
out
.
println
(
"Restoring CenterClt"
);
}
double
tolerance
=
clt_parameters
.
imp
.
cuas_clt_threshold
;
double
tolerance
=
clt_parameters
.
imp
.
cuas_clt_threshold
;
double
decay
=
clt_parameters
.
imp
.
cuas_decay_average
;
double
decay
=
clt_parameters
.
imp
.
cuas_decay_average
;
if
((
full_path
!=
null
)
&&
full_path
.
endsWith
(
Prefs
.
getFileSeparator
()))
{
// null
if
((
full_path
!=
null
)
&&
full_path
.
endsWith
(
Prefs
.
getFileSeparator
()))
{
// null
full_path
=
full_path
.
substring
(
0
,
full_path
.
length
()-
1
);
full_path
=
full_path
.
substring
(
0
,
full_path
.
length
()-
1
);
}
}
if
(
debugLevel
>-
4
)
{
System
.
out
.
println
(
"Restoring CenterClt, full_path="
+
full_path
);
}
double
[][]
parent_dsi
=
null
;
double
[][]
parent_dsi
=
null
;
int
tilesX
=
ref_clt
.
getTilesX
();
int
tilesX
=
ref_clt
.
getTilesX
();
int
num_colors
=
ref_clt
.
getNumColors
();
int
num_colors
=
ref_clt
.
getNumColors
();
...
...
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