1 <?xml version="1.0" encoding="iso-8859-1"?>
3 <blackbox name="ImageDilateErode3D" type="VTK_ImageAlgorithm">
5 <author>laurent.guigues at creatis.insa-lyon.fr</author>
6 <description><PRE>Dilates one value and erodes another. vtkImageDilateErode3D will dilate one value and erode another. It uses an elliptical foot print, and only erodes/dilates on the boundary of the two values. The filter is restricted to the X, Y, and Z axes for now. It can degenerate to a 2 or 1 dimensional filter by setting the kernel size to 1 for a specific axis. (bbfication of vtkImageDilateErode3D)</PRE></description>
7 <category>image;filter</category>
9 <include>vtkImageDilateErode3D.h</include>
10 <include>vtkImageData.h</include>
12 <vtkobject>vtkImageDilateErode3D</vtkobject>
14 <input name="In" type="vtkImageData*" special="vtk input" description="Input image"/>
15 <output name="Out" type="vtkImageData*" special="vtk output" description="Output image"/>
16 <input name="KernelSizeX" type="int" description="Size of the kernel in direction X"/>
17 <input name="KernelSizeY" type="int" description="Size of the kernel in direction Y"/>
18 <input name="KernelSizeZ" type="int" description="Size of the kernel in direction Z"/>
19 <input name="DilateValue" type="double" special="vtk parameter" description="The dilation value"/>
20 <input name="ErodeValue" type="double" special="vtk parameter" description="The erosion value"/>
24 bbGetVtkObject()->SetKernelSize(bbGetInputKernelSizeX(),
25 bbGetInputKernelSizeY(),
26 bbGetInputKernelSizeZ());
27 bbGetVtkObject()->Modified();
28 bbGetVtkObject()->Update();