class P1::ImageSdk::DecodeConfig

Overview

Class used to configure the Decode pipline stages. More…

#include <P1ImageDecodeConfig.hpp>

class DecodeConfig
{
public:
    // fields

    static const DecodeConfig Defaults;

    // construction

    DecodeConfig();
    DecodeConfig(const DecodeConfig& other);

    // methods

    DecodeConfig& operator = (const DecodeConfig& other);
    DecodeConfig& operator = (DecodeConfig&& other);
    BlackClamp GetBlackClamp() const;
    DigitalOffset GetDigitalOffset() const;
    DualExposureOutput GetDualExposureOutput() const;
    DecodeConfig SetDualExposureOutput(DualExposureOutput mode);

    DecodeConfig BlackLeveling(
        BlackClamp clamp = BlackClamp::Default,
        DigitalOffset offset = DigitalOffset::Default
        );

    SensorBayerOutput ApplyTo(const RawImage& image);
};

Detailed Documentation

Class used to configure the Decode pipline stages.

Fields

static const DecodeConfig Defaults

A static config object, configured with default static calibration values.

Construction

DecodeConfig()

Construct an empty configuration object.

Methods

DecodeConfig SetDualExposureOutput(DualExposureOutput mode)

Specify how dual exposures are merged.

DecodeConfig BlackLeveling(
    BlackClamp clamp = BlackClamp::Default,
    DigitalOffset offset = DigitalOffset::Default
    )

Configure Black clamping and Digital offseting as part of the static calibration.

SensorBayerOutput ApplyTo(const RawImage& image)

Apply this configuration to an actual RawImage.