vtk
Class vtkSubPixelPositionEdgels

java.lang.Object
  extended byvtk.vtkObjectBase
      extended byvtk.vtkObject
          extended byvtk.vtkProcessObject
              extended byvtk.vtkSource
                  extended byvtk.vtkPolyDataSource
                      extended byvtk.vtkPolyDataToPolyDataFilter
                          extended byvtk.vtkSubPixelPositionEdgels
All Implemented Interfaces:
java.io.Serializable

public class vtkSubPixelPositionEdgels
extends vtkPolyDataToPolyDataFilter
implements java.io.Serializable

vtkSubPixelPositionEdgels - adjust edgel locations based on gradients.. vtkSubPixelPositionEdgels is a filter that takes a series of linked edgels (digital curves) and gradient maps as input. It then adjusts the edgel locations based on the gradient data. Specifically, the algorithm first determines the neighboring gradient magnitudes of an edgel using simple interpolation of its neighbors. It then fits the following three data points: negative gradient direction gradient magnitude, edgel gradient magnitude and positive gradient direction gradient magnitude to a quadratic function. It then solves this quadratic to find the maximum gradient location along the gradient orientation. It then modifies the edgels location along the gradient orientation to the calculated maximum location. This algorithm does not adjust an edgel in the direction orthogonal to its gradient vector. JavaBean wrapper for vtkSubPixelPositionEdgels object.

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

Field Summary
protected  java.beans.PropertyChangeSupport changes
           
 
Fields inherited from class vtk.vtkObjectBase
vtkId
 
Constructor Summary
  vtkSubPixelPositionEdgels()
           
protected vtkSubPixelPositionEdgels(int dmy)
           
 
Method Summary
 java.lang.String getClassName()
          Return the class name as a string.
 vtkStructuredPoints getGradMaps()
          Set/Get the gradient data for doing the position adjustments.
 int getTargetFlag()
          These methods can make the positioning look for a target scalar value instead of looking for a maximum.
 double getTargetValue()
          These methods can make the positioning look for a target scalar value instead of looking for a maximum.
 vtkSubPixelPositionEdgels getThisSubPixelPositionEdgels()
           
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void setGradMaps(vtkStructuredPoints id0)
          Set/Get the gradient data for doing the position adjustments.
 void setTargetFlag(int id0)
          These methods can make the positioning look for a target scalar value instead of looking for a maximum.
 void setTargetValue(double id0)
          These methods can make the positioning look for a target scalar value instead of looking for a maximum.
 void targetFlagOff()
          These methods can make the positioning look for a target scalar value instead of looking for a maximum.
 void targetFlagOn()
          These methods can make the positioning look for a target scalar value instead of looking for a maximum.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkPolyDataToPolyDataFilter
getInput, getThisPolyDataToPolyDataFilter, setInput
 
Methods inherited from class vtk.vtkPolyDataSource
getOutput, getOutput, getThisPolyDataSource, 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, debugOff, debugOn, getDebug, getGlobalWarningDisplay, getMTime, getThisObject, globalWarningDisplayOff, globalWarningDisplayOn, hasObserver, hasObserver, invokeEvent, invokeEvent, modified, 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

vtkSubPixelPositionEdgels

public vtkSubPixelPositionEdgels()

vtkSubPixelPositionEdgels

protected vtkSubPixelPositionEdgels(int dmy)
Method Detail

getThisSubPixelPositionEdgels

public vtkSubPixelPositionEdgels getThisSubPixelPositionEdgels()

getClassName

public java.lang.String getClassName()
Description copied from class: vtkObjectBase
Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
getClassName in class vtkPolyDataToPolyDataFilter

isA

public int isA(java.lang.String id0)
Description copied from class: vtkObjectBase
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Overrides:
isA in class vtkPolyDataToPolyDataFilter

setGradMaps

public void setGradMaps(vtkStructuredPoints id0)
Set/Get the gradient data for doing the position adjustments.


getGradMaps

public vtkStructuredPoints getGradMaps()
Set/Get the gradient data for doing the position adjustments.


setTargetFlag

public void setTargetFlag(int id0)
These methods can make the positioning look for a target scalar value instead of looking for a maximum.


getTargetFlag

public int getTargetFlag()
These methods can make the positioning look for a target scalar value instead of looking for a maximum.


targetFlagOn

public void targetFlagOn()
These methods can make the positioning look for a target scalar value instead of looking for a maximum.


targetFlagOff

public void targetFlagOff()
These methods can make the positioning look for a target scalar value instead of looking for a maximum.


setTargetValue

public void setTargetValue(double id0)
These methods can make the positioning look for a target scalar value instead of looking for a maximum.


getTargetValue

public double getTargetValue()
These methods can make the positioning look for a target scalar value instead of looking for a maximum.


VTKInit

public void VTKInit()
Overrides:
VTKInit in class vtkObject

VTKCastInit

protected void VTKCastInit()
Overrides:
VTKCastInit in class vtkPolyDataToPolyDataFilter


Copyright © 2004 Sydney ViSLAB. All Rights Reserved.