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
0b00f0ae
Commit
0b00f0ae
authored
Nov 21, 2022
by
Andrey Filippov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated GPU code with new texture boundaries
parent
95e514a4
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
281 additions
and
424 deletions
+281
-424
TexturedModel.java
...n/java/com/elphel/imagej/tileprocessor/TexturedModel.java
+1
-4
TileProcessor.cuh
src/main/resources/kernels/TileProcessor.cuh
+280
-420
No files found.
src/main/java/com/elphel/imagej/tileprocessor/TexturedModel.java
View file @
0b00f0ae
...
@@ -1607,9 +1607,6 @@ public class TexturedModel {
...
@@ -1607,9 +1607,6 @@ public class TexturedModel {
}
}
// only trim if nothing obscures this and has some BG
// only trim if nothing obscures this and has some BG
if
(
is_fg_tile
[
fnslice
][
tile
]
&&
has_bg_tile
[
fnslice
][
tile
])
{
if
(
is_fg_tile
[
fnslice
][
tile
]
&&
has_bg_tile
[
fnslice
][
tile
])
{
if
(
dbg_is_fg
!=
null
)
{
dbg_is_fg
[
cindx
]
=
1000.0
;
}
if
(
vars_inter
[
cindx
]
>
fg_max_inter
)
{
if
(
vars_inter
[
cindx
]
>
fg_max_inter
)
{
dirs_avg
[
cindx
]
=
Double
.
NaN
;
dirs_avg
[
cindx
]
=
Double
.
NaN
;
}
}
...
@@ -2246,7 +2243,7 @@ public class TexturedModel {
...
@@ -2246,7 +2243,7 @@ public class TexturedModel {
tilesX
,
// final int tilesX,
tilesX
,
// final int tilesX,
slice_disparities
,
// final double [][] slice_disparities,
slice_disparities
,
// final double [][] slice_disparities,
sensor_textures
,
// final double [][] sensor_texture, // per-sensor texture value
sensor_textures
,
// final double [][] sensor_texture, // per-sensor texture value
combo_textures
,
// null, // final double [] combo_texture_in, // average texture value
null
,
//
combo_textures, // null, // final double [] combo_texture_in, // average texture value
ref_scene
.
getImageName
());
// final String dbg_prefix);
ref_scene
.
getImageName
());
// final String dbg_prefix);
...
...
src/main/resources/kernels/TileProcessor.cuh
View file @
0b00f0ae
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