[Insight-developers] ImageToImage filter with 2 inputs of dif
ferent types
Miller, James V (Research)
millerjv@crd.ge.com
Mon, 4 Nov 2002 11:58:47 -0500
I think the itk::ShapeDetectionLevelSetFilters do this. They have a method
called SetEdgeImage() that takes in the type of the second input and just calls
ProcessObject::SetNthInput().
Jim
> -----Original Message-----
> From: Joshua Cates [mailto:cates@sci.utah.edu]
> Sent: Monday, November 04, 2002 11:53 AM
> To: Insight-Developers
> Subject: [Insight-developers] ImageToImage filter with 2 inputs of
> different types
>
>
> Hi,
>
> I am rewriting the level set segmentation filters so that the
> ThresholdImage parameter is given as a second input and
> therefore becomes
> linking into the pipeline properly.
>
> The issue I have is that I do not want to require that both
> inputs to my
> filter be of exactly the same type.
>
> Has anyone constructed a similar filter? Any advice would be helpful.
>
> I don't believe it can be done as a subclass of itkImageToImageFilter.
>
> Josh.
>
> ______________________________
> Josh Cates
> School of Computer Science
> University of Utah
> Email: cates@sci.utah.edu
> Phone: (801) 587-7697
> URL: www.cs.utk.edu/~cates
>
>
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>