Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Olena
pylene
Commits
438d4630
Commit
438d4630
authored
Jan 23, 2021
by
Celian GOSSEC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code in morpho_pipeline source code
parent
6c2ebc15
Pipeline
#25676
failed with stage
in 20 minutes and 59 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
40 deletions
+0
-40
pylene/src/core/morpho_pipeline.cpp
pylene/src/core/morpho_pipeline.cpp
+0
-40
No files found.
pylene/src/core/morpho_pipeline.cpp
View file @
438d4630
...
@@ -41,44 +41,4 @@ namespace mln::morpho
...
@@ -41,44 +41,4 @@ namespace mln::morpho
break
;
break
;
}
}
}
}
/*void MorphoPipeline::execute_inplace()
{
std::any dil;
std::any ero;
switch (m_op)
{
case e_MorphoPipelineOperation::Closing:
dil = m_dilate(m_input);
m_output = m_erode(dil);
break;
case e_MorphoPipelineOperation::Opening:
ero = m_erode(m_input);
m_output = m_dilate(ero);
break;
case e_MorphoPipelineOperation::Grad_thick:
dil = m_dilate(m_input);
ero = m_erode(m_input);
m_output = m_diff(dil, ero);
break;
case e_MorphoPipelineOperation::Grad_ext:
dil = m_dilate(m_input);
m_output = m_diff(dil, m_input);
break;
case e_MorphoPipelineOperation::Grad_int:
ero = m_erode(m_input);
m_output = m_diff(m_input, ero);
break;
case e_MorphoPipelineOperation::Top_hat:
ero = m_erode(m_input);
dil = m_dilate(ero); // opening
m_output = m_diff(dil, m_input);
break;
case e_MorphoPipelineOperation::Bot_hat:
dil = m_dilate(m_input);
ero = m_erode(dil); // closing
m_output = m_diff(m_input, ero);
break;
}
} RECHECK might be unnecessary*/
}
// namespace mln::morpho
}
// namespace mln::morpho
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