MEPP2 Project
Public Member Functions | Protected Member Functions | List of all members
DalyMasking Class Reference

#include <contrastmasking.h>

Inheritance diagram for DalyMasking:
Inheritance graph
Collaboration diagram for DalyMasking:
Collaboration graph

Public Member Functions

 DalyMasking ()
 
 DalyMasking (const ParameterType &param)
 
virtual ~DalyMasking ()
 
virtual void compute (const InputType &in, OutputType &out) const
 
- Public Member Functions inherited from GenericParametricModel< Eigen::Vector4d, double, double >
 GenericParametricModel ()
 
 GenericParametricModel (const ParameterType &param)
 
virtual ~GenericParametricModel ()
 
void setParameters (const ParameterType &param)
 
const ParameterTypeparam () const
 
ParameterTypeparam ()
 
OutputType compute (const InputType &in) const
 
void compute (const std::vector< InputType > &in, std::vector< OutputType > &out) const
 
OutputType operator() (const InputType &in) const
 
void operator() (const InputType &in, OutputType &out) const
 

Protected Member Functions

virtual void default_params ()
 

Additional Inherited Members

- Public Types inherited from GenericParametricModel< Eigen::Vector4d, double, double >
typedef Eigen::Vector4d ParameterType
 
typedef double InputType
 
typedef double OutputType
 
- Protected Attributes inherited from GenericParametricModel< Eigen::Vector4d, double, double >
ParameterType m_param
 

Detailed Description

implements the contrast masking model of Scott Daly "Visible differences predictor: an algorithm for the assessment of image fidelity." Human Vision, Visual Processing, and Digital Display III. Vol.

  1. and used in eq. (7) "Just noticeable distortion profile for flat-shaded 3D mesh surfaces." IEEE transactions on visualization and computer graphics 22.11 (2016).

The model requires 4 parameters, and takes the contrast value as input

Definition at line 28 of file contrastmasking.h.

Constructor & Destructor Documentation

◆ DalyMasking() [1/2]

DalyMasking::DalyMasking ( )
inline

Definition at line 35 of file contrastmasking.h.

Here is the call graph for this function:

◆ DalyMasking() [2/2]

DalyMasking::DalyMasking ( const ParameterType param)
inline

Definition at line 41 of file contrastmasking.h.

◆ ~DalyMasking()

virtual DalyMasking::~DalyMasking ( )
inlinevirtual

Definition at line 46 of file contrastmasking.h.

Member Function Documentation

◆ compute()

virtual void DalyMasking::compute ( const InputType in,
OutputType out 
) const
inlinevirtual

◆ default_params()

virtual void DalyMasking::default_params ( )
inlineprotectedvirtual

initialises the daly masking model as described in: "Just noticeable distortion profile for flat-shaded 3D mesh surfaces." IEEE transactions on visualization and computer graphics 22.11 (2016).

Implements GenericParametricModel< Eigen::Vector4d, double, double >.

Definition at line 64 of file contrastmasking.h.

Here is the caller graph for this function:

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