[ITK] [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/community/attachments/20150421/e9ba4b00/attachment.html>
-------------- next part --------------
_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.php

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/insight-users


More information about the Community mailing list