Skip to content
Snippets Groups Projects
Commit 6ccdfa12 authored by Cyrille Valladeau's avatar Cyrille Valladeau
Browse files

ENH : LineDetector comment suppressed

parent 1267e4a3
No related branches found
No related tags found
No related merge requests found
......@@ -185,8 +185,8 @@ LineSegmentDetector<TInputImage,TPrecision >
while(!it.IsAtEnd())
{
OutputIndexType index = it.GetIndex();
if(static_cast<int>(index[0]) > 0 && static_cast<int>(index[0]) < m_ImageSize[0]-1
&& static_cast<int>(index[1]) >0 && static_cast<int>(index[1]) < m_ImageSize[1]-1 )
if(static_cast<int>(index[0]) > 0 && static_cast<int>(index[0]) < static_cast<int>(m_ImageSize[0])-1
&& static_cast<int>(index[1]) >0 && static_cast<int>(index[1]) < static_cast<int>(m_ImageSize[1])-1 )
{
unsigned int bin = static_cast<unsigned int> (it.Value()/lengthBin);
if( it.Value()- m_Threshold >1e-10 )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment