EasyManuals Logo

THORLABS DCU22 Series Description And Sdk Manual

THORLABS DCU22 Series
513 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #319 background imageLoading...
Page #319 background image
© 2016 Thorlabs Scientific Imaging
4 Programming (SDK)
317
4.3.73 is_RenderBitmap
USB 2.0
USB 3.0
-
Syntax
INT is_RenderBitmap (HIDS hCam, INT nMemID, HWND hwnd, INT nMode)
Description
Using is_RenderBitmap(), you can output an image from an image memory in the specified
window. For the display, Windows bitmap functionality is used. The image is displayed in the
format you specified when allocating the image memory.
The bitspixel parameter of the is_AllocImageMem() function defines the color depth and display
type. RGB16 and RGB15 require the same amount of memory but can be distinguished by the
bitspixel parameter.
Attention
is_RenderBitmap() can render Y8 and RGB formats. For displaying YUV/YCbCr formats please
use the is_DirectRenderer() function (see also Color and memory formats).
Input parameters
hCam
Camera handle
nMemID
ID of the image memory whose contents is to be
displayed
hwnd
Output window handle
nMode
IS_RENDER_NORMAL
The image is rendered normally. It will be
displayed in 1:1 scale as stored in the image
memory.
IS_RENDER_FIT_TO_WINDOW
The image size is adjusted to fit the output
window.
IS_RENDER_DOWNSCALE_1_2
Displays the image at 50 % of its original size.
IS_RENDER_PLANAR_COLOR_RED
Renders the red color component of the planar
format in red.
IS_RENDER_PLANAR_COLOR_GREEN
Renders the green color component of the
planar format in green.
IS_RENDER_PLANAR_COLOR_BLUE
Renders the blue color component of the planar
format in blue.
IS_RENDER_PLANAR_MONO_RED
Renders the red color component of the planar
format in gray shades.
IS_RENDER_PLANAR_MONO_GREEN
Renders the green color component of the
planar format in gray shades.
IS_RENDER_PLANAR_MONO_BLUE
Renders the blue color component of the planar
format in gray shades.
The following options can be linked by a logical OR using the nMode parameter:

Table of Contents

Other manuals for THORLABS DCU22 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the THORLABS DCU22 Series and is the answer not in the manual?

THORLABS DCU22 Series Specifications

General IconGeneral
BrandTHORLABS
ModelDCU22 Series
CategorySecurity Camera
LanguageEnglish

Related product manuals