BitGrid2d.DistanceTranform Method
Computes the distance transform for this bitgrid, that is a float matrix, where each element is the distance to the closest
set bit/pixel. If rescaleMaxVal is not 0.0, the values are rescaled to be be in range 0.0-rescaleMaxVal.
Public Function DistanceTranform( _
Optional ByVal rescaleMaxVal As Single = 0.0f _
) As Single(,)
This language is not supported or no code example is available.
public float[,] DistanceTranform(
float rescaleMaxVal = 0.0f
)
This language is not supported or no code example is available.
public:
array< float, 2 >^ DistanceTranform(
float rescaleMaxVal
)
This language is not supported or no code example is available.
public function DistanceTranform(
rescaleMaxVal : float
) : float[,];
This language is not supported or no code example is available.
Parameters
-
rescaleMaxVal
-
float
Return Value
float[,]
.NET Framework
Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8