Writing filter with multiple outputs - do I need to provide the number of outputs already in the constructor?


I am writing my own ImageSource derived filter that I’d like to output multiple images. The number of outputs, however, is not known already in the constructor, but is a parameter that can be set by a Setter-function. Is it possible to let the number outputs be determined that late, or do I need to set the number already in the constructor?

Yes, that can be done. Here is how: