This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
wget1 = "wget http://kitti.is.tue.mpg.de/kitti/raw_data/2011_09_26_drive_" | |
unzip1 = "unzip " | |
del1 = "rm " | |
dash = "/" | |
cmd2 = "2011_09_26_drive_" | |
cmd3 = "_sync.zip" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i | |
mport numpy as np | |
# http://ronny.rest/tutorials/module/pointclouds_01/point_cloud_birdseye/ | |
# ============================================================================== | |
# SCALE_TO_255 | |
# ============================================================================== | |
def scale_to_255(a, min, max, dtype=np.uint8): | |
""" Scales an array of values from specified min, max range to 0-255 | |
Optionally specify the data type of the output (default is uint8) |
NewerOlder