several fixes in gpu module

fixed iterations>1 case in morphological operations
fixed possible access violation in HSV2RGB
fixed the case learningRate==0 in BackgroundSubtractorMOG2
This commit is contained in:
Vladislav Vinogradov
2012-09-11 14:59:52 +04:00
parent 9956c42804
commit e975259c06
4 changed files with 11 additions and 8 deletions

View File

@@ -64,10 +64,6 @@ namespace
{
return fabs(v) > numeric_limits<float>::epsilon();
}
/*bool notNull(double v)
{
return fabs(v) > numeric_limits<double>::epsilon();
}*/
class GHT_Pos : public GeneralizedHough
{