Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
ftl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nicolas Pope
ftl
Commits
1cfe66ff
Commit
1cfe66ff
authored
5 years ago
by
Nicolas Pope
Browse files
Options
Downloads
Patches
Plain Diff
Use discon support for MLS
parent
42f89571
No related branches found
No related tags found
No related merge requests found
Pipeline
#16828
passed
5 years ago
Stage: all
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
applications/reconstruct/src/main.cpp
+1
-1
1 addition, 1 deletion
applications/reconstruct/src/main.cpp
components/operators/src/mvmls.cpp
+3
-3
3 additions, 3 deletions
components/operators/src/mvmls.cpp
with
4 additions
and
4 deletions
applications/reconstruct/src/main.cpp
+
1
−
1
View file @
1cfe66ff
...
@@ -334,7 +334,7 @@ static void run(ftl::Configurable *root) {
...
@@ -334,7 +334,7 @@ static void run(ftl::Configurable *root) {
pipeline1
->
append
<
ftl
::
operators
::
CrossSupport
>
(
"cross2"
)
->
set
(
"discon_support"
,
true
);
pipeline1
->
append
<
ftl
::
operators
::
CrossSupport
>
(
"cross2"
)
->
set
(
"discon_support"
,
true
);
pipeline1
->
append
<
ftl
::
operators
::
CullDiscontinuity
>
(
"remove_discontinuity"
);
pipeline1
->
append
<
ftl
::
operators
::
CullDiscontinuity
>
(
"remove_discontinuity"
);
//pipeline1->append<ftl::operators::AggreMLS>("mls"); // Perform MLS (using smoothing channel)
//pipeline1->append<ftl::operators::AggreMLS>("mls"); // Perform MLS (using smoothing channel)
pipeline1
->
append
<
ftl
::
operators
::
VisCrossSupport
>
(
"viscross"
)
;
//
->set("enabled", false);
pipeline1
->
append
<
ftl
::
operators
::
VisCrossSupport
>
(
"viscross"
)
->
set
(
"enabled"
,
false
);
pipeline1
->
append
<
ftl
::
operators
::
MultiViewMLS
>
(
"mvmls"
);
pipeline1
->
append
<
ftl
::
operators
::
MultiViewMLS
>
(
"mvmls"
);
// Alignment
// Alignment
...
...
This diff is collapsed.
Click to expand it.
components/operators/src/mvmls.cpp
+
3
−
3
View file @
1cfe66ff
...
@@ -61,7 +61,7 @@ bool MultiViewMLS::apply(ftl::rgbd::FrameSet &in, ftl::rgbd::FrameSet &out, cuda
...
@@ -61,7 +61,7 @@ bool MultiViewMLS::apply(ftl::rgbd::FrameSet &in, ftl::rgbd::FrameSet &out, cuda
LOG
(
ERROR
)
<<
"Required normals channel missing for MLS"
;
LOG
(
ERROR
)
<<
"Required normals channel missing for MLS"
;
return
false
;
return
false
;
}
}
if
(
!
f
.
hasChannel
(
Channel
::
Support
1
))
{
if
(
!
f
.
hasChannel
(
Channel
::
Support
2
))
{
LOG
(
ERROR
)
<<
"Required cross support channel missing for MLS"
;
LOG
(
ERROR
)
<<
"Required cross support channel missing for MLS"
;
return
false
;
return
false
;
}
}
...
@@ -214,7 +214,7 @@ bool MultiViewMLS::apply(ftl::rgbd::FrameSet &in, ftl::rgbd::FrameSet &out, cuda
...
@@ -214,7 +214,7 @@ bool MultiViewMLS::apply(ftl::rgbd::FrameSet &in, ftl::rgbd::FrameSet &out, cuda
}
}
ftl
::
cuda
::
mls_aggr_horiz
(
ftl
::
cuda
::
mls_aggr_horiz
(
f
.
createTexture
<
uchar4
>
(
Channel
::
Support
1
),
f
.
createTexture
<
uchar4
>
(
Channel
::
Support
2
),
f
.
createTexture
<
float4
>
(
Channel
::
Normals
),
f
.
createTexture
<
float4
>
(
Channel
::
Normals
),
normals_horiz_
[
i
],
normals_horiz_
[
i
],
f
.
createTexture
<
float
>
(
Channel
::
Depth
),
f
.
createTexture
<
float
>
(
Channel
::
Depth
),
...
@@ -228,7 +228,7 @@ bool MultiViewMLS::apply(ftl::rgbd::FrameSet &in, ftl::rgbd::FrameSet &out, cuda
...
@@ -228,7 +228,7 @@ bool MultiViewMLS::apply(ftl::rgbd::FrameSet &in, ftl::rgbd::FrameSet &out, cuda
);
);
ftl
::
cuda
::
mls_aggr_vert
(
ftl
::
cuda
::
mls_aggr_vert
(
f
.
getTexture
<
uchar4
>
(
Channel
::
Support
1
),
f
.
getTexture
<
uchar4
>
(
Channel
::
Support
2
),
normals_horiz_
[
i
],
normals_horiz_
[
i
],
f
.
getTexture
<
float4
>
(
Channel
::
Normals
),
f
.
getTexture
<
float4
>
(
Channel
::
Normals
),
centroid_horiz_
[
i
],
centroid_horiz_
[
i
],
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment