[Insight-users] RecursiveSeparableImageFilter and ReconstructionImageFilter
gaetan.lehmann at jouy.inra.fr
Wed Sep 3 05:12:05 EDT 2008
Le 3 sept. 08 à 11:02, Tom Vercauteren a écrit :
> Hi Julien,
> As far as I understand it, RecursiveSeparableImageFilter should be
> recursive and separable meaning that (for a 2D image) the filter first
> requires entire lines and then requires entire columns. It can thus
> not easily benefit from streaming (even though it could be
And it is in ITK cvs :-)
Date: 2008/07/31 12:53:10
ENH: Add thread support. The approach is very simple: the region is
in several regions - one per thread - as usual in ITK, but with an
constrain to avoid splitting it on the dimension currently processed.
Date: 2008/07/31 12:55:47
ENH: Pass the requested number of threads to the (now threaded) internal
Date: 2008/07/31 13:01:00
ENH: Multithread support. The filter is no built only with internal
All of them are threaded.
ENH: Print Sigma value in PrintSelf() method.
> If the filter needs to be run in one direction only, it should however
> be possible to do streaming with regions split in the other direction.
> On Wed, Sep 3, 2008 at 10:45 AM, Gaëtan Lehmann
> <gaetan.lehmann at jouy.inra.fr> wrote:
>> Le 3 sept. 08 à 09:43, Julien Michel a écrit :
>>> Dear ITK users and developpers,
>>> The RecursiveSeparableImageFilter and the
>>> ReconstructionImageFilter are
>>> requesting the largest possible region for their inputs.
>>> This implies that the whole RecursiveGaussian***Filter family can
>>> not be
>>> streamed, as well as the ***ByReconstructionImageFilter family.
>>> Is there a way to make either of these filters streamable ? I had
>>> a look
>>> at the code and it seems very optimized so I did not understand
>>> but yet I did not find evidences of streaming impossibility.
>> Hi Julien,
>> I can't say for the recursive gaussian filters, but the
>> filters need to process the whole input to produce a valid result.
>> I'm afraid there is no way to stream this kind of filter and have
>> it produce
>> the exact same result as the non streamed one.
>> You may want to look at filters working on neighborhood instead of
>> (regions can cover most of the image) for this kind of feature.
>> Gaëtan Lehmann
>> Biologie du Développement et de la Reproduction
>> INRA de Jouy-en-Josas (France)
>> tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
>> http://voxel.jouy.inra.fr http://www.mandriva.org
>> http://www.itk.org http://www.clavier-dvorak.org
>> Insight-users mailing list
>> Insight-users at itk.org
Biologie du Développement et de la Reproduction
INRA de Jouy-en-Josas (France)
tel: +33 1 34 65 29 66 fax: 01 34 65 29 09
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 186 bytes
Desc: This is a digitally signed message part
More information about the Insight-users