It can be very usefully for a blob tracking technics
Example
Usage
// HSV PIXEL BLENDER FILTER
[Embed("HSV_Threshold.pbj", mimeType="application/octet-stream")]
private var hsvShader:Class;
private var hsv:Shader = new Shader(new hsvShader as ByteArray);
...
/// RED /// /// /// /// /// /// /// /// /// //
hsv.data.HueMin.value = [275.0]
hsv.data.HueMax.value = [ 35.0]
hsv.data.SatMin.value = [ 40.0]
hsv.data.SatMax.value = [100.0]
hsv.data.ValMin.value = [ 40.0]
hsv.data.ValMax.value = [100.0]
yourBitmapData.applyFilter(yourBitmapData, yourBitmapData.rect, new Point(0,0), new ShaderFilter(hsv));
you dont look too happy…
Russian flashers look like this permanently!
It’s all because of too much works, too much stresses, too much caffeine in the blood and too low cach level in the valet
~o…O~
Very nice! It looks to be working very well. Thanks for the link.
Thanks for linking, just found your shader very useful for the next stage of my project!