public class QuantumFactory extends Object
QuantumMap
 within a quantization context. It also defines the constants to be used to
 define the bit depth of the quantized output interval.| Modifier and Type | Field and Description | 
|---|---|
| static int | DEPTH_1BITFlag to select a 1-bit depth (=2^1-1) output interval. | 
| static int | DEPTH_2BITFlag to select a 2-bit depth (=2^2-1) output interval. | 
| static int | DEPTH_3BITFlag to select a 3-bit depth (=2^3-1) output interval. | 
| static int | DEPTH_4BITFlag to select a 4-bit depth (=2^4-1) output interval. | 
| static int | DEPTH_5BITFlag to select a 5-bit depth (=2^5-1) output interval. | 
| static int | DEPTH_6BITFlag to select a 6-bit depth (=2^6-1) output interval. | 
| static int | DEPTH_7BITFlag to select a 7-bit depth (=2^7-1) output interval. | 
| static int | DEPTH_8BITFlag to select a 8-bit depth (=2^8-1) output interval. | 
| static String | EXPONENTIALFlag to select a exponential map for the quantization process. | 
| static String | LINEARFlag to select a linear map for the quantization process. | 
| static String | LOGARITHMICFlag to select a logarithmic map for the quantization process. | 
| static boolean | NOISE_REDUCTIONDefault value. | 
| static String | POLYNOMIALFlag to select a polynomial map for the quantization process. | 
| Constructor and Description | 
|---|
| QuantumFactory(List<Family> families)Default constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| Family | getFamily(String value)Helper method to retrieve a Family enumeration from the database. | 
| QuantumStrategy | getStrategy(QuantumDef qd,
           Pixels pixels)Returns a strategy to carry out the quantization process whose context is
 defined by  pd. | 
public static final int DEPTH_1BIT
public static final int DEPTH_2BIT
public static final int DEPTH_3BIT
public static final int DEPTH_4BIT
public static final int DEPTH_5BIT
public static final int DEPTH_6BIT
public static final int DEPTH_7BIT
public static final int DEPTH_8BIT
public static final String LINEAR
public static final String EXPONENTIAL
context.public static final String LOGARITHMIC
public static final String POLYNOMIAL
context. Note that LINEAR is a special
 case of polynomial (k = 1). We keep the LINEAR constant
 for some UI reason but we apply the same algorithm.public static final boolean NOISE_REDUCTION
public Family getFamily(String value)
value - The enumeration value.public QuantumStrategy getStrategy(QuantumDef qd, Pixels pixels)
pd.qd - Defines the quantization context. Mustn't be null
            and its values must have been properly specified.pixels - The pixels to handle.QuantumStrategy suitable for the specified context.
                
                
Version: 5.2.1-ice35-b15
Copyright © 2015 The University of Dundee & Open Microscopy Environment. All Rights Reserved.