yangsy
About 425 wordsAbout 1 min
2024-11-08
Caution
Function:
Invocation:
Enabled by default after filtering is turned on, no need to add, cannot be deleted (setting the value to 0 is invalid).
Parameter Range:
paramData1 0~100 Recommended 6
Function:
Invocation:
Needs to be added through AddFilter() and then set parameters
Parameter Range:
paramData1 3~5 Recommended 3
paramData2 1~5 Recommended 1
Function:
Invocation:
Needs to be added through AddFilter() and then set parameters
Parameter Range:
paramData1 20~200 Recommended 50
Function:
Invocation:
Needs to be added through AddFilter() and then set parameters
Parameter Range:
paramData1 24~200 Recommended 40
paramData1 24~200 Recommended 100
Function:
Invocation:
Needs to be added through AddFilter() and then set parameters
Parameter Range:
paramData1 40~200 Recommended 64
Supported Devices:
CS40, CS40Pro
CS20: Median, Edge, Speckle, Median
CS30: Front-end built-in Median, Edge, Median, backend can add Speckle, Median filters.
After calling SetHardWareFilterMode to enable hardware filtering, the filtering will be processed internally in the module's CPU. When disabled, it will be processed on the upper computer. Currently, all products except CS20 support it.
Enabling hardware filtering may result in frame rate drops due to performance limitations of the module.
// Amplitude filter AMPLITITUD
float threshold_value{ 0 };
threshold_value[0] = 10;// amplititud_threshold
int num = 1;
SetFilterParam(nDeviceID, filterType, num , threshold_value);
// Median filter MEDIAN
threshold_value{ 0 };
threshold_value[0] = 3;// median_ksize
threshold_value[1] = 1;// median_iterations
num = 2;
SetFilterParam(nDeviceID, filterType, num , threshold_value);
// Edge filter EDGE
threshold_value{ 0 };
threshold_value[0] = 50;//edge_threshold
num = 1;
SetFilterParam(nDeviceID, filterType, num , threshold_value);
// Speckle filter SPECKLE
threshold_value{ 0 };
threshold_value[0] = 40;// speckle_size
threshold_value[1] = 100;// speckle_max_diff
num = 2;
SetFilterParam(nDeviceID, filterType, num , threshold_value);