kernel NewFilter < namespace : "Your Namespace"; vendor : "Your Vendor"; version : 1; description : "your description"; > { parameter float2 cross1 ; input image4 unused; output pixel4 dst; void evaluatePixel() { float2 diff = abs(outCoord() - cross1); dst = float4(0,0,0,1); if(diff.x < 4.0 || diff.y < 4.0) dst=float4(1,1,1,1); } }