Hallo Herbert!
If you want a wider line the PixelMath expression is very simple:
8 Lines wide:
8-d2seg(40,600,800,670)
50 lines wide:
50-d2seg(40,600,800,670)
etc...
You can solve your issue with 2 lines as the light beam is conic. Coordinates for your Image:
max(8-d2seg(429,0,455,1656),8-d2seg(429,0,464,1656))
to remove the beam correctly i need a second image without beam or the beam at another Location.
Yes, the beam can be removed also with Curves - just tried it - but thats already somehow painting....
so...
Have planned to show the new PixelMath functions at our PI Austria Meeting in May 2015 in Schlierbach .
if you want?
Gerald