optimize invert filter code
switch to use sobel to extract edges in neonFilter