DecodeConfig Class
Definition
Namespace: P1.ImageSdk
Defines a set of decoding flags, that can be used on a raw image More…
public class DecodeConfig
Remarks
Defines a set of decoding flags, that can be used on a raw image
This class lets you configure decoding options and decode an raw image. You obtain an instance of this class be using RawImage.Decode. After calls to decoding option methods like BlackLeveling, you must call ApplyTo to trigger the actual decoding.
This class handles only decoding and/or decompressing raw image data, not raw convertion. For raw converyion see ConvertConfig.
// Simple one-liner raw file decompression, and custom static calibration var rawBitmap = new DecodeConfig().BlackLeveling(BlackClamp.Default, DigitalOffset.Keep).AppleTo(new RawImage (“some-file.iiq”));
See also:
Properties
Set to true to calibrate raw data. Default is True |
|
Set to true to offset raw data by black level defined in metadata. Default is False |
|
Choice to handle double exposure image. Default is first frame only. |
Methods
Specify method to merge double exposure image |
|
Control how to calibrate pixel’s black point, using black clamping and digital offset |
|
ApplyTo(RawImage image, Func< UInt32, byte[]> allocFunction=null) |
Trigger decoding of the applied options on the raw-image and return a new image as a RAW data bitmap |
Returns a predefined config object, with sensibel options enabled already |