Industrial Cameras FAQ/How can I convert a Raw image ...

How can I convert a Raw image sent from camera to BGR or BGRA format image?(No.1540)

Cameras can transmit raw images to PC in various Pixel Formats. Converting raw image data to 24 bit BGR format or 32 bit BGRA format image data is required for drawing the raw image as color image on a monitor .

When Bayer type format or YUV format is specified for PixelFormat, some calculation is required to convert to 24bit BGR format or 32bit BGRA format image data.

TeliCamSDK provides function ConvImage () and CameraUtility.ConvertImage () that converts raw image data to 24 bit BGR format or 32 bit BGRA format image data.

For details, refer to "5.7.1. Image format converter" in the TeliCamSDK library manual.
. For NET, refer to "5.18.1. Image format converter" in the TeliCamDNetSDK library manual
With TeliCamSDK V 2.0.0 or later, ConvImage () is multi-threaded to convert image data at high speed.

back

Was this FAQ helpful?

Please let us know your opinion about the FAQ so that we will be able to improve our FAQ. (Within 800 characters)
Note: If you need a reply to your inquiry (e.g. inquiry about products), please use the inquiries form provided on Contact Us page. Please note that we cannot answer to your questions filled in below.

Please click below to change the cookie settings used on our website.