RawImage.outputImage Member

Definition

Namespace: P1.ImageSdk

Get a processing object, that handles RAW convertion of the image into an RGB bitmap

public IBitmapImage outputImage

Use this method if you wish to obtain an RGB (RAW converted) bitmap image from a Bayer buffer. You can choose to add any calibration and / or image filters on the output RGB bitmap.

By default the memory for the converted image is allocated by using C# new operator. However, you can provide your own allocator function, to allow re-using existing buffers. The memory allocator callback function takes the requested buffer size in bytes, and must return a byte array, byte[].

Parameters:

bayerBuffer

The image buffer in Bayer format

config

The convert pipeline configuration to use when converting the image

computeMask

Request exposure mask output

allocFunction

An optional memory allocator function

useNativeMemory

The returned bitmap resides in unmanaged memory

waitForBusySDK

Wait if ImageSDK is busy

Returns:

Options object for getting RGB bitmap images and exposure mask

See also:

Decode