added invert filter
added default invert parameters