Commit 46c3965a authored by jexner's avatar jexner

Fix uninitialized iteration counter in MSLIC

parent a61a0cf4
......@@ -278,6 +278,9 @@ void SuperpixelSLICImpl::initialize()
void SuperpixelSLICImpl::iterate( int num_iterations )
{
// store total iterations
m_iterations = num_iterations;
if( m_algorithm == SLICO )
PerformSLICO( num_iterations );
else if( m_algorithm == SLIC )
......
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