Generating an evil mode using edge filters