Skip to content
Snippets Groups Projects
Commit b928c898 authored by Romain Garrigues's avatar Romain Garrigues
Browse files

nomsg

parent c4c86882
Branches
Tags
No related merge requests found
......@@ -172,17 +172,18 @@ void FrostImageFilter< TInputImage, TOutputImage>::ThreadedGenerateData(
NormFiltre = NormFiltre + CoefFiltre;
FrostFiltre = FrostFiltre + (CoefFiltre * dPixel);
}
}
/* Modif pour VC++
}
dPixel = (FrostFiltre/NormFiltre);
if (finite(dPixel)==0){
dPixel = 0.;
}*/
if (NormFiltre==0.)
dPixel=0.;
else
dPixel=FrostFiltre/NormFiltre;
}
// Modif pour VC++
/*if (NormFiltre==0.)
dPixel=0.;
else
dPixel=FrostFiltre/NormFiltre;*/
it.Set( static_cast<OutputPixelType>( dPixel ) );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment