Commit bc3280d6 authored by Alexander Alekhin's avatar Alexander Alekhin

Merge pull request #9414 from gadcam:HOGDescriptor-winSigma

parents 8e7e24ac d5e64f4e
......@@ -100,7 +100,7 @@ size_t HOGDescriptor::getDescriptorSize() const
double HOGDescriptor::getWinSigma() const
{
return winSigma >= 0 ? winSigma : (blockSize.width + blockSize.height)/8.;
return winSigma > 0 ? winSigma : (blockSize.width + blockSize.height)/8.;
}
bool HOGDescriptor::checkDetectorSize() const
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment