class P1::ImageSdk::CStitching

#include <CStitching.h>

class CStitching
{
public:
    // methods

    ErrorCode DoStitching(
        P1ImageSDK_CaptureImage leftImage,
        BitmapImageRep* leftBitmap,
        P1ImageSDK_CaptureImage rightImage,
        BitmapImageRep* rightBitmap,
        BitmapImageRep* outputImage,
        std::function<uint8_t*(int64_t)> allocator
        );

    ErrorCode DoStitching(
        P1ImageSDK_CaptureImage leftImage,
        BitmapImageRep* leftBitmap,
        P1::ImageSdkC::GeometricCorrection* leftCalibration,
        P1ImageSDK_CaptureImage rightImage,
        BitmapImageRep* rightBitmap,
        P1::ImageSdkC::GeometricCorrection* rightCalibration,
        BitmapImageRep* outputImage,
        double nominalFocalLength,
        std::function<uint8_t*(int64_t)> allocator
        );

    void SetFineCalibration(
        uint8_t* fineCalibration,
        uint32_t fineCalibrationLength
        );

    uint8_t* GetFineCalibrationData();
    uint32_t GetFineCalibrationLength();
    int CalculateAverageLumaForOverlap(P1ImageSDK_CaptureImage image);
    StitcherResult GetLastResult();
};