VolumeJ
Class VJClassifierLevoyCueing

java.lang.Object
  |
  +--VolumeJ.VJClassifier
        |
        +--VolumeJ.VJClassifierLevoy
              |
              +--VolumeJ.VJClassifierLevoyCueing

public class VJClassifierLevoyCueing
extends VJClassifierLevoy

This class implements the Levoy tent classification function with depth cueing and indexing. class name VJClassifierLevoyDepthCueing is not supported on Mac VJM.

See Also:
Copyright (c) 1999-2002, Michael Abramoff. All rights reserved.

Fields inherited from class VolumeJ.VJClassifierLevoy
fractionMagnitude, lut, maskIndex, maskIntensity, maskMagnitude, maxIntensity, nrIndexBits, nrIntensityBits, nrMagnitudeBits, opacityTable, threshold, width
 
Fields inherited from class VolumeJ.VJClassifier
description, GRAYSCALE, RGB, secondaryClassifier
 
Constructor Summary
VJClassifierLevoyCueing()
          Default instantiation.
 
Method Summary
 VJAlphaColor alphacolor(VJValue v, VJGradient g)
          Classify the (interpolated) voxel value and gradient magnitude into a alpha and rgb-value.
 java.lang.String toLongString()
          This method can be overloaded as necessary
 java.lang.String toString()
          Tell calling program name of this classifier.
 
Methods inherited from class VolumeJ.VJClassifierLevoy
alphacolor, defaultLUT, does, doesCutouts, doesIndex, getThreshold, hasLUT, opacityCompute, setLUT, setThreshold, setupOpacities, setWidth, visible
 
Methods inherited from class VolumeJ.VJClassifier
getSecondaryClassifier, setSecondaryClassifier, trace
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VJClassifierLevoyCueing

public VJClassifierLevoyCueing()
Default instantiation.
Method Detail

toString

public java.lang.String toString()
Description copied from class: VJClassifierLevoy
Tell calling program name of this classifier.
Overrides:
toString in class VJClassifierLevoy

toLongString

public java.lang.String toLongString()
Description copied from class: VJClassifier
This method can be overloaded as necessary
Overrides:
toLongString in class VJClassifierLevoy

alphacolor

public VJAlphaColor alphacolor(VJValue v,
                               VJGradient g)
Classify the (interpolated) voxel value and gradient magnitude into a alpha and rgb-value. If the voxel is RGB, use the hue and saturation of the voxel, and set the opacity from the opacity table.
Overrides:
alphacolor in class VJClassifierLevoy
Parameters:
v - the VJValue, the interpolated value at this location.
g - the gradient at this location
Returns:
a VJAlphaColor with the classified voxel.