enum P1::ImageSdk::CanvasClip

Overview

Defines how to handle non-rectangular or non-upright canvas. More…

#include <C_P1ImageCommonTypes.h>

enum CanvasClip
{
    CanvasClipNone               = 1,
    CanvasClipWarpLoose          = 2,
    CanvasClipMaintainDimensions = 3,
};

Detailed Documentation

Defines how to handle non-rectangular or non-upright canvas.

Enum Values

CanvasClipNone

Canvas has the full RAW image.

This option will consider all input pixels, but may output blank pixels.

CanvasClipWarpLoose

Clip warped edges.

This option will only consider the maximum interior bounding box, and all pixels will be valid.

CanvasClipMaintainDimensions

Maintain raw image dimensions.

This option will result a canvas size matching the sensor resolution and be centered around the principal point

This is the default option