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
58d01fd2
Commit
58d01fd2
authored
Aug 06, 2020
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
converting to multi-cam
parent
6a300e5a
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
1449 additions
and
1376 deletions
+1449
-1376
pom.xml
pom.xml
+24
-0
Eyesis_Correction.java
.../java/com/elphel/imagej/correction/Eyesis_Correction.java
+28
-6
GPUTileProcessor.java
src/main/java/com/elphel/imagej/gpu/GPUTileProcessor.java
+1363
-1330
TwoQuadCLT.java
...main/java/com/elphel/imagej/tileprocessor/TwoQuadCLT.java
+34
-40
No files found.
pom.xml
View file @
58d01fd2
...
...
@@ -92,13 +92,37 @@
<artifactId>
loci_tools
</artifactId>
<version>
6.1.0
</version>
</dependency>
<!--
<dependency>
<groupId>com.drewnoakes</groupId>
<artifactId>metadata-extractor</artifactId>
<version>2.11.0</version>
<type>java-source</type>
</dependency> -->
<!-- https://mvnrepository.com/artifact/com.drewnoakes/metadata-extractor -->
<dependency>
<groupId>
com.drewnoakes
</groupId>
<artifactId>
metadata-extractor
</artifactId>
<version>
2.11.0
</version>
</dependency>
<!-- https://mvnrepository.com/artifact/net.sf.ehcache/ehcache-core -->
<!--
<dependency>
<groupId>net.sf.ehcache</groupId>
<artifactId>ehcache-core</artifactId>
<version>2.6.2</version>
</dependency>\
-->
<!-- https://mvnrepository.com/artifact/org.slf4j/jcl-over-slf4j -->
<!--
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>1.7.5</version>
</dependency>
-->
</dependencies>
<build>
...
...
src/main/java/com/elphel/imagej/correction/Eyesis_Correction.java
View file @
58d01fd2
...
...
@@ -184,6 +184,9 @@ private Panel panel1,
public
static
QuadCLT
QUAD_CLT_AUX
=
null
;
public
static
TwoQuadCLT
TWO_QUAD_CLT
=
null
;
public
static
GPUTileProcessor
GPU_TILE_PROCESSOR
=
null
;
// Add macro for GPU_QUAD?
public
static
GPUTileProcessor
.
GpuQuad
GPU_QUAD
=
null
;
public
static
GPUTileProcessor
.
GpuQuad
GPU_QUAD_AUX
=
null
;
public
static
LwirReader
LWIR_READER
=
null
;
public
static
EyesisCorrectionParameters
.
DebayerParameters
DEBAYER_PARAMETERS
=
new
EyesisCorrectionParameters
.
DebayerParameters
(
...
...
@@ -5803,12 +5806,31 @@ private Panel panel1,
}
//final int debugLevel);
}
if
(
GPU_QUAD
==
null
)
{
try
{
GPU_QUAD
=
GPU_TILE_PROCESSOR
.
new
GpuQuad
(
2592
,
1936
,
4
,
3
);
}
catch
(
Exception
e
)
{
System
.
out
.
println
(
"Failed to initialize GpuQuad class"
);
// TODO Auto-generated catch block
e
.
printStackTrace
();
return
false
;
}
//final int debugLevel);
}
// For now keep GPU_QUAD_AUX==null
if
(
COLOR_PROC_PARAMETERS_AUX
==
null
)
{
COLOR_PROC_PARAMETERS_AUX
=
COLOR_PROC_PARAMETERS
.
clone
();
}
try
{
TWO_QUAD_CLT
.
processCLTQuadCorrPairsGpu
(
GPU_TILE_PROCESSOR
,
// GPU_TILE_PROCESSOR,
GPU_QUAD
,
// GPUTileProcessor.GpuQuad gpuQuad_main,
GPU_QUAD_AUX
,
// GPUTileProcessor.GpuQuad gpuQuad_aux,
QUAD_CLT
,
// QuadCLT quadCLT_main,
QUAD_CLT_AUX
,
// QuadCLT quadCLT_aux,
CLT_PARAMETERS
,
// EyesisCorrectionParameters.DCTParameters dct_parameters,
...
...
src/main/java/com/elphel/imagej/gpu/GPUTileProcessor.java
View file @
58d01fd2
This diff is collapsed.
Click to expand it.
src/main/java/com/elphel/imagej/tileprocessor/TwoQuadCLT.java
View file @
58d01fd2
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