ConvertConfig.CanvasClip Property

Definition

Namespace: P1.ImageSdk

Configures the Canvas Clipping for the conversion

public CanvasClip CanvasClip { get; set; }

When the Geometric Correction is being applied the image may have curved edges. As all output image is expected to be rectangular, this doesn’t fit into the representation model. This parameter tells the rendering engine how to handle this situation.

When all the recorded data is being rendered, the output image might

Canvas has the full RAW image, and renders the missing data as white.

Canvas containst the largest upright rectangle fit into the warped image. This value will make sure that all pixels in the output image is valid, but may loose some recorded data at the edges.

Canvas has the exact pixel size as the input raw image and has the principal point on the center of the image. There might be pixels with missing data from the raw file, which are rendered as white.

Returns:

This object itself (this), to allow chaining