public class StatsFactory
extends java.lang.Object
Constructor and Description |
---|
StatsFactory() |
Modifier and Type | Method and Description |
---|---|
void |
computeLocationStats(ome.model.core.Pixels metadata,
ome.io.nio.PixelBuffer pixelsData,
omeis.providers.re.data.PlaneDef pd,
int index)
Helper object to determine the location of the pixels' values, the
inputWindow i.e.
|
double |
getInputEnd()
Returns the input end.
|
double |
getInputStart()
Returns the input start.
|
double[] |
getLocationStats()
Returns the statistics.
|
double[] |
initPixelsRange(ome.model.core.Pixels metadata)
Determines the minimum and maximum corresponding to the passed
pixels.
|
boolean |
isNoiseReduction()
Returns
true if the flag is on, false
otherwise. |
public double[] initPixelsRange(ome.model.core.Pixels metadata)
metadata
- The pixels to handle.public void computeLocationStats(ome.model.core.Pixels metadata, ome.io.nio.PixelBuffer pixelsData, omeis.providers.re.data.PlaneDef pd, int index)
inputStart
and inputEnd
and to initialize the noiseReduction
flag.metadata
- The pixels to parse.pixelsData
- The buffer.pd
- The plane to handle.index
- The channel index.PixMetadataException
public double[] getLocationStats()
public boolean isNoiseReduction()
true
if the flag is on, false
otherwise.public double getInputStart()
public double getInputEnd()