eVision C++ API 26.10.0-beta.2.dev
Loading...
Searching...
No Matches
eVision::EMertensMergerParameters Class Reference

Container holding the parameters for a Mertens merger algorithm. The Mertens merger algorithm works by detecting over+under exposed zones and assigning a specific set of weights that'll diminish their importance when adding the input images together. The importance of each weight can be modified by modifying the value of the parameters. More...

#include <eVision/EasyImage/EMertensMergerParameters.h>

Inheritance diagram for eVision::EMertensMergerParameters:
Collaboration diagram for eVision::EMertensMergerParameters:

Public Member Functions

 EMertensMergerParameters (const eVision::EMertensMergerParameters &other)
 Copy operator.
 EMertensMergerParameters ()
 Copy operator.
virtual ~EMertensMergerParameters () throw ()
bool operator== (const eVision::EMertensMergerParameters &rhs) const
 Checks if this EMertensMergerParameters instance is strictly equal to another.
eVision::EMertensMergerParameters & operator= (const eVision::EMertensMergerParameters &other)
 Copy operator.
float GetContrastWeight () const
 Gets the contrast weight parameter.
void SetContrastWeight (float contrastWeight)
 Sets the contrast weight parameter. The contrast weight parameter modifies the importance of the contrast measure that is computed by the Mertens algorithm. The contrast value is obtained by with Laplacian filter to the grayscale version of each image, and take the absolute value of the filter response. This yields a simple indicator that is called contrast. Edges and textures tends to have a high contrast value.
float GetSaturationWeight () const
 Gets the saturation weight parameter.
void SetSaturationWeight (float saturationWeight)
 Sets the saturation weight parameter. The saturation weight parameter modifies the importance of the saturation measure that is computed by the Mertens algorithm. An image that undergoes a longer exposure becomes desaturated and is eventually clipped. Saturated colors are desirable in certain contexts as they make the image look vivid.
float GetExposureWeight () const
 Gets the exposure weight parameter.
void SetExposureWeight (float exposureWeight)
 Sets the exposure weight parameter. The exposure weight parameter modifies the importance of the saturation measure that is computed by the Mertens algorithm. The raw intensities within a channel reveals how well a pixel is exposed. The exposure value (or well-exposedness in the original paper) aims to keep intensities that are not near zero (under-exposed) or one (over-exposed). Thus, the exposure value computed by the Mertens algorithm is higher when pixel values are near 0.5.
 EMertensMergerParameters (CppWrapperInternal::InternalConstructor)
Public Member Functions inherited from eVision::EMergerParameters
 EMergerParameters (const eVision::EMergerParameters &other)
 Copy operator.
 EMergerParameters ()
 Copy operator.
virtual ~EMergerParameters () throw ()
eVision::EMergerParameters & operator= (const eVision::EMergerParameters &other)
 Copy operator.
eVision::EMergerType GetMergerType () const
 Return the type of the merger defined by this set of parameters.
 EMergerParameters (CppWrapperInternal::InternalConstructor)

Additional Inherited Members

Public Attributes inherited from eVision::EMergerParameters
CppWrapperInternal::WrappedClass wrappedClass_

Detailed Description

Container holding the parameters for a Mertens merger algorithm. The Mertens merger algorithm works by detecting over+under exposed zones and assigning a specific set of weights that'll diminish their importance when adding the input images together. The importance of each weight can be modified by modifying the value of the parameters.

License(s): EasyImage

Constructor & Destructor Documentation

◆ EMertensMergerParameters() [1/3]

eVision::EMertensMergerParameters::EMertensMergerParameters ( const eVision::EMertensMergerParameters & other)

Copy operator.

Parameters
otherOther parameters container to copy from.

◆ EMertensMergerParameters() [2/3]

eVision::EMertensMergerParameters::EMertensMergerParameters ( )

Copy operator.

◆ ~EMertensMergerParameters()

eVision::EMertensMergerParameters::~EMertensMergerParameters ( )
throw ( )
virtual

◆ EMertensMergerParameters() [3/3]

eVision::EMertensMergerParameters::EMertensMergerParameters ( CppWrapperInternal::InternalConstructor )

Member Function Documentation

◆ GetContrastWeight()

float eVision::EMertensMergerParameters::GetContrastWeight ( ) const

Gets the contrast weight parameter.

◆ GetExposureWeight()

float eVision::EMertensMergerParameters::GetExposureWeight ( ) const

Gets the exposure weight parameter.

◆ GetSaturationWeight()

float eVision::EMertensMergerParameters::GetSaturationWeight ( ) const

Gets the saturation weight parameter.

◆ operator=()

eVision::EMertensMergerParameters & eVision::EMertensMergerParameters::operator= ( const eVision::EMertensMergerParameters & other)

Copy operator.

Parameters
otherOther parameters container to copy from.

◆ operator==()

bool eVision::EMertensMergerParameters::operator== ( const eVision::EMertensMergerParameters & rhs) const

Checks if this EMertensMergerParameters instance is strictly equal to another.

Parameters
rhsReference to the other EMertensMergerParameters instance

◆ SetContrastWeight()

void eVision::EMertensMergerParameters::SetContrastWeight ( float contrastWeight)

Sets the contrast weight parameter. The contrast weight parameter modifies the importance of the contrast measure that is computed by the Mertens algorithm. The contrast value is obtained by with Laplacian filter to the grayscale version of each image, and take the absolute value of the filter response. This yields a simple indicator that is called contrast. Edges and textures tends to have a high contrast value.

Taken from Mertens, T., Kautz, J., & Van Reeth, F. (2007, October). Exposure fusion. In 15th Pacific Conference on Computer Graphics and Applications (PG'07) (pp. 382-390). IEEE.

Parameters
contrastWeightNew contrast weight value.

◆ SetExposureWeight()

void eVision::EMertensMergerParameters::SetExposureWeight ( float exposureWeight)

Sets the exposure weight parameter. The exposure weight parameter modifies the importance of the saturation measure that is computed by the Mertens algorithm. The raw intensities within a channel reveals how well a pixel is exposed. The exposure value (or well-exposedness in the original paper) aims to keep intensities that are not near zero (under-exposed) or one (over-exposed). Thus, the exposure value computed by the Mertens algorithm is higher when pixel values are near 0.5.

Taken from Mertens, T., Kautz, J., & Van Reeth, F. (2007, October). Exposure fusion. In 15th Pacific Conference on Computer Graphics and Applications (PG'07) (pp. 382-390). IEEE.

Parameters
exposureWeightNew exposure weight value.

◆ SetSaturationWeight()

void eVision::EMertensMergerParameters::SetSaturationWeight ( float saturationWeight)

Sets the saturation weight parameter. The saturation weight parameter modifies the importance of the saturation measure that is computed by the Mertens algorithm. An image that undergoes a longer exposure becomes desaturated and is eventually clipped. Saturated colors are desirable in certain contexts as they make the image look vivid.

Taken from Mertens, T., Kautz, J., & Van Reeth, F. (2007, October). Exposure fusion. In 15th Pacific Conference on Computer Graphics and Applications (PG'07) (pp. 382-390). IEEE.

Parameters
saturationWeightNew saturation weight value.