]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkImageDilateErode3D.xml
#3489 vtk9itk5wx3-macos
[bbtk.git] / packages / vtk / src / bbvtkImageDilateErode3D.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3 <blackbox name="ImageDilateErode3D" type="VTK_ImageAlgorithm">
4
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>
8
9 <include>vtkImageDilateErode3D.h</include> 
10 <include>vtkImageData.h</include> 
11 <include>vtkVersion.h</include>
12
13 <vtkobject>vtkImageDilateErode3D</vtkobject>
14
15 <input name="In"          type="vtkImageData*" special="vtk input"     description="Input image"/>
16 <output name="Out"        type="vtkImageData*" special="vtk output"    description="Output image"/>
17 <input name="KernelSizeX" type="int"                                   description="Size of the kernel in direction X"/>
18 <input name="KernelSizeY" type="int"                                   description="Size of the kernel in direction Y"/>
19 <input name="KernelSizeZ" type="int"                                   description="Size of the kernel in direction Z"/>
20 <input name="DilateValue" type="double"        special="vtk parameter" description="The dilation value"/>
21 <input name="ErodeValue"  type="double"        special="vtk parameter" description="The erosion value"/>
22
23 <process>
24 <PRE>
25 bbGetVtkObject()->SetKernelSize(bbGetInputKernelSizeX(), 
26               bbGetInputKernelSizeY(), 
27               bbGetInputKernelSizeZ());
28 bbGetVtkObject()->Modified();
29 bbGetVtkObject()->Update();
30 </PRE>
31 </process>
32
33
34 </blackbox>
35
36