image filter tutorial with comments