RawImage.Convert Method

Definition

Namespace: P1.ImageSdk

Get a processing object, that handles RAW convertion of the image into an RGB bitmap and also compute exposure mask if the threshold is set by user

public IBitmapImage Convert(
    ConvertConfig config,
    ref BitmapImage maskImage,
    ref double outputFocalLength,
    Func<uint, byte[]> allocFunction = null,
    bool useNativeMemory = false
    );

Parameters:

config

The convert pipeline configuration to use when converting the image

maskImage

Bitmap image that contain exposure mask

outputFocalLength

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

allocFunction

An optional memory allocator function

useNativeMemory

The returned bitmap resides in unmanaged memory

Returns: