vtk
Class vtkImageAccumulate

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

public class vtkImageAccumulate
extends vtkImageToImageFilter
implements java.io.Serializable

vtkImageAccumulate - Generalized histograms up to 4 dimensions.. vtkImageAccumulate - This filter divides component space into discrete bins. It then counts the number of pixels associated with each bin. The output is this "scatter plot" (histogram values for 1D). The dimensionality of the output depends on how many components the input pixels have. Input pixels with one component generate a 1D histogram. This filter can only handle images with 1 to 3 scalar components. The input can be any type, but the output is always int. Some statistics are computed on the pixel values at the same time. The SetStencilFunction, SetClippingExtents and ReverseStencil functions allow the statistics to be computed on an arbitrary portion of the input data. See the documentation for vtkImageStencil for more information. JavaBean wrapper for vtkImageAccumulate 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
  vtkImageAccumulate()
           
protected vtkImageAccumulate(int dmy)
           
 
Method Summary
 java.lang.String getClassName()
          Return the class name as a string.
 int[] getComponentExtent()
          Use a stencil to specify which voxels to accumulate.
 void getComponentExtent(int[] id0)
          Set/Get - The component extent sets the number/extent of the bins.
 double[] getComponentOrigin()
          Set/Get - The component origin is the location of bin (0, 0, 0).
 double[] getComponentSpacing()
          Set/Get - The component spacing is the dimension of each bin.
 double[] getMax()
          Get the statistics information for the data.
 double[] getMean()
          Get the statistics information for the data.
 double[] getMin()
          Get the statistics information for the data.
 int getReverseStencil()
          Reverse the stencil.
 double[] getStandardDeviation()
          Get the statistics information for the data.
 vtkImageStencilData getStencil()
          Use a stencil to specify which voxels to accumulate.
 vtkImageAccumulate getThisImageAccumulate()
           
 int getVoxelCount()
          Get the statistics information for the data.
 int isA(java.lang.String id0)
          Return 1 if this class is the same type of (or a subclass of) the named class.
 void reverseStencilOff()
          Reverse the stencil.
 void reverseStencilOn()
          Reverse the stencil.
 void setComponentExtent(int[] id0)
          Set/Get - The component extent sets the number/extent of the bins.
 void setComponentExtent(int id0, int id1, int id2, int id3, int id4, int id5)
          Set/Get - The component extent sets the number/extent of the bins.
 void setComponentOrigin(double[] id0)
          Set/Get - The component origin is the location of bin (0, 0, 0).
 void setComponentOrigin(double id0, double id1, double id2)
          Set/Get - The component origin is the location of bin (0, 0, 0).
 void setComponentSpacing(double[] id0)
          Set/Get - The component spacing is the dimension of each bin.
 void setComponentSpacing(double id0, double id1, double id2)
          Set/Get - The component spacing is the dimension of each bin.
 void setReverseStencil(int id0)
          Reverse the stencil.
 void setStencil(vtkImageStencilData id0)
          Use a stencil to specify which voxels to accumulate.
protected  void VTKCastInit()
           
 void VTKInit()
           
 
Methods inherited from class vtk.vtkImageToImageFilter
bypassOff, bypassOn, getBypass, getInput, getInputMemoryLimit, getNumberOfThreads, getNumberOfThreadsMaxValue, getNumberOfThreadsMinValue, getThisImageToImageFilter, setBypass, setInput, setInputMemoryLimit, setNumberOfThreads, splitExtent, threadedExecute
 
Methods inherited from class vtk.vtkImageSource
getOutput, getOutput, 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, 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

vtkImageAccumulate

public vtkImageAccumulate()

vtkImageAccumulate

protected vtkImageAccumulate(int dmy)
Method Detail

getThisImageAccumulate

public vtkImageAccumulate getThisImageAccumulate()

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 vtkImageToImageFilter

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 vtkImageToImageFilter

setComponentSpacing

public void setComponentSpacing(double id0,
                                double id1,
                                double id2)
Set/Get - The component spacing is the dimension of each bin. This ends up being the spacing of the output "image". If the number of input scalar components are less than three, then some of these spacing values are ignored. For a 1D histogram with 10 bins spanning the values 1000 to 2000, this spacing should be set to 100, 0, 0


setComponentSpacing

public void setComponentSpacing(double[] id0)
Set/Get - The component spacing is the dimension of each bin. This ends up being the spacing of the output "image". If the number of input scalar components are less than three, then some of these spacing values are ignored. For a 1D histogram with 10 bins spanning the values 1000 to 2000, this spacing should be set to 100, 0, 0


getComponentSpacing

public double[] getComponentSpacing()
Set/Get - The component spacing is the dimension of each bin. This ends up being the spacing of the output "image". If the number of input scalar components are less than three, then some of these spacing values are ignored. For a 1D histogram with 10 bins spanning the values 1000 to 2000, this spacing should be set to 100, 0, 0


setComponentOrigin

public void setComponentOrigin(double id0,
                               double id1,
                               double id2)
Set/Get - The component origin is the location of bin (0, 0, 0). Note that if the Component extent does not include the value (0,0,0), then this origin bin will not actually be in the output. The origin of the output ends up being the same as the componenet origin. For a 1D histogram with 10 bins spanning the values 1000 to 2000, this origin should be set to 1000, 0, 0


setComponentOrigin

public void setComponentOrigin(double[] id0)
Set/Get - The component origin is the location of bin (0, 0, 0). Note that if the Component extent does not include the value (0,0,0), then this origin bin will not actually be in the output. The origin of the output ends up being the same as the componenet origin. For a 1D histogram with 10 bins spanning the values 1000 to 2000, this origin should be set to 1000, 0, 0


getComponentOrigin

public double[] getComponentOrigin()
Set/Get - The component origin is the location of bin (0, 0, 0). Note that if the Component extent does not include the value (0,0,0), then this origin bin will not actually be in the output. The origin of the output ends up being the same as the componenet origin. For a 1D histogram with 10 bins spanning the values 1000 to 2000, this origin should be set to 1000, 0, 0


setComponentExtent

public void setComponentExtent(int[] id0)
Set/Get - The component extent sets the number/extent of the bins. For a 1D histogram with 10 bins spanning the values 1000 to 2000, this extent should be set to 0, 9, 0, 0, 0, 0. The extent specifies inclusive min/max values. This implies the the top extent should be set to the number of bins - 1.


setComponentExtent

public void setComponentExtent(int id0,
                               int id1,
                               int id2,
                               int id3,
                               int id4,
                               int id5)
Set/Get - The component extent sets the number/extent of the bins. For a 1D histogram with 10 bins spanning the values 1000 to 2000, this extent should be set to 0, 9, 0, 0, 0, 0. The extent specifies inclusive min/max values. This implies the the top extent should be set to the number of bins - 1.


getComponentExtent

public void getComponentExtent(int[] id0)
Set/Get - The component extent sets the number/extent of the bins. For a 1D histogram with 10 bins spanning the values 1000 to 2000, this extent should be set to 0, 9, 0, 0, 0, 0. The extent specifies inclusive min/max values. This implies the the top extent should be set to the number of bins - 1.


getComponentExtent

public int[] getComponentExtent()
Use a stencil to specify which voxels to accumulate.


setStencil

public void setStencil(vtkImageStencilData id0)
Use a stencil to specify which voxels to accumulate.


getStencil

public vtkImageStencilData getStencil()
Use a stencil to specify which voxels to accumulate.


setReverseStencil

public void setReverseStencil(int id0)
Reverse the stencil.


reverseStencilOn

public void reverseStencilOn()
Reverse the stencil.


reverseStencilOff

public void reverseStencilOff()
Reverse the stencil.


getReverseStencil

public int getReverseStencil()
Reverse the stencil.


getMin

public double[] getMin()
Get the statistics information for the data.


getMax

public double[] getMax()
Get the statistics information for the data.


getMean

public double[] getMean()
Get the statistics information for the data.


getStandardDeviation

public double[] getStandardDeviation()
Get the statistics information for the data.


getVoxelCount

public int getVoxelCount()
Get the statistics information for the data.


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.