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
65d5cd7b
Commit
65d5cd7b
authored
Jul 01, 2017
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor disparity correction for infinity for disturbed camera
parent
c8348852
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
328 additions
and
11 deletions
+328
-11
Eyesis_Correction.java
src/main/java/Eyesis_Correction.java
+25
-2
QuadCLT.java
src/main/java/QuadCLT.java
+303
-9
No files found.
src/main/java/Eyesis_Correction.java
View file @
65d5cd7b
...
...
@@ -535,6 +535,8 @@ private Panel panel1,
addButton
(
"CLT apply fine corr"
,
panelClt2
,
color_process
);
addButton
(
"CLT test fine corr"
,
panelClt2
,
color_process
);
addButton
(
"CLT process fine corr"
,
panelClt2
,
color_conf_process
);
addButton
(
"CLT infinity corr"
,
panelClt2
,
color_conf_process
);
addButton
(
"CLT ext infinity corr"
,
panelClt2
,
color_conf_process
);
addButton
(
"CLT reset 3D"
,
panelClt2
,
color_stop
);
addButton
(
"CLT 3D"
,
panelClt2
,
color_process
);
addButton
(
"CLT planes"
,
panelClt2
,
color_conf_process
);
...
...
@@ -4472,8 +4474,9 @@ private Panel panel1,
return
;
}
else
if
(
label
.
equals
(
"CLT process corr"
)
||
label
.
equals
(
"CLT apply fine corr"
))
{
boolean
apply_corr
=
label
.
equals
(
"CLT apply fine corr"
);
}
else
if
(
label
.
equals
(
"CLT process corr"
)
||
label
.
equals
(
"CLT apply fine corr"
)
||
label
.
equals
(
"CLT infinity corr"
))
{
boolean
apply_corr
=
label
.
equals
(
"CLT apply fine corr"
);
boolean
infinity_corr
=
label
.
equals
(
"CLT infinity corr"
);
DEBUG_LEVEL
=
MASTER_DEBUG_LEVEL
;
EYESIS_CORRECTIONS
.
setDebug
(
DEBUG_LEVEL
);
if
(
QUAD_CLT
==
null
){
...
...
@@ -4556,6 +4559,7 @@ private Panel panel1,
EQUIRECTANGULAR_PARAMETERS
,
// EyesisCorrectionParameters.EquirectangularParameters equirectangularParameters,
CONVOLVE_FFT_SIZE
,
//int convolveFFTSize, // 128 - fft size, kernel size should be size/2
apply_corr
,
infinity_corr
,
// calculate and apply geometry correction at infinity
THREADS_MAX
,
//final int threadsMax, // maximal number of threads to launch
UPDATE_STATUS
,
//final boolean updateStatus,
DEBUG_LEVEL
);
//final int debugLevel);
...
...
@@ -4611,6 +4615,25 @@ private Panel panel1,
DEBUG_LEVEL
);
return
;
}
else
if
(
label
.
equals
(
"CLT ext infinity corr"
))
{
// boolean dry_run = label.equals("CLT test fine corr");
DEBUG_LEVEL
=
MASTER_DEBUG_LEVEL
;
if
(
QUAD_CLT
==
null
){
QUAD_CLT
=
new
QuadCLT
(
PROPERTIES
,
EYESIS_CORRECTIONS
,
CORRECTION_PARAMETERS
);
if
(
DEBUG_LEVEL
>
0
){
System
.
out
.
println
(
"Created new QuadCLT instance, will need to read CLT kernels"
);
}
}
QUAD_CLT
.
process_infinity_corr
(
CLT_PARAMETERS
,
DEBUG_LEVEL
);
return
;
}
else
if
(
label
.
equals
(
"CLT disparity scan"
))
{
DEBUG_LEVEL
=
MASTER_DEBUG_LEVEL
;
EYESIS_CORRECTIONS
.
setDebug
(
DEBUG_LEVEL
);
...
...
src/main/java/QuadCLT.java
View file @
65d5cd7b
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