public class ChamferMask3DW5 extends ChamferMask3D
ChamferMask3DW3,
ChamferMask3DW3FloatChamferMask3D.FloatOffset, ChamferMask3D.ShortOffsetBORGEFORS, CHESSBOARD, CITY_BLOCK, QUASI_EUCLIDEAN, SVENSSON_3_4_5_7| Constructor and Description |
|---|
ChamferMask3DW5(int a,
int b,
int c,
int d,
int e)
Creates a new ChamferWeights3D object by specifying the four weights
associated to the four different kind of offsets.
|
ChamferMask3DW5(short[] weights)
Creates a new ChamferMask3D object by specifying the weights
associated to orthogonal and diagonal neighbors.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ChamferMask3D.ShortOffset> |
getBackwardOffsets() |
Collection<ChamferMask3D.ShortOffset> |
getForwardOffsets() |
short |
getShortNormalizationWeight() |
fromWeights, fromWeights, fromWeights, getBackwardFloatOffsets, getFloatOffsets, getForwardFloatOffsets, getNormalizationWeight, getOffsetspublic ChamferMask3DW5(int a,
int b,
int c,
int d,
int e)
a - the weight associated to orthogonal neighborsb - the weight associated to square-diagonal neighborsc - the weight associated to cube-diagonal neighborsd - the weight associated to permutations of (2, 1, 0)e - the weight associated to permutations of (2, 1, 1)public ChamferMask3DW5(short[] weights)
weights - the weights associated to the different types of offsetpublic Collection<ChamferMask3D.ShortOffset> getForwardOffsets()
getForwardOffsets in class ChamferMask3Dpublic Collection<ChamferMask3D.ShortOffset> getBackwardOffsets()
getBackwardOffsets in class ChamferMask3Dpublic short getShortNormalizationWeight()
getShortNormalizationWeight in class ChamferMask3DCopyright © 2014–2023 INRA-IJPB Modeling and Digital Imaging lab. All rights reserved.