Skip to content
Snippets Groups Projects
Commit 33dcef99 authored by Jordi Inglada's avatar Jordi Inglada
Browse files

Seuil dans local hough

parent 7c154bc2
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ LocalHoughFilter<TInputImage>::LocalHoughFilter() : ImageToLineSpatialObjectList
m_Threshold(0)
{
m_Radius.Fill(20);
m_Overlap.Fill(10);
m_Overlap.Fill(0);
}
template <class TInputImage>
......@@ -231,7 +231,7 @@ LocalHoughFilter<TInputImage>
m_HoughFilter->SetNumberOfLines( m_NumberOfLines );
m_HoughFilter->SetVariance( m_Variance );
m_HoughFilter->SetDiscRadius( m_DiscRadius );
m_HoughFilter->SetThreshold( m_Threshold );
//m_HoughFilter->SetThreshold( m_Threshold );
m_HoughFilter->Modified();
......
......@@ -109,10 +109,7 @@ int main( int argc, char * argv[] )
typedef otb::ImageFileWriter< OutputImageType > WriterType;
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex
//
// Software Guide : BeginLatex
//
// Both the filter and the reader are created by invoking their \code{New()}
......@@ -166,9 +163,7 @@ int main( int argc, char * argv[] )
localHough->SetThreshold( LocalHoughThreshold );
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex
//
......@@ -194,7 +189,9 @@ int main( int argc, char * argv[] )
// Software Guide : EndCodeSnippet
// Software Guide : BeginLatex
......
......@@ -240,7 +240,7 @@ ADD_TEST(feTuLocalHoughDraw ${FEATUREEXTRACTION_TESTS}
otbLocalHoughDraw
${INPUTDATA}/ImageLine.bsq
${TEMP}/feFiltreLocalHoughDraw_ImageLine_20_20_2.hd
20 20 2)
20 20 1)
ADD_TEST(feTuLocalHoughDraw ${FEATUREEXTRACTION_TESTS}
otbLocalHoughDraw
......
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