|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectomeis.providers.re.metadata.StatsFactory
public class StatsFactory
Computes two types of statistics: The PixelsStats and the location stats. The location stats determine the location of the pixels' values in order to set the inputWindow and the noiseReduction flag. This flag will then be used when we map the pixels intensity values onto the device space.
Constructor Summary | |
---|---|
StatsFactory()
|
Method Summary | |
---|---|
void |
computeLocationStats(ome.model.core.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. |
boolean |
isNoiseReduction()
Returns true if the flag is on, false
otherwise. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StatsFactory()
Method Detail |
---|
public void computeLocationStats(ome.model.core.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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: 4.3.3-00d1137e-b2894
Copyright © 2009 The University of Dundee. All Rights Reserved.