SRL Archive - General

How does tolerance work?


Zeta Matt

2013-04-13 17:47:19

I would like an explanation with values, mathematic, please. I know how to use it, but it still is a shot in the dark when I use FindColorTolerance to find, let's say, a variable light blue color in the middle of a wide area with darker blue colors (medium blue color), and I'll have to test many numbers of tolerance on the DTM editor to see the lower tolerance I can use not to detect incorrectly… Thanks =)

Haxz

2013-04-13 17:51:59

Easiest way to check is probably using ACA. But if you want the maths behind it, idk :p

http://villavu.com/forum/showthread.php?t=98368

tealc

2013-04-13 17:57:15

ACA would be easiest, but here's a link to how the different color spaces work with tolerance http://villavu.com/forum/showthread.php?t=74908

x[Warrior]x3500

2013-04-13 17:59:29

umm for a brief description of what tolerance does and how it can be used, go here (my tutorial). on the left hand side look under the "concepts" category and click on "basic color". the explanations on CTS should help you understand what tolerance does.

Zeta Matt

2013-04-16 22:33:01

Thank you for the ACA suggestion, the master CTS turial thread and warrior's tutorial site =) gonna take my time tomorrow to read!

masterBB

2013-04-18 11:01:20

I started working on this: http://villavu.com/forum/showthread.php?t=89308

probably easier to read for cts 0 or 1.