Stitching Class#

Definition#

Namespace: P1.ImageSdk

public class Stitching :  IDisposable

Constructors#

Methods#

Dispose()

CalculateAverageLumaForOverlap(RawImage image)

CalculateGainForPas280Overlap(RawImage leftImage, RawImage rightImage, ref double leftGain, ref double rightGain)

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

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.

DoStitching(RawImage leftImage, IBitmapImage leftBitmap, ConvertConfig leftConfig, RawImage rightImage, IBitmapImage rightBitmap, ConvertConfig rightConfig, ref StitchingMetrics metrics, ref double outputFocalLength)

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 enables some control of environmental compensation of the calibration

DoPasPanaStitching(RawImage leftImage, IBitmapImage leftBitmap, ConvertConfig leftConfig, RawImage rightImage, IBitmapImage rightBitmap, ConvertConfig rightConfig, bool useMeanFocalPlane, ref StitchingMetrics metrics, ref double outputFocalLength)

A class to stitch L and R nir images from a Pas Pana camera group. The left image is regarded as the master image. The stitcher will seamlessly merge togther the two images into one large image. This function enables some control of environmental compensation of the calibration

SetFineCalibration(Byte[] byteArray)

Setup a fine calibration. A finecalibration is a binary blob that is setup by the stitcher itself and that can speed up the stitching process.

GetFineCalibration()

Get a fine calibration from the stitcher. See also SetFineCalibration function

GetLastResult()

Get the last result of the stitcher. This can be used to get info about errors and warnings that had an impact on the stitching. Errors will cause the stitcher to throw an exception