Lightmetrica
0.0.1.50dbee3 (yosakoi)
|
#include <bitmap.h>
Public Member Functions | |
LM_PUBLIC_API void | Clear () |
LM_PUBLIC_API std::vector < Math::Float > & | InternalData () |
LM_PUBLIC_API const std::vector< Math::Float > & | InternalData () const |
LM_PUBLIC_API Math::Float | EvaluateRMSE (const BitmapImage &bitmap) const |
LM_PUBLIC_API Math::Float | EvaluateRMSE (const BitmapImage &bitmap, const Math::Float &weight) const |
Bitmap image. Interface for the classes which uses bitmap image.
LM_PUBLIC_API void BitmapImage::Clear | ( | ) |
Clear internal data. Clear internal data to empty.
LM_NAMESPACE_BEGIN LM_PUBLIC_API Math::Float BitmapImage::EvaluateRMSE | ( | const BitmapImage & | bitmap | ) | const |
Evaluate RMSE. Evaluate root mean square error (RMSE) to the given #film. The other film must be same size and type.
bitmap | Other bitmap image. |
LM_PUBLIC_API Math::Float BitmapImage::EvaluateRMSE | ( | const BitmapImage & | bitmap, |
const Math::Float & | weight | ||
) | const |
Evaluate RMSE with weight. Evaluate root mean square error (RMSE) to the given #film. The other film must be same size and type and scaled by #weight for each pixel value.
bitmap | Other bitmap image. |
weight | Per-pixel weight. |
LM_PUBLIC_API std::vector< Math::Float > & BitmapImage::InternalData | ( | ) |
Get reference to the internal data.
LM_PUBLIC_API const std::vector< Math::Float > & BitmapImage::InternalData | ( | ) | const |
Get reference to the internal data.