vtk
Class vtkImageOpenClose3D

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProcessObject
              extended byvtk.vtkSource
                  extended byvtk.vtkImageSource
                      extended byvtk.vtkImageToImageFilter
                          extended byvtk.vtkImageOpenClose3D
All Implemented Interfaces:
java.io.Serializable

public class vtkImageOpenClose3D
extends vtkImageToImageFilter
implements java.io.Serializable

vtkImageOpenClose3D - Will perform opening or closing.. vtkImageOpenClose3D performs opening or closing by having two vtkImageErodeDilates in series. The size of operation is determined by the method SetKernelSize, and the operator is an ellipse. OpenValue and CloseValue determine how the filter behaves. For binary images Opening and closing behaves as expected. Close value is first dilated, and then eroded. Open value is first eroded, and then dilated. Degenerate two dimensional opening/closing can be achieved by setting the one axis the 3D KernelSize to 1. Values other than open value and close value are not touched. This enables the filter to processes segmented images containing more than two tags. JavaBean wrapper for vtkImageOpenClose3D object.

Author:
vtk2jbean Automatic JavaBean wrapper for VTK.
See Also:
Serialized Form

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkImageOpenClose3D()
           
protected vtkImageOpenClose3D(int dmy)
           
 
Method Summary
 void debugOff()
          Turn debugging output on.
 void debugOn()
          Turn debugging output on.
 java.lang.String getClassName()
          Default open value is 0, and default close value is 255.
 double getCloseValue()
          Determines the value that will closed.
 vtkImageDilateErode3D getFilter0()
          Needed for Progress functions
 vtkImageDilateErode3D getFilter1()
          Needed for Progress functions
 int getMTime()
          This method considers the sub filters MTimes when computing this objects modified time.
 double getOpenValue()
          Determines the value that will opened.
 vtkImageData getOutput()
          This method returns the cache to make a connection It justs feeds the request to the sub filter.
 vtkImageData getOutput(int id0)
          This method returns the cache to make a connection It justs feeds the request to the sub filter.
 vtkImageOpenClose3D getThisImageOpenClose3D()
           
 int isA(java.lang.String id0)
          Default open value is 0, and default close value is 255.
 void modified()
          Pass modified message to sub filters.
 void setCloseValue(double id0)
          Determines the value that will closed.
 void setInput(vtkImageData id0)
          Set the Input of the filter.
 void setKernelSize(int id0, int id1, int id2)
          Selects the size of gaps or objects removed.
 void setOpenValue(double id0)
          Determines the value that will opened.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkImageToImageFilter
bypassOff, bypassOn, getBypass, getInput, getInputMemoryLimit, getNumberOfThreads, getNumberOfThreadsMaxValue, getNumberOfThreadsMinValue, getThisImageToImageFilter, setBypass, setInputMemoryLimit, setNumberOfThreads, splitExtent, threadedExecute
 
Methods inherited from class vtk.vtkImageSource
getThisImageSource, setOutput
 
Methods inherited from class vtk.vtkSource
computeInputUpdateExtents, getNumberOfOutputs, getOutputIndex, getReleaseDataFlag, getThisSource, inRegisterLoop, propagateUpdateExtent, releaseDataFlagOff, releaseDataFlagOn, setReleaseDataFlag, triggerAsynchronousUpdate, unRegister, unRegisterAllOutputs, update, updateData, updateInformation, updateWholeExtent
 
Methods inherited from class vtk.vtkProcessObject
abortExecuteOff, abortExecuteOn, getAbortExecute, getErrorCode, getNumberOfInputs, getProgress, getProgressMaxValue, getProgressMinValue, getProgressText, getThisProcessObject, removeAllInputs, setAbortExecute, setProgress, setProgressText, squeezeInputArray, updateProgress
 
Methods inherited from class vtk.vtkObject
AddObserver, breakOnError, getDebug, getGlobalWarningDisplay, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, Print, PrintRevisions, register, removeObserver, removeObservers, removeObservers, setDebug, setGlobalWarningDisplay
 
Methods inherited from class vtk.vtkObjectBase
addPropertyChangeListener, finalize, getReferenceCount, getThisObjectBase, isTypeOf, removePropertyChangeListener, setReferenceCount, VTKDelete
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

changes

protected java.beans.PropertyChangeSupport changes
Constructor Detail

vtkImageOpenClose3D

public vtkImageOpenClose3D()

vtkImageOpenClose3D

protected vtkImageOpenClose3D(int dmy)
Method Detail

getThisImageOpenClose3D

public vtkImageOpenClose3D getThisImageOpenClose3D()

getClassName

public java.lang.String getClassName()
Default open value is 0, and default close value is 255.

Overrides:
getClassName in class vtkImageToImageFilter

isA

public int isA(java.lang.String id0)
Default open value is 0, and default close value is 255.

Overrides:
isA in class vtkImageToImageFilter

getMTime

public int getMTime()
This method considers the sub filters MTimes when computing this objects modified time.

Overrides:
getMTime in class vtkObject

debugOn

public void debugOn()
Turn debugging output on. (in sub filters also)

Overrides:
debugOn in class vtkObject

debugOff

public void debugOff()
Turn debugging output on. (in sub filters also)

Overrides:
debugOff in class vtkObject

modified

public void modified()
Pass modified message to sub filters.

Overrides:
modified in class vtkObject

getOutput

public vtkImageData getOutput()
This method returns the cache to make a connection It justs feeds the request to the sub filter.

Overrides:
getOutput in class vtkImageSource

getOutput

public vtkImageData getOutput(int id0)
This method returns the cache to make a connection It justs feeds the request to the sub filter.

Overrides:
getOutput in class vtkImageSource

setInput

public void setInput(vtkImageData id0)
Set the Input of the filter.

Overrides:
setInput in class vtkImageToImageFilter

setKernelSize

public void setKernelSize(int id0,
                          int id1,
                          int id2)
Selects the size of gaps or objects removed.


setOpenValue

public void setOpenValue(double id0)
Determines the value that will opened. Open value is first eroded, and then dilated.


getOpenValue

public double getOpenValue()
Determines the value that will opened. Open value is first eroded, and then dilated.


setCloseValue

public void setCloseValue(double id0)
Determines the value that will closed. Close value is first dilated, and then eroded


getCloseValue

public double getCloseValue()
Determines the value that will closed. Close value is first dilated, and then eroded


getFilter0

public vtkImageDilateErode3D getFilter0()
Needed for Progress functions


getFilter1

public vtkImageDilateErode3D getFilter1()
Needed for Progress functions


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkImageToImageFilter


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.