Stitching.DoStitching Method

Definition

Namespace: P1.ImageSdk

A class to stitch L and R images from a PAS280 camera. The left image is regarded as the master image. The stitcher will seamlessly merge togther the two images into one large image. This function will automaticly enable the parts of environmental compensation and calibrations from what is embeddded in the files.

public HugeBitmapImage DoStitching(
    RawImage leftImage,
    IBitmapImage leftBitmap,
    RawImage rightImage,
    IBitmapImage rightBitmap,
    ref StitchingMetrics metrics,
    ref double outputFocalLength
    );

Parameters:

leftImage

the left image (containing metadata etc.)

leftBitmap

the left Rgb bitmap.

rightImage

the right image (containing metadata etc.)

rightBitmap

the right Rgb bitmap.

metrics

is a reference to a metrics struct where resulting metrics for the stacking operation is returned

outputFocalLength

is a reference to a double value, where the used output focallength will be returned.

Returns:

The resulting stitched bitmap.