public class StatsFactory extends Object
Constructor and Description |
---|
StatsFactory() |
Modifier and Type | Method and Description |
---|---|
void |
computeLocationStats(Pixels metadata,
PixelBuffer pixelsData,
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(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(Pixels metadata)
metadata
- The pixels to handle.public void computeLocationStats(Pixels metadata, PixelBuffer pixelsData, 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()
Version: 5.3.3-ice35-b63
Copyright © 2017 The University of Dundee & Open Microscopy Environment. All Rights Reserved.