Allow different filter for each component in image

Filter input is required to be a list of numpy arrays. If list has one
element the same filter is used for all components of the input,
otherwise each component can have its own filter.