Spinnaker C++
2.6.0.0
Static Public Member Functions | List of all members
ImageUtilityCCM Class Reference

Static function to create color corrected images from an image object. More...

Static Public Member Functions

static ImagePtr CreateColorCorrected (const ImagePtr &srcImage, const CCMSettings &settings)
 Create a color corrected image from the source image by applying a color correction matrix calibrated according to the settings specified. More...
 
static void CreateColorCorrected (const ImagePtr &srcImage, ImagePtr &destImage, const CCMSettings &settings)
 Create a color corrected image from the source image by applying a color correction matrix calibrated according to the settings specified. More...
 

Detailed Description

Static function to create color corrected images from an image object.

Member Function Documentation

static ImagePtr CreateColorCorrected ( const ImagePtr srcImage,
const CCMSettings settings 
)
static

Create a color corrected image from the source image by applying a color correction matrix calibrated according to the settings specified.

When using ImageUtilityCCM, users are advised to disable CCM on the camera before capturing source images. This can be done through the camera node "ColorTransformationEnable".

Color correction is currently supported for the following pixel formats:

  • PixelFormat_BGR8
  • PixelFormat_BGRa8
  • PixelFormat_RGBa8
  • PixelFormat_RGB8
  • PixelFormat_BGR16
  • PixelFormat_BGRa16
  • PixelFormat_RGBa16
  • PixelFormat_RGB16 The output image will have the same pixel format as the source image.
Parameters
srcImageThe source image to which the CCM is applied
settingsSelected CCM settings including CCMColorTemperature, CCMType, CCMSensor, etc
Returns
The color corrected image
See Also
CCMSettings
static void CreateColorCorrected ( const ImagePtr srcImage,
ImagePtr destImage,
const CCMSettings settings 
)
static

Create a color corrected image from the source image by applying a color correction matrix calibrated according to the settings specified.

When using ImageUtilityCCM, users are advised to disable CCM on the camera before capturing source images. This can be done through the camera node "ColorTransformationEnable".

Color correction is currently supported for the following pixel formats:

  • PixelFormat_BGR8
  • PixelFormat_BGRa8
  • PixelFormat_RGBa8
  • PixelFormat_RGB8
  • PixelFormat_BGR16
  • PixelFormat_BGRa16
  • PixelFormat_RGBa16
  • PixelFormat_RGB16

The destination image height and width must be the same as the source image.

Parameters
srcImageThe source image to which the CCM is applied
destImageThe destination image in which to store the color corrected image
settingsSelected CCM settings including CCMColorTemperature, CCMType, CCMSensor, etc
See Also
CCMSettings

The documentation for this class was generated from the following file:
Contact Support Spinnaker® SDK Programmer's Guide and API Reference