public class Quantization_float extends QuantumStrategy
DECILE, MAX, MIN, pixels, qDef, valueMapper| Constructor and Description | 
|---|
Quantization_float(QuantumDef qd,
                  Pixels pixels)
Creates a new strategy. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected void | 
onWindowChange()
The input window size changed, re-map the values. 
 | 
int | 
quantize(double value)
Implemented as specified in  
QuantumStrategy. | 
getCurveCoefficient, getFamily, getGlobalMax, getGlobalMin, getMiddleRange, getNoiseReduction, getOriginalGlobalMax, getOriginalGlobalMin, getPixelsTypeMax, getPixelsTypeMin, getWindowEnd, getWindowStart, setExtent, setMap, setMapping, setQuantizationMap, setWindowpublic Quantization_float(QuantumDef qd, Pixels pixels)
qd - Quantum definition object, contained mapping data.pixels - The pixelsprotected void onWindowChange()
onWindowChange in class QuantumStrategypublic int quantize(double value)
             throws QuantizationException
QuantumStrategy.quantize in class QuantumStrategyvalue - The pixel intensity value.QuantizationException - If the specified value is not in the interval [globalMin,
             globalMax].QuantumStrategy.quantize(double)
                
                
Version: 5.2.3-ice35-b22
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.