public class RoiStatistics extends Object
Modifier and Type | Class and Description |
---|---|
protected static interface |
RoiStatistics.Accessor |
protected static interface |
RoiStatistics.Accumulator |
protected static class |
RoiStatistics.ByteAccessor |
protected static class |
RoiStatistics.FloatAccessor |
protected class |
RoiStatistics.GenericAccumulator |
static interface |
RoiStatistics.PixelHandler |
protected class |
RoiStatistics.RectangleAccumulator |
protected static class |
RoiStatistics.RGBAccessor |
protected static class |
RoiStatistics.ShortAccessor |
Modifier and Type | Field and Description |
---|---|
protected RoiStatistics.Accumulator |
accumulator |
protected int |
count |
protected float |
cumulative |
protected float |
cumulativeX |
protected float |
cumulativeY |
protected float |
max |
protected float |
min |
Constructor and Description |
---|
RoiStatistics(Roi roi) |
Modifier and Type | Method and Description |
---|---|
protected void |
accumulate(RoiStatistics.Accessor accessor) |
protected RoiStatistics.Accessor |
getAccessor(ij.process.ImageProcessor ip) |
float |
getAverage() |
float |
getAverage(ij.process.ImageProcessor ip) |
float |
getCentroidX() |
float |
getCentroidY() |
int |
getCount() |
float |
getCumulative() |
float |
getMax() |
float |
getMin() |
void |
init(ij.process.ImageProcessor ip) |
void |
iterate(ij.process.ImageProcessor ip,
RoiStatistics.PixelHandler handler) |
protected int count
protected float cumulative
protected float cumulativeX
protected float cumulativeY
protected float min
protected float max
protected final RoiStatistics.Accumulator accumulator
public RoiStatistics(Roi roi)
public void init(ij.process.ImageProcessor ip)
protected RoiStatistics.Accessor getAccessor(ij.process.ImageProcessor ip)
public void iterate(ij.process.ImageProcessor ip, RoiStatistics.PixelHandler handler)
protected void accumulate(RoiStatistics.Accessor accessor)
public int getCount()
public float getCumulative()
public float getAverage()
public float getCentroidX()
public float getCentroidY()
public float getAverage(ij.process.ImageProcessor ip)
public float getMin()
public float getMax()
Copyright © 2015–2021 Fiji. All rights reserved.