i am trying to understand the threshold parameter in scanning. it has value from 0 to 255. i want to scan with neutral value. should i use a threshold value of 128 ? Thanks for any advice. I am scanning in grayscale 8 bits. Pierre
Description Specifies the dividing line between black and white. This is the value the Source will use to threshold, if needed, when ICAP_PIXELTYPE = TWPT_BW. The value is normalized so there are no units of measure associated with this ICAP.
Application Application will typically set ICAP_BITDEPTHREDUCTION to TWBR_THRESHOLD to use this capability.
Source Source should fit available values linearly into the defined range such that the lowest available value equals 0 and the highest equals 255. If not supported, return TWRC_FAILURE / TWCC_CAPUNSUPPORTED.
Values
Type:TW_FIX32 Default Value:128 Allowed Values:0 to 255 Container for MSG_GET:TW_ENUMERATION TW_ONEVALUE TW_RANGE Container for MSG_SET: TW_ENUMERATION TW_ONEVALUE TW_RANGE Container for MSG_QUERYSUPPORT: TW_ONEVALUE