class P1::ImageSdk::GainAndOffsetBayerOutput#

#include <P1ImageBayerModifier.hpp>

class GainAndOffsetBayerOutput
{
public:
    // construction

    GainAndOffsetBayerOutput(
        GainAndOffsetBayerOutputType type,
        int fullWidth,
        int fullHeight
        );

    // methods

    void SetGainRGB(BitmapImage* gain);
    void SetGainRed(BitmapImage* gain);
    void SetGainBlue(BitmapImage* gain);
    void SetGainGreen(BitmapImage* gain);
    void SetOffsetRGB(BitmapImage* offset);
    void SetOffsetRed(BitmapImage* offset);
    void SetOffsetBlue(BitmapImage* offset);
    void SetOffsetGreen(BitmapImage* offset);

    void Apply(
        SensorBayerOutput* bayerBitmap,
        CoarseInterpolation interp = CoarseInterpolation::Bilinear
        );
};