178 DCx camera
© 2010 Thorlabs
7.3.38
is_GetImageMemPitch
Syntax
INT is_GetImageMemPitch (HIDS hCam, INT* pPitch)
Description
is_GetImageMemPitch() returns the line increment (in bytes). The line increment is defined as the
number of bytes from the beginning of a line to the beginning of the next line. It may be greater than
suggested by the parameters passed when calling is_AllocImageMem() . The line increment is
always a number that can be divided by 4.
The line increment is calculated as:
line = width * [(bitspixel + 1) / 8]
lineinc = line + adjust.
adjust = 0 if line can be divided by 4 without remainder
adjust = 4 - rest(line / 4) if line cannot be divided by 4 without remainder
Input Parameters
Pointer to the variable containing the line increment
Return Values
Function executed successfully
Related Functions
is_GetImageMem()
is_AllocImageMem()
is_AddToSequence()
is_SetImageMem()
is_SetAllocatedImageMem()
119
177
119
118
270
217