[ITK-users] OutputFilter vs InputFilter in ObjectByObjectLabelMapFilter
Gaetan Lehmann
gaetan.lehmann at gmail.com
Tue Apr 21 06:50:28 EDT 2015
Hi Arnaud,
The output filter is there to be able to apply a pipeline to each object,
instead of just a single filter.
When applying a single filter, the input and output filters are the same
filter.
When applying a pipeline, the input and output filters are not the same
filters, maybe not even the same type. It is the responsibility of the user
to connect the pipeline properly - this is why the output of the input
filter is never used.
HTH,
Gaëtan
2015-04-21 10:20 GMT+02:00 Arnaud Gelas <arnaudgelas at gmail.com>:
> Hi Gaetan,
>
> I am spending quite some time on ObjectByObjectLabelMapFilter, and I don’t
> really understand conceptually the purpose of the OutputFilter vs the
> InputFilter. Can you give some explanations, please?
>
> Looking at the code, it is bogus if the OutputFilter is different from the
> InputFilter (in such a case, the pipeline is not fully connected, i.e. the
> output of the InputFilter is not connected to any internal filter).
>
> Thanks,
> Arnaud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/insight-users/attachments/20150421/e9ba4b00/attachment.html>
More information about the Insight-users
mailing list