Bixby Sayz Posted January 28, 2013 Share Posted January 28, 2013 What is the range of valid values for Tolerance in the color finding routines? I notice in Wanted's scripts he often uses a color tolerance of 421??? Quote Link to comment Share on other sites More sharing options...
LordJashin Posted January 28, 2013 Share Posted January 28, 2013 I guess just find the color Wanted is color toling to. Maybe he has all green colors and + 421 or - 421 on one of them gives a mix? Use some of the functions on the wiki... Quote Link to comment Share on other sites More sharing options...
FHannes Posted January 28, 2013 Share Posted January 28, 2013 It depends on the algorithm, but I think that 421 maxes most, if not all them out by far. Quote Link to comment Share on other sites More sharing options...
Bixby Sayz Posted January 28, 2013 Author Share Posted January 28, 2013 (edited) In this case he is calling OSI's FindMMColorTol function passing it a color of clWhite and tolerance of 421. Ultimately this calls FindColorTPATol with those params. I was just trying to wrap my head around why you would call a color finding routine with such a high tolerance. Edited January 28, 2013 by Bixby Sayz Quote Link to comment Share on other sites More sharing options...
Wanted Posted January 28, 2013 Share Posted January 28, 2013 I've only used it to find non-black or non-white colors. You can experiment CTS1 in the DTM editor I believe, or you could just use the debug window i.e. debug.scar ... I guess ACA has it too. Quote Link to comment Share on other sites More sharing options...