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
8225d98b
Commit
8225d98b
authored
Oct 01, 2025
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
showing all maxes if >1
parent
6d4eee07
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
Correlation2d.java
...n/java/com/elphel/imagej/tileprocessor/Correlation2d.java
+3
-3
ImageDtt.java
src/main/java/com/elphel/imagej/tileprocessor/ImageDtt.java
+9
-3
No files found.
src/main/java/com/elphel/imagej/tileprocessor/Correlation2d.java
View file @
8225d98b
...
...
@@ -5569,12 +5569,12 @@ public class Correlation2d {
imgdtt_params
.
lmas_num_iter
,
// int num_iter, // 20
debug_level
);
// imgdtt_params.lma_debug_level1); // 4); // int debug_level) // > 3
if
(!
lmaSuccess
&&
(
lma
.
getBadTile
()
>=
0
))
{
if
(
debug_level
>
-
2
)
{
if
(
debug_level
>
0
)
{
System
.
out
.
println
(
"Found bad tile/pair during single (probably wrong initial maximum - try around preliminary? "
+
lma
.
getBadTile
());
}
}
if
(!
lmaSuccess
&&
(
npass
>
0
)
&&
en_shape
)
{
// only if not already filtered
if
(
debug_level
>
-
3
)
{
if
(
debug_level
>
0
)
{
System
.
out
.
println
(
"LMA failed on pass2. Disabling some adjustments and re-trying."
);
}
lma
.
restoreSolution
();
...
...
@@ -5598,7 +5598,7 @@ public class Correlation2d {
imgdtt_params
.
lmas_num_iter
,
// int num_iter, // 20
debug_level
);
// imgdtt_params.lma_debug_level1); // 4); // int debug_level) // > 3
if
(!
lmaSuccess
)
{
if
(
debug_level
>
-
3
)
{
if
(
debug_level
>
0
)
{
System
.
out
.
println
(
"Still did not help - LMA failed."
);
}
}
...
...
src/main/java/com/elphel/imagej/tileprocessor/ImageDtt.java
View file @
8225d98b
...
...
@@ -3521,9 +3521,15 @@ public class ImageDtt extends ImageDttCPU {
imgdtt_params
.
lma_relax_indiv_max
// double lma_relax_indiv_max // double relax_indiv_max
);
if
(
debug_print_targets
)
{
String
dbg_s
=
" image_dtt "
+
tileX
+
":"
+
tileY
+
" ("
+(
tileX
+
tilesX
*
tileY
)+
")"
;
for
(
int
i
=
0
;
i
<
dispStrs
[
0
][
0
].
length
;
i
++)
{
dbg_s
+=
" "
+
dispStrs
[
0
][
0
][
i
];
String
dbg_s
=
""
;
for
(
int
nmax
=
0
;
nmax
<
dispStrs
.
length
;
nmax
++)
{
if
(
nmax
>
0
)
{
dbg_s
+=
"\n"
;
}
dbg_s
+=
" image_dtt "
+
tileX
+
":"
+
tileY
+
" ("
+(
tileX
+
tilesX
*
tileY
)+
") <"
+
nmax
+
"> "
;
for
(
int
i
=
0
;
i
<
dispStrs
[
0
][
0
].
length
;
i
++)
{
dbg_s
+=
" "
+
dispStrs
[
0
][
0
][
i
];
}
}
System
.
out
.
println
(
dbg_s
);
}
...
...
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