public class ChamferMask2DW3 extends ChamferMask2D
ChamferMask2D.FloatOffset, ChamferMask2D.ShortOffsetBORGEFORS, CHESSBOARD, CHESSKNIGHT, CITY_BLOCK, QUASI_EUCLIDEAN, VERWER| Constructor and Description |
|---|
ChamferMask2DW3(int a,
int b,
int c)
Creates a new ChamferWeights2DW3 object by specifying the weights
associated to orthogonal and diagonal neighbors.
|
ChamferMask2DW3(short[] weights)
Creates a new ChamferMask3D object by specifying the weights
associated to orthogonal and diagonal neighbors.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ChamferMask2D.ShortOffset> |
getBackwardOffsets() |
Collection<ChamferMask2D.ShortOffset> |
getForwardOffsets() |
short |
getShortNormalizationWeight() |
fromWeights, fromWeights, fromWeights, getBackwardFloatOffsets, getFloatOffsets, getForwardFloatOffsets, getNormalizationWeight, getOffsetspublic ChamferMask2DW3(int a,
int b,
int c)
a - the weight associated to orthogonal neighborsb - the weight associated to diagonal neighborsc - the weight associated to chess-knight move neighborspublic ChamferMask2DW3(short[] weights)
weights - the weights associated to the different types of offsetpublic Collection<ChamferMask2D.ShortOffset> getForwardOffsets()
getForwardOffsets in class ChamferMask2Dpublic Collection<ChamferMask2D.ShortOffset> getBackwardOffsets()
getBackwardOffsets in class ChamferMask2Dpublic short getShortNormalizationWeight()
getShortNormalizationWeight in class ChamferMask2DCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.