.. _doxcsid-class_p1_1_1_image_sdk_1_1_raw_image: RawImage Class ~~~~~~~~~~~~~~ Definition ^^^^^^^^^^ *Namespace:* ``P1.ImageSdk`` .. ref-code-block:: csharp :class: doxyrest-overview-code-block public class RawImage : IDisposable Constructors ^^^^^^^^^^^^ .. toctree:: :hidden: RawImage RawImage RawImage .. list-table:: :widths: 30 70 * - :ref:`RawImage(byte[] iiqFileBuffer) ` - Create a :ref:`RawImage ` object from an in-memory IIQ file * - :ref:`RawImage(IntPtr iiqFileBuffer, int bufferByteSize) ` - Create a :ref:`RawImage ` object from an in-memory IIQ file * - :ref:`RawImage(string iiqFilePath) ` - Create a :ref:`RawImage ` object from a system file path, to either a IIQ file Members ^^^^^^^ .. toctree:: :hidden: outputImage .. list-table:: :widths: 30 70 * - :ref:`outputImage ` - Get a processing object, that handles RAW convertion of the image into an RGB bitmap Properties ^^^^^^^^^^ .. toctree:: :hidden: Width Height RawSensorWidth RawSensorHeight .. list-table:: :widths: 30 70 * - :ref:`Width ` - Get the image width, in pixels, of the exposed sensor area * - :ref:`Height ` - Get the image height, in pixels, of the exposed sensor area * - :ref:`RawSensorWidth ` - Get full width of the raw sensor output in pixels (including un-exposed area) * - :ref:`RawSensorHeight ` - Get full height of the raw sensor output in pixels (including un-exposed area) Methods ^^^^^^^ .. toctree:: :hidden: Decode Convert Convert Convert ComputeSharpnessOnRegion SetRoundCornerRadius GetTag TagExists GetPreview GetXmpPacket GetGpsData GetRawHistogramData SetGainMask .. list-table:: :widths: 33 67 * - :ref:`Decode(DecodeConfig config, Func\< uint, byte[]> allocFunction=null) ` - Get a decode object, that handles decompression and static calibration of the RAW image. * - :ref:`Convert(ConvertConfig config, Func\< uint, byte[]> allocFunction=null, bool useNativeMemory=false) ` - Get a processing object, that handles RAW convertion of the image into an RGB bitmap * - :ref:`Convert(ConvertConfig config, ref double outputFocalLength, Func\< uint, byte[]> allocFunction=null, bool useNativeMemory=false) ` - Get a processing object, that handles RAW convertion of the image into an RGB bitmap * - :ref:`Convert(ConvertConfig config, ref BitmapImage maskImage, ref double outputFocalLength, Func\< uint, byte[]> allocFunction=null, bool useNativeMemory=false) ` - 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 * - :ref:`ComputeSharpnessOnRegion(Rect regionOfInterest, SharpnessMetricParams sparams, Func\< UInt32, byte[]> allocFunction=null) ` - Estimate sharpness of IIQ image on a region of interest * - :ref:`SetRoundCornerRadius(int radius) ` - Round the 4 corners of the image * - :ref:`GetTag(TagId tagId) ` - Get a metadata tag from the image file * - :ref:`TagExists(TagId tagId) ` - Check if a metadata tag exists in the image file * - :ref:`GetPreview() ` - Get the thumbnail from the raw file container * - :ref:`GetXmpPacket() ` - Convenience method to get the XMP meta data * - :ref:`GetGpsData() ` - Extract the GPS data embedded in the IIQ files XMP meta data section, if any * - :ref:`GetRawHistogramData() ` - 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. * - :ref:`SetGainMask(Masking mask) ` - Applies a gain mask to the image using pixel-wise multiplication: ``I = gainMask``