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
e8c48eba
Commit
e8c48eba
authored
Sep 29, 2024
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed previous bug, working snapshot
parent
88dc9e10
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
87 additions
and
264 deletions
+87
-264
VegetationLMA.java
...main/java/com/elphel/imagej/vegetation/VegetationLMA.java
+84
-262
VegetationModel.java
...in/java/com/elphel/imagej/vegetation/VegetationModel.java
+3
-2
No files found.
src/main/java/com/elphel/imagej/vegetation/VegetationLMA.java
View file @
e8c48eba
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/vegetation/VegetationModel.java
View file @
e8c48eba
...
@@ -677,7 +677,8 @@ public class VegetationModel {
...
@@ -677,7 +677,8 @@ public class VegetationModel {
String
[]
titles
,
String
[]
titles
,
int
debugLevel
)
{
int
debugLevel
)
{
boolean
diff_mode
=
true
;
boolean
diff_mode
=
true
;
Rectangle
woi50
=
new
Rectangle
(
143
,
317
,
35
,
35
);
// Rectangle woi50 = new Rectangle(143,317,35,35);
Rectangle
woi50
=
new
Rectangle
(
160
,
317
,
35
,
35
);
// X+17
/* Bad, pull terr lower, so it all shifts to terrain
/* Bad, pull terr lower, so it all shifts to terrain
int min_scenes = 10;
int min_scenes = 10;
double default_alpha = 0.8;
double default_alpha = 0.8;
...
@@ -707,7 +708,7 @@ public class VegetationModel {
...
@@ -707,7 +708,7 @@ public class VegetationModel {
double
reg_weights
=
0.25
;
// fraction of the total weight used for regularization
double
reg_weights
=
0.25
;
// fraction of the total weight used for regularization
double
alpha_loss
=
100.0
;
// 10.0; /// 100.0; // 10.0; // 10000.0; // 1000.0; // 100.; // 10.0; // quadratic loss when alpha reaches -1.0 or 2.0
double
alpha_loss
=
100.0
;
// 10.0; /// 100.0; // 10.0; // 10000.0; // 1000.0; // 100.; // 10.0; // quadratic loss when alpha reaches -1.0 or 2.0
double
alpha_offset
=
0.0
;
// 0.02; // 0.03; // if >0, start losses above 0.0 and below 1.0;
double
alpha_offset
=
0.0
;
// 0.02; // 0.03; // if >0, start losses above 0.0 and below 1.0;
double
alpha_lpf
=
10
;
/// 15; // 10.0; // 5.0; // 10.0; // 3; // 10; // 20; // 6.0; // 3.0; // 2.0; // 1.5; // 5.0; // 0.5; // pull to average of 4 neighbors
double
alpha_lpf
=
5
;
///
10; /// 15; // 10.0; // 5.0; // 10.0; // 3; // 10; // 20; // 6.0; // 3.0; // 2.0; // 1.5; // 5.0; // 0.5; // pull to average of 4 neighbors
boolean
alpha_piece_linear
=
true
;
// false; // true;
boolean
alpha_piece_linear
=
true
;
// false; // true;
double
alpha_scale_avg
=
1.0
;
// 1.1; // 0.9; // 2.0; // 1.5; // scale average alpha (around 0.5) when pulling to it
double
alpha_scale_avg
=
1.0
;
// 1.1; // 0.9; // 2.0; // 1.5; // scale average alpha (around 0.5) when pulling to it
double
alpha_push
=
12
;
// 10.0; // 15.0; // push from alpha==0.5
double
alpha_push
=
12
;
// 10.0; // 15.0; // push from alpha==0.5
...
...
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