© 2013 Thorlabs GmbH206
DCx Cameras
4.3.19 is_EdgeEnhancement
Syntax
INT is_EdgeEnhancement(HIDS hCam, UINT nCommand, void* pParam, UINT cbSizeOfParam)
Description
This function enables/disables a software edge filter.
Due to Bayer format color conversion, the original edges of a color image may easily become blurred. By enabling
the digital edge filter, you can optimize edge representation. This function causes a higher CPU load.
The nCommand input parameter is used to select the function mode. The pParam input parameter depends on the
selected function mode. If you select functions for setting or returning a value, pParam contains a pointer to a
variable of the UINT type. The size of the memory area to which pParam refers is specified in the
cbSizeOfParam input parameter.
Note
The following function is obsolete by the is_EdgeEnhancement() function:
is_SetEdgeEnhancement()
See also Obsolete functions
Input parameters
IS_EDGE_ENHANCEMENT_CMD_GET_RANGE
Returns the range of the edge enhancement (Example 1
)
IS_EDGE_ENHANCEMENT_CMD_GET_DEFAULT
Returns the standard value of the edge enhancement
(Example 2 )
IS_EDGE_ENHANCEMENT_CMD_GET
Returns the current set edge enhancement (Example 3
)
IS_EDGE_ENHANCEMENT_CMD_SET
Sets the edge enhancement (Example 4 )
0: no edge enhancement
Pointer to a function parameter, whose function depends
on nCommand.
Size (in bytes) of the memory area to which pParam
refers.
Return values
One of the submitted parameters is outside the valid
range or is not supported for this sensor or is not
available in this mode.
Function executed successfully
Related functions
is_SetColorMode()
is_SetColorConverter()
379
207
207
207
207
319
315