public class ChamferMask3DW4 extends ChamferMask3D
ChamferMask3DW3,
ChamferMask3DW3FloatChamferMask3D.FloatOffset, ChamferMask3D.ShortOffsetBORGEFORS, CHESSBOARD, CITY_BLOCK, QUASI_EUCLIDEAN, SVENSSON_3_4_5_7| Constructor and Description |
|---|
ChamferMask3DW4(int a,
int b,
int c,
int e)
Creates a new ChamferWeights3D object by specifying the four weights
associated to the four different kind of offsets.
|
ChamferMask3DW4(short[] weights)
Creates a new ChamferWeights3D object by specifying the four weights
associated to the four different kind of offsets.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<ChamferMask3D.ShortOffset> |
getBackwardOffsets() |
Collection<ChamferMask3D.ShortOffset> |
getForwardOffsets() |
short |
getShortNormalizationWeight() |
fromWeights, fromWeights, fromWeights, getBackwardFloatOffsets, getFloatOffsets, getForwardFloatOffsets, getNormalizationWeight, getOffsetspublic ChamferMask3DW4(int a,
int b,
int c,
int e)
a - the weight associated to orthogonal neighborsb - the weight associated to square-diagonal neighborsc - the weight associated to cube-diagonal neighborse - the weight associated to (1,1,2) vectors and its permutations and symmetriespublic ChamferMask3DW4(short[] weights)
weights - the weight associated to the four different kind of offsets.public 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.