Hi Laurențiu,

I am not sure to understand the issue, but maybe the infamous 
otb::PerBandVectorImageFilter can help you here:

https://www.orfeo-toolbox.org//doxygen/classotb_1_1PerBandVectorImageFilter.html

Good luck.

Jordi

Laurențiu Nicola <lnic...@dend.ro> wrote:
> 
> Hello,
>
> I'm trying to write a pipeline that
>
> 1 reads an image
> 2 passes each band to an instance of a filter
> 3 gathers the filter outputs and uses that as an input to a different filter
>
> I'm not really familiar to ITK pipelines, but my approach was to derive from 
> itk::ProcessObject, set the outputs from step 1 as inputs to this filter and 
> use the computed values in GenerateData(). However, at
> that point the inputs don't seem to have been computed yet.
>
> A workaround is to manually call Update() in step 2, but that's probably less 
> efficient.
>
> Does anyone have some tips on how to do this? My code looks like this: 
> https://gist.github.com/lnicola/1710d79e4f129e02528e4c4149f8047d
>
> Thanks,
>
> Laurentiu Nicola
>
> -- 

-- 
-- 
Check the OTB FAQ at
http://www.orfeo-toolbox.org/FAQ.html

You received this message because you are subscribed to the Google
Groups "otb-users" group.
To post to this group, send email to otb-users@googlegroups.com
To unsubscribe from this group, send email to
otb-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/otb-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"otb-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to otb-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to