Skip to content
Snippets Groups Projects
Commit 680bddaa authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

BUG: adding vcl_abs for comparison

parent 487b6615
No related branches found
No related tags found
No related merge requests found
......@@ -197,7 +197,7 @@ DifferenceImageFilter<TInputImage, TOutputImage>
for(unsigned int j = 0;j<minimumDifference.Size();++j)
{
if(minimumDifference[j] > m_DifferenceThreshold * t[j])
if(minimumDifference[j] > m_DifferenceThreshold * vcl_abs(t[j]))
{
isDifferent = true;
}
......
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