[ITK-users] OutputFilter vs InputFilter in ObjectByObjectLabelMapFilter
Arnaud Gelas
arnaudgelas at gmail.com
Tue Apr 21 06:59:17 EDT 2015
Here is a patch for the documentation:
http://review.source.kitware.com/#/c/19657/ <http://review.source.kitware.com/#/c/19657/>
> On 21 Apr 2015, at 12:50, Gaetan Lehmann <gaetan.lehmann at gmail.com> wrote:
>
> 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 <mailto: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/805ca732/attachment.html>
More information about the Insight-users
mailing list