Skip to content
Snippets Groups Projects
Commit a0573d3f authored by Julien Malik's avatar Julien Malik
Browse files

MRG

parents 955d9be7 4ece881c
No related branches found
No related tags found
No related merge requests found
......@@ -356,8 +356,8 @@ MarkovRandomFieldFilter<TInputImage, TClassifiedImage>
{
//Note: error should be defined according to the number of valid pixel in the output
int maxNumPixelError = (int) (vnl_math_rnd (m_ErrorTolerance *
m_TotalNumberOfPixelsInInputImage));
int maxNumPixelError = itk::Math::Round<int,double> (m_ErrorTolerance *
m_TotalNumberOfPixelsInInputImage);
m_NumberOfIterations = 0;
m_ErrorCounter = m_TotalNumberOfValidPixelsInOutputImage;
......
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