Revert "Allow inverting colors for edge detection filters"

This reverts commit 8b2eb0dd9fe346cdbbb7b38e736dc606be266c97.