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
5e4e5577
Commit
5e4e5577
authored
Mar 26, 2024
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added absolute contrast
parent
29e261ef
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
253 additions
and
47 deletions
+253
-47
ItemMatch.java
src/main/java/com/elphel/imagej/orthomosaic/ItemMatch.java
+8
-1
ItemPatternMatch.java
.../java/com/elphel/imagej/orthomosaic/ItemPatternMatch.java
+1
-1
OrthoMapsCollection.java
...va/com/elphel/imagej/orthomosaic/OrthoMapsCollection.java
+244
-45
No files found.
src/main/java/com/elphel/imagej/orthomosaic/ItemMatch.java
View file @
5e4e5577
...
...
@@ -8,11 +8,18 @@ public class ItemMatch {
public
double
[]
combo_pxy
;
// combo image {pixel_x, pixel_y}
public
double
[]
lla
;
// add later
public
HashMap
<
String
,
ItemPatternMatch
>
pattern_matches
=
new
HashMap
<
String
,
ItemPatternMatch
>();
public
double
abs_contrast
=
0
;
public
ItemMatch
(
double
[]
combo_pxy
)
{
this
.
combo_pxy
=
combo_pxy
;
}
public
void
setAbsoluteContrast
(
double
contrast
)
{
abs_contrast
=
contrast
;
// only for main scene
}
public
double
getAbsoluteContrast
()
{
return
abs_contrast
;
}
public
double
[]
getXY
()
{
return
combo_pxy
;
}
...
...
src/main/java/com/elphel/imagej/orthomosaic/ItemPatternMatch.java
View file @
5e4e5577
...
...
@@ -30,7 +30,7 @@ public class ItemPatternMatch {
best_sub
=
sub
;
}
public
int
getBestSub
()
{
public
int
getBestSub
()
{
// 1 - full, > 1 - partial
return
best_sub
;
}
...
...
src/main/java/com/elphel/imagej/orthomosaic/OrthoMapsCollection.java
View file @
5e4e5577
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