RawImage Class
Definition
Namespace: P1.ImageSdk
A handle to an IIQ image file, either on the file system or in a memory buffer More…
public class RawImage : IDisposable
Remarks
A handle to an IIQ image file, either on the file system or in a memory buffer
Constructors
Create a RawImage object from an in-memory IIQ file |
|
Create a RawImage object from an in-memory IIQ file |
|
Create a RawImage object from a system file path, to either a IIQ file |
Properties
Get the image width, in pixels, of the exposed sensor area |
|
Get the image height, in pixels, of the exposed sensor area |
|
Get full width of the raw sensor output in pixels (including un-exposed area) |
|
Get full height of the raw sensor output in pixels (including un-exposed area) |
Methods
Decode(DecodeConfig config, Func< UInt32, byte[]> allocFunction=null) |
Get a decode object, that handles decompression and static calibration of the RAW image. |
Convert(ConvertConfig config, Func< UInt32, byte[]> allocFunction=null) |
Get a processing object, that handles RAW convertion of the image into an RGB bitmap |
Convert(ConvertConfig config, ref BitmapImage maskImage, Func< UInt32, byte[]> allocFunction=null) |
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 |
Get a metadata tag from the image file |
|
Check if a metadata tag exists in the image file |
|
Get the thumbnail from the raw file container |
|
Convenience method to get the XMP meta data |
|
Extract the GPS data embedded in the IIQ files XMP meta data section, if any |
|
Extract the Raw histogram from the raw image. The histogram is generated in the camera and stored in the iqq file when it was captured. Therefore it is also in a format defined by the camera. |
|
Extract an Rgb histogram that was generated while converting the image into Rgb bitmap. It is possible to decide where in the convertion pipeline the histogram should be sampled by using the ConvertConfig function: SetHistogramStage. |
|
Extract the GPSEventId from the IIQ files XMP meta data section, if any |
|
Extract the IMU data embedded in the IIQ files XMP meta data section, if any |
|
PickWhiteBalanceGain(ConvertConfig config, Point2D point, int radius) |
Generates a White Balance Gain value from a Point defined on the View |
WriteAsTiff(string filename, ITiffWritableImage bitmap, TiffConfig config) |
Writes the image as a tiff file |