add the filter implementation switch to pixel classification