Bugfix in MSE calculation
This commit is contained in:
1 parent
8afb575c1f
commit
f42be2c25b
1 file changed
+1
-1
@@ -1322,7 +1322,7 @@ Double PlaYUVerFrame::getMSE( PlaYUVerFrame* Org, Int component )
|
||||
{
|
||||
return 0.0;
|
||||
}
|
||||
return ssd / ( Org->getWidth() * Org->getHeight() );
|
||||
return ssd / Double( numberOfPixels );
|
||||
}
|
||||
|
||||
Double PlaYUVerFrame::getPSNR( PlaYUVerFrame* Org, Int component )
|
||||
|
||||
Reference in new issue
Block a user