Module geogrid::util
[−]
[src]
Structs
Device |
Dummy unused class to compile when ocl is not available. |
Enums
Processor |
Functions
l1dist_transform |
Compute L1 distance transform of t matrix with given dimensions. Output is linearized matrix of same size as grid. |
lat_lon |
Compute the length in meters of one degree latitude and longitude at given latitude degree. |
mat_to_img |
Write given 2D numerical matrix to a scaled grayscale image at requested path. Clip specifies lower, upper bounds of values that will be clipped to black/white. |
match_shape |
Match provided mask matrix on provided distance transform matrix. dt and mask matrices are read from in parallel. Return score of match at each square. |
node_bounds |
Find the bounds over an iterator of nodes. |
roads_from_json |
Return vector of vector of nodes where each vector represents the nodes defined on that road. If bounds given, only return coordinates within bounds. |