VolumeJ
Class VJClassifierLinear

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

public class VJClassifierLinear
extends VJClassifierLevoy

This class implements a linear ramp classification function with indexing. 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
VJClassifierLinear()
           
 
Method Summary
protected  double opacityCompute(double dfxi, double intensity)
          Simple ramp classification function Overloads same function in VJClassifierLevoy.
 
Methods inherited from class VolumeJ.VJClassifierLevoy
alphacolor, alphacolor, defaultLUT, does, doesCutouts, doesIndex, getThreshold, hasLUT, opacityCompute, setLUT, setThreshold, setupOpacities, setWidth, toLongString, toString, 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

VJClassifierLinear

public VJClassifierLinear()
Method Detail

opacityCompute

protected double opacityCompute(double dfxi,
                                double intensity)
Simple ramp classification function Overloads same function in VJClassifierLevoy.
Parameters:
dfxi - magnitude
intensity - of the voxel value.
Returns:
opacity, a double [0-1]