Results 1 to 7 of 7

Thread: xyz color tolerance

  1. #1
    Join Date
    Sep 2010
    Location
    Azeroth
    Posts
    395
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default xyz color tolerance

    Anyway to find the XYZ tolerance?


    do i first find hsl the color to xyz or
    just use regular rgb and then just use that tolerance?



    i know about modifier value but aca seems to not have that support yet.. i bet there is a aca v3


    hsl is great and aca does great job on giving you hsl tol and hue/sat modifiers but none for xyz
    Last edited by wantonman; 02-22-2012 at 11:25 PM.

  2. #2
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    xyz? The only CTS that uses XYZ is CTS3. But even there we calculate it to CIE Lab....
    Working on: Tithe Farmer

  3. #3
    Join Date
    Sep 2010
    Location
    Azeroth
    Posts
    395
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    well like in cts0 , cts1 , cts2 ; aca provides tolerance for each but i cannot get the right tol for xyz... i am aware for a proper xyz you need the cts3 modifier value and the color tolerance but im having trouble getting those as aca doesnt seem to provide these...


    i googled this cie lab... tell me more of this if it might answere my question... google just admits some software iono about

  4. #4
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    It doesn't exist, but I believe someone was working on it. You could try it with trial and error. The cts3 modifier works like this: "Ceil(Sqr(Tol*CTS3Modifier));" You can achieve the same with editing only one of them. L*a*b are compared against each other with that tolerance.

    Where:
    L = L1 - L2
    A = A1 - A2
    Bb = B1 - B2
    Simba Code:
    (L*L + A*A + bB*Bb) <= i.Tol;

    edit: Tell you more? uhm, any change if you start reading at line 256 you will understand it? https://github.com/MerlijnWajer/Simb...ore/finder.pas
    Last edited by masterBB; 02-22-2012 at 11:45 PM.
    Working on: Tithe Farmer

  5. #5
    Join Date
    Sep 2010
    Location
    Azeroth
    Posts
    395
    Mentioned
    0 Post(s)
    Quoted
    17 Post(s)

    Default

    it seems mildly complex thought it looks like colortoxyz function... i have read all of the cts tuts on the forums

  6. #6
    Join Date
    Oct 2006
    Location
    Netherlands
    Posts
    3,285
    Mentioned
    105 Post(s)
    Quoted
    494 Post(s)

    Default

    Quote Originally Posted by wantonman View Post
    it seems mildly complex thought it looks like colortoxyz function... i have read all of the cts tuts on the forums
    I'm afraid you won't find that many about it. I still have to add it to my CTS tutorial. I learned all I know from reading the MMLCore/simba source and stuff I already know about color finding. Well my last try for I go to sleep

    Random image from google:


    As you can see the L parameter is the lightness of the color. A and B are the amount of red,green,blue and yellow. The rest you have to find out yourself, or wait a week when I will update my tut again.
    Working on: Tithe Farmer

  7. #7
    Join Date
    Feb 2007
    Location
    PA, USA
    Posts
    5,240
    Mentioned
    36 Post(s)
    Quoted
    496 Post(s)

    Default

    Quote Originally Posted by masterBB View Post
    I'm afraid you won't find that many about it. I still have to add it to my CTS tutorial. I learned all I know from reading the MMLCore/simba source and stuff I already know about color finding. Well my last try for I go to sleep

    Random image from google:


    As you can see the L parameter is the lightness of the color. A and B are the amount of red,green,blue and yellow. The rest you have to find out yourself, or wait a week when I will update my tut again.
    update that tut and pm me when you do!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •