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
c944c0f6
Commit
c944c0f6
authored
Jan 05, 2023
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Working on occluded BG. Some works
parent
ab8732b9
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
334 additions
and
24 deletions
+334
-24
TpTask.java
src/main/java/com/elphel/imagej/gpu/TpTask.java
+4
-0
QuadCLT.java
src/main/java/com/elphel/imagej/tileprocessor/QuadCLT.java
+21
-19
TexturedModel.java
...n/java/com/elphel/imagej/tileprocessor/TexturedModel.java
+309
-5
No files found.
src/main/java/com/elphel/imagej/gpu/TpTask.java
View file @
c944c0f6
...
...
@@ -176,6 +176,10 @@ public class TpTask {
public
int
getTileX
(){
return
tx
;
}
public
int
[]
getTileXY
(){
return
new
int
[]
{
tx
,
ty
};
}
public
int
getTask
()
{
return
task
;
}
...
...
src/main/java/com/elphel/imagej/tileprocessor/QuadCLT.java
View file @
c944c0f6
...
...
@@ -1792,6 +1792,7 @@ public class QuadCLT extends QuadCLTCPU {
final
int
discard_frame_edges
,
// do not use tiles that have pixels closer to the frame margins
final
int
keep_frame_tiles
,
// do not discard pixels for border tiles in reference frame
final
boolean
keep_channels
,
final
TpTask
[][][]
tp_tasks_ret
,
// if not null, should be [1] - will return tp_tasks_ret[0] = tp_tasks
final
int
debugLevel
){
// FIXME: Move to clt_parameters;
final
double
max_overlap
=
0.6
;
...
...
@@ -1899,11 +1900,12 @@ public class QuadCLT extends QuadCLTCPU {
if
(
tp_tasks
[
0
].
length
==
0
)
{
if
(
debugLevel
>
-
1
)
{
System
.
out
.
println
(
"texturesGPUFromDSI(): no tiles to process"
);
}
return
null
;
}
if
(
tp_tasks_ret
!=
null
)
{
tp_tasks_ret
[
0
]
=
tp_tasks
;
// return tp_tasks to caller
}
/// scene.saveQuadClt(); // to re-load new set of Bayer images to the GPU (do nothing for CPU) and Geometry
ImageDtt
image_dtt
=
new
ImageDtt
(
scene
.
getNumSensors
(),
...
...
src/main/java/com/elphel/imagej/tileprocessor/TexturedModel.java
View file @
c944c0f6
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