GainMaskGenerator.SetScaleFactor Method#

Definition#

Namespace: P1.ImageSdk

Sets the scale factor used to resize the reference image during gain mask generation.

public void SetScaleFactor(float scale);

A larger scale produces a larger mask, resulting in stronger correction, but it may also increase sensitivity to noise or image artifacts.

Parameters:

scale

A scale factor between 0 and 1. A typical recommended value is 0.02.