.. _doxcsid-class_p1_1_1_image_sdk_1_1_raw_image_1aaf4bece1ba9e5912f8d2519b207f0e2d: RawImage.SetGainMask Method +++++++++++++++++++++++++++ Definition """""""""" *Namespace:* ``P1.ImageSdk`` Applies a gain mask to the image using pixel-wise multiplication: ``I = gainMask`` .. ref-code-block:: csharp :class: doxyrest-overview-code-block public void SetGainMask(:ref:`Masking` mask);