filtering out black {color tracking}


    Jun 26 2011 | 4:32 pm
    hallo,
    i am building color tracking system for my interactive project and i can´t find out how to filter out of the matrix the black {dark} or white {super light} part of the colour spectrum.
    basically i would like to apply some condition like "if $i1< 20 && $i2 < 20 && $i3 < 20 then 0" where $i1, $i2, $i3 stand for the rgb. i have been thinking about jit.op, but here i dont know how to address concrete plane so i could apply this formula.
    in help there is written " If multiple operators are specified, they are applied on a plane by plane basis. " but how should this operator look like? should it be somethinglike @op1 {i tried but didnt work for me}?
    or maybe i could unpack rgb planes and then make the operation amongthem, but again i dont know how to perform such operation.
    i would be very thankfull for any idea on this
    sorry if this question is beginner like, i am new to jitter
    tomas

    • Jun 27 2011 | 9:41 am
      ... it would be probably enough for me to find out how to address the particular plane with jit.op {?}
      thanks
      t.
    • Jun 27 2011 | 4:21 pm
      [jit.op @op < <
      -Nate
      Take a look at this to see if it helps: