colorPass

Turns image into b&w where only one color left, using HSV selective scale

  1. SuperImage colorPass(SuperImage img, SuperImage outp, float hue, float hueToleranceMin, float hueToleranceMax, float satThres, float valThres)
  2. SuperImage colorPass(SuperImage img, float hue, float hueToleranceMin, float hueToleranceMax, float satThres, float valThres)
    colorPass
    (,
    float hue
    ,
    float hueToleranceMin = -20.0f
    ,
    float hueToleranceMax = 20.0f
    ,
    float satThres = 0.2f
    ,
    float valThres = 0.3f
    )

Meta