class P1::ImageSdk::Masking#

Overview#

Holds data for image masking operations. More…

#include <P1ImageMasking.hpp>

class Masking
{
public:
    // construction

    Masking(std::string maskFile);
};

Detailed Documentation#

Holds data for image masking operations.

Construction#

Masking(std::string maskFile)

Creates a new instance of the Masking class from a mask file.

The mask file must use the format defined by the SDK. You can use GainMaskGenerator to generate a compatible mask file from a reference image.

Parameters:

path

The file path to the gain mask file.