Lightmetrica  0.0.1.50dbee3 (yosakoi)
 All Classes Functions Variables Typedefs Enumerations Enumerator
Public Member Functions | List of all members
BitmapImage Class Reference

#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
 

Detailed Description

Bitmap image. Interface for the classes which uses bitmap image.

Member Function Documentation

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.

Parameters
bitmapOther bitmap image.
Returns
Evaluated RMSE.
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.

Parameters
bitmapOther bitmap image.
weightPer-pixel weight.
Returns
Evaluated RMSE.
LM_PUBLIC_API std::vector< Math::Float > & BitmapImage::InternalData ( )

Get reference to the internal data.

Returns
Reference to the internal data.
LM_PUBLIC_API const std::vector< Math::Float > & BitmapImage::InternalData ( ) const

Get reference to the internal data.

Returns
Reference to the internal data.

The documentation for this class was generated from the following files: