Commit a80492e7 authored by Jonathan Guinet's avatar Jonathan Guinet
Browse files

ENH: minRegionCount is incremented twice in labelimageregionpruning filter.

parent 508e1403
......@@ -226,10 +226,10 @@ LabelImageRegionPruningFilter<TInputLabelImage, TInputSpectralImage, TOutputLabe
for(LabelType curLabel = 1; curLabel <= regionCount; ++curLabel)
{
m_CanonicalLabels[curLabel] = curLabel;
if(m_PointCounts[curLabel] <= m_MinRegionSize)
/* if(m_PointCounts[curLabel] <= m_MinRegionSize)
{
minRegionCount++;
}
}*/
}
// std::cout<<minRegionCount<<" regions are too be fused"<<std::endl;
// Iterate over all regions
......
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