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
7ffbf42d
Commit
7ffbf42d
authored
Jun 27, 2019
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
committing w/o breaking - 9
parent
e1398902
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
EyesisAberrations.java
...java/com/elphel/imagej/calibration/EyesisAberrations.java
+7
-3
No files found.
src/main/java/com/elphel/imagej/calibration/EyesisAberrations.java
View file @
7ffbf42d
...
@@ -2405,7 +2405,9 @@ public class EyesisAberrations {
...
@@ -2405,7 +2405,9 @@ public class EyesisAberrations {
if
(
debugLateralShifts
)
{
if
(
debugLateralShifts
)
{
debugLateral
[
nTY
][
nTX
]=
new
double
[
debugNumColors
][];
// X/Y shift of the PSF array, in Bayer component pixel coordinates (same as PSF arrays)
debugLateral
[
nTY
][
nTX
]=
new
double
[
debugNumColors
][];
// X/Y shift of the PSF array, in Bayer component pixel coordinates (same as PSF arrays)
}
}
kernels
=
getPSFKernels
(
imp_sel
,
kernels
=
getPSFKernels
(
imp_sel
,
lwirReaderParameters
,
//LwirReaderParameters lwirReaderParameters, // null is OK
simArray
,
//simulation image, scaled PSF_subpixel/2
simArray
,
//simulation image, scaled PSF_subpixel/2
tile_size
,
// 2*fft_size, // size in pixels (twice fft_size for Bayer only?)
tile_size
,
// 2*fft_size, // size in pixels (twice fft_size for Bayer only?)
x0
,
// top left corner X (pixels)
x0
,
// top left corner X (pixels)
...
@@ -2674,8 +2676,10 @@ public class EyesisAberrations {
...
@@ -2674,8 +2676,10 @@ public class EyesisAberrations {
return
0
;
return
0
;
}
}
// should return [1] for mono
public
double
[][]
getPSFKernels
(
ImagePlus
imp
,
public
double
[][]
getPSFKernels
(
ImagePlus
imp
,
LwirReaderParameters
lwirReaderParameters
,
// null is OK
float
[][]
simArray
,
//simulation image, scaled PSF_subpixel/2 (or null), [0] - main pixels, [1] - shifted diagonally by 0.5 pixels (for checker greens)
float
[][]
simArray
,
//simulation image, scaled PSF_subpixel/2 (or null), [0] - main pixels, [1] - shifted diagonally by 0.5 pixels (for checker greens)
int
tile_size
,
// size in pixels (twice FFT_SIZE for Bayer, equals FFT size for mono)
int
tile_size
,
// size in pixels (twice FFT_SIZE for Bayer, equals FFT size for mono)
int
x0
,
// top left corner X (pixels)
int
x0
,
// top left corner X (pixels)
...
...
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