Module gwy :: Class DistanceTransformType
[hide private]
[frames] | no frames]

Class DistanceTransformType

source code

Type of distance transform.


Since: 2.41

Note: All the enumerated values are defined at the module level, not the class level. The are just groupped by class here for easier orientation.

Class Variables [hide private]
  DISTANCE_TRANSFORM_CHESS
Chessboard distance (maximum of horizontal and vertical distance).
  DISTANCE_TRANSFORM_CITYBLOCK
City-block distance (sum of horizontal and vertical distances).
  DISTANCE_TRANSFORM_CONN4
Four-connectivity distance; another name for city-block distance.
  DISTANCE_TRANSFORM_CONN8
Eight-connectivity distance; another name for chessboard distance.
  DISTANCE_TRANSFORM_EUCLIDEAN
True Euclidean distance (Since 2.43).
  DISTANCE_TRANSFORM_OCTAGONAL
Average octagonal distance, i.e.
  DISTANCE_TRANSFORM_OCTAGONAL48
Octagonal distance beginning from city-block.
  DISTANCE_TRANSFORM_OCTAGONAL84
Octagonal distance beginning from chess.
Class Variable Details [hide private]

DISTANCE_TRANSFORM_OCTAGONAL

Average octagonal distance, i.e. the mean of the 48 and 84 distances (Since 2.43).