[Insight-users] Testing GPU-based Median Filters

Karthik Krishnan karthik.krishnan at kitware.com
Wed Jan 13 01:04:38 EST 2010


On Tue, Jan 12, 2010 at 5:57 PM, Richard Beare <richard.beare at gmail.com> wrote:
> Hi,
>
> Can you provide any examples of how the factory mechanism works with
> filter classes? I'm familiar with the IO factories but haven't dealt
> with anything like factories for standard filter classes.

It can work with any subclass of itk::LightObject that creates itself
with the itkNewMacro.

Take a look at Insight/Testing/Code/Common/itkObjectFactoryTest.cxx
for an example.


More information about the Insight-users mailing list