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
10f1f014
Commit
10f1f014
authored
Jan 29, 2021
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
made focusing work for both 5Mpix and 14Mpix, provided config files in resources
parent
b04837e7
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15852 additions
and
68 deletions
+15852
-68
MatchSimulatedPattern.java
.../com/elphel/imagej/calibration/MatchSimulatedPattern.java
+1
-1
CamerasInterface.java
.../elphel/imagej/calibration/hardware/CamerasInterface.java
+115
-67
default_14Pix.conf-xml
src/main/resources/default_14Pix.conf-xml
+7868
-0
default_5Mpix.conf-xml
src/main/resources/default_5Mpix.conf-xml
+7868
-0
No files found.
src/main/java/com/elphel/imagej/calibration/MatchSimulatedPattern.java
View file @
10f1f014
...
@@ -1691,7 +1691,7 @@ public class MatchSimulatedPattern {
...
@@ -1691,7 +1691,7 @@ public class MatchSimulatedPattern {
floatPixels
=
(
float
[])
fht1
.
getPixels
();
floatPixels
=
(
float
[])
fht1
.
getPixels
();
for
(
i
=
0
;
i
<
floatPixels
.
length
;
i
++)
for
(
i
=
0
;
i
<
floatPixels
.
length
;
i
++)
pixels
[
i
]
=
floatPixels
[
i
];
pixels
[
i
]
=
floatPixels
[
i
];
// show pixels here?
int
[][]
max2OnSpectrum
=
findFirst2MaxOnSpectrum
(
fft_complex
,
// complex, top half, starting from 0,0
int
[][]
max2OnSpectrum
=
findFirst2MaxOnSpectrum
(
fft_complex
,
// complex, top half, starting from 0,0
1
,
// skip +- from (0,0) and previous max - add parameter to dialog?
1
,
// skip +- from (0,0) and previous max - add parameter to dialog?
0.5
);
// 0.5 - 30deg. orthogonality of 2 vectors - 1.0 - perpendicular, 0.0 - parallel
0.5
);
// 0.5 - 30deg. orthogonality of 2 vectors - 1.0 - perpendicular, 0.0 - parallel
...
...
src/main/java/com/elphel/imagej/calibration/hardware/CamerasInterface.java
View file @
10f1f014
This diff is collapsed.
Click to expand it.
src/main/resources/default_14Pix.conf-xml
0 → 100644
View file @
10f1f014
This diff is collapsed.
Click to expand it.
src/main/resources/default_5Mpix.conf-xml
0 → 100644
View file @
10f1f014
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