]> Creatis software - bbtk.git/blob - packages/vtk/src/bbvtkImageDilateErode3D.xml
Merge branch 'vtk8itk5wx3-mingw64' of ssh://git.creatis.insa-lyon.fr/bbtk into vtk8it...
[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
12 <vtkobject>vtkImageDilateErode3D</vtkobject>
13
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"/>
21
22 <process>
23 <PRE>
24 bbGetVtkObject()->SetKernelSize(bbGetInputKernelSizeX(), 
25               bbGetInputKernelSizeY(), 
26               bbGetInputKernelSizeZ());
27 bbGetVtkObject()->Modified();
28 bbGetVtkObject()->Update();
29 </PRE>
30 </process>
31
32
33 </blackbox>
34
35