Progressive paintoval alpha mask on jit.lcd


    Jan 09 2011 | 12:33 pm
    Hi all.
    I try to make a paintoval progressive alpha mask.
    My problem is that the progressive stuff is applied to my entire matrix…
    I cannot make it just in my paintoval…
    And an other issue: the mask is not interp… I don't understand why…
    Could you please help me with this ?
    And I have to keep jit.lcd because I use cv.jit.trackpoints to determine the position of the mask, so not gl solution :)
    here's the patch:
    max v2;
    Hope this is clear,
    Thx All
    Ad.

    • Jan 09 2011 | 8:22 pm
      re interpolation: I am not sure, but might it be because your alpha coeff is created using a 8 x 1 matrix that then gets up-sampled to 320 240? I would try to put your coeff into another [jit.matrix 1 float32 320 240 @interp 1]. see if that fixes it...
    • Jan 10 2011 | 8:56 am
      You are right !
      Thx for this point.
      No ideas about my other deep issue ?
      THx
      Ad.