Commit 438d4630 authored by Celian GOSSEC's avatar Celian GOSSEC

Remove dead code in morpho_pipeline source code

parent 6c2ebc15
Pipeline #25676 failed with stage
in 20 minutes and 59 seconds
......@@ -41,44 +41,4 @@ namespace mln::morpho
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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment