image filter revisited: restructuring