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, bool useNativeMemory=false) |
Get a processing object, that handles RAW convertion of the image into an RGB bitmap |
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. |
|
Request ImageSDK to compute image histogram at certain stage |
|
Request ImageSDK to not compute image histogram at certain stage |
|
GetHistogramStage(out Histogram hist, HistogramStage stage, bool cummulative=false) |
Get histogram at certain image processing stage |
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, IBitmapImage bitmap, MetaDataBase db, TiffConfig config) |
Writes the image as a tiff file with customized metadata |
WriteAsTiff(string filename, IBitmapImage bitmap, TiffConfig config) |
Writes the image as a tiff file |
WriteAsJpeg(string filename, IBitmapImage bitmap, JpegConfig config) |
Writes the image as a jpeg file |
WriteAsJpeg(string filename, IBitmapImage bitmap, MetaDataBase db, JpegConfig config) |
Writes the image as a jpeg file with customized metadata |
WriteAsJp2(string filename, IBitmapImage bitmap, Jp2Config config) |
Writes the image as a jpeg 2000 file |
WriteAsJp2(string filename, IBitmapImage bitmap, MetaDataBase db, Jp2Config config) |
Writes the image as a jpeg 2000 file with customized metadata |
Writes the image as a greyscale pgm file |
|