public interface BinMapper1d<T>
Modifier and Type | Method and Description |
---|---|
BinMapper1d<T> |
copy()
Returns a copy of this
BinMapper1d<T> . |
long |
getBinCount()
Returns the number of bins within this bin mapping distribution.
|
void |
getCenterValue(long binPos,
T value)
Gets the data value associated with the center of a bin.
|
void |
getLowerBound(long binPos,
T value)
Gets the data value associated with the left edge of a bin.
|
void |
getUpperBound(long binPos,
T value)
Gets the data value associated with the right edge of a bin.
|
boolean |
hasTails()
Returns true if this bin mapping has bins on the ends of the distribution
that count out of bounds values.
|
boolean |
includesLowerBound(long binPos)
Returns true if values matching the left edge data value for a given bin
are counted in the distribution.
|
boolean |
includesUpperBound(long binPos)
Returns true if values matching the right edge data value for a given bin
are counted in the distribution.
|
long |
map(T value)
Converts a data value to a long index within the bin distribution.
|
boolean hasTails()
long getBinCount()
long map(T value)
void getCenterValue(long binPos, T value)
binPos
- value
- Output to contain center data valuevoid getLowerBound(long binPos, T value)
binPos
- Bin number of interestvalue
- Output to contain left edge data valuevoid getUpperBound(long binPos, T value)
binPos
- Bin number of interestvalue
- Output to contain right edge data valueboolean includesUpperBound(long binPos)
binPos
- Bin number of interestboolean includesLowerBound(long binPos)
binPos
- Bin number of interestBinMapper1d<T> copy()
BinMapper1d<T>
.Copyright © 2015–2022 ImgLib2. All rights reserved.