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
214f7e87
Commit
214f7e87
authored
Dec 03, 2024
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Working snapshot before implementing pull to average terrain temperature
parent
7739a5cb
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
756 additions
and
226 deletions
+756
-226
Eyesis_Correction.java
.../java/com/elphel/imagej/correction/Eyesis_Correction.java
+2
-6
SyncCommand.java
src/main/java/com/elphel/imagej/correction/SyncCommand.java
+9
-0
Interscene.java
...main/java/com/elphel/imagej/tileprocessor/Interscene.java
+2
-2
IntersceneMatchParameters.java
...lphel/imagej/tileprocessor/IntersceneMatchParameters.java
+165
-47
VegetationLMA.java
...main/java/com/elphel/imagej/vegetation/VegetationLMA.java
+405
-109
VegetationModel.java
...in/java/com/elphel/imagej/vegetation/VegetationModel.java
+173
-62
No files found.
src/main/java/com/elphel/imagej/correction/Eyesis_Correction.java
View file @
214f7e87
...
@@ -474,12 +474,6 @@ public class Eyesis_Correction implements PlugIn, ActionListener {
...
@@ -474,12 +474,6 @@ public class Eyesis_Correction implements PlugIn, ActionListener {
public
ImagePlus
CORRELATE_IMP
=
null
;
public
ImagePlus
CORRELATE_IMP
=
null
;
public
TensorflowInferModel
TENSORFLOW_INFER_MODEL
=
null
;
public
TensorflowInferModel
TENSORFLOW_INFER_MODEL
=
null
;
public
class
SyncCommand
{
public
boolean
isRunning
=
false
;
public
AtomicInteger
stopRequested
=
new
AtomicInteger
(
0
);
// 0 - not requested, 1 - ASAP, 2 - gracefully
public
String
buttonLabel
=
""
;
}
@Override
@Override
public
void
run
(
String
arg
)
{
public
void
run
(
String
arg
)
{
String
options
=
Macro
.
getOptions
();
String
options
=
Macro
.
getOptions
();
...
@@ -5803,10 +5797,12 @@ public class Eyesis_Correction implements PlugIn, ActionListener {
...
@@ -5803,10 +5797,12 @@ public class Eyesis_Correction implements PlugIn, ActionListener {
OrangeTest
.
processMerged
();
OrangeTest
.
processMerged
();
}
else
if
(
label
.
equals
(
"Vegetation LMA"
))
{
}
else
if
(
label
.
equals
(
"Vegetation LMA"
))
{
VegetationModel
.
processVegetation
(
VegetationModel
.
processVegetation
(
SYNC_COMMAND
,
// // SyncCommand SYNC_COMMAND,
CLT_PARAMETERS
,
//CLTParameters clt_parameters,
CLT_PARAMETERS
,
//CLTParameters clt_parameters,
false
);
//boolean combine_segments);
false
);
//boolean combine_segments);
}
else
if
(
label
.
equals
(
"Combine LMA Segments"
))
{
}
else
if
(
label
.
equals
(
"Combine LMA Segments"
))
{
VegetationModel
.
processVegetation
(
VegetationModel
.
processVegetation
(
SYNC_COMMAND
,
// // SyncCommand SYNC_COMMAND,
CLT_PARAMETERS
,
//CLTParameters clt_parameters,
CLT_PARAMETERS
,
//CLTParameters clt_parameters,
true
);
//boolean combine_segments);
true
);
//boolean combine_segments);
}
}
...
...
src/main/java/com/elphel/imagej/correction/SyncCommand.java
0 → 100644
View file @
214f7e87
package
com
.
elphel
.
imagej
.
correction
;
import
java.util.concurrent.atomic.AtomicInteger
;
public
class
SyncCommand
{
public
boolean
isRunning
=
false
;
public
AtomicInteger
stopRequested
=
new
AtomicInteger
(
0
);
// 0 - not requested, 1 - ASAP, 2 - gracefully
public
String
buttonLabel
=
""
;
}
\ No newline at end of file
src/main/java/com/elphel/imagej/tileprocessor/Interscene.java
View file @
214f7e87
...
@@ -2486,7 +2486,7 @@ public class Interscene {
...
@@ -2486,7 +2486,7 @@ public class Interscene {
int
last_processed_scene
=
-
2
;
// none
int
last_processed_scene
=
-
2
;
// none
/*
/*
* There is still a problem with a large mismatch at start position for far off-reference scenes,
* There is still a problem with a large mismatch at start position for far off-reference scenes,
* especiall those that were not refined after inversion - reversing order of earlier processed "later"
* especiall
y
those that were not refined after inversion - reversing order of earlier processed "later"
* half (after the reference in the center) earlier processed as the bottom half of the other sub-sequence.
* half (after the reference in the center) earlier processed as the bottom half of the other sub-sequence.
*
*
* For mitigation we'll use that both half-sequences start from the center with small mismatches. The
* For mitigation we'll use that both half-sequences start from the center with small mismatches. The
...
@@ -3006,7 +3006,7 @@ public class Interscene {
...
@@ -3006,7 +3006,7 @@ public class Interscene {
if
(
ref_disparity
==
null
)
{
if
(
ref_disparity
==
null
)
{
ref_disparity
=
quadCLTs
[
ref_index
].
getDLS
()[
use_lma_dsi
?
1
:
0
];
ref_disparity
=
quadCLTs
[
ref_index
].
getDLS
()[
use_lma_dsi
?
1
:
0
];
}
}
smooth_disparity
=
true
;
if
(
smooth_disparity
)
{
if
(
smooth_disparity
)
{
double
[]
dbg_disparity
=
(
debugLevel
>
2
)
?
ref_disparity
.
clone
()
:
null
;
double
[]
dbg_disparity
=
(
debugLevel
>
2
)
?
ref_disparity
.
clone
()
:
null
;
boolean
[]
dbg_reliable
=
((
dbg_disparity
!=
null
)
&&
(
reliable_ref
!=
null
))
?
reliable_ref
.
clone
():
null
;
boolean
[]
dbg_reliable
=
((
dbg_disparity
!=
null
)
&&
(
reliable_ref
!=
null
))
?
reliable_ref
.
clone
():
null
;
...
...
src/main/java/com/elphel/imagej/tileprocessor/IntersceneMatchParameters.java
View file @
214f7e87
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/vegetation/VegetationLMA.java
View file @
214f7e87
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/vegetation/VegetationModel.java
View file @
214f7e87
This diff is collapsed.
Click to expand it.
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