Variables
align-depth2color Namespace Reference

Variables

 align = rs.align(align_to)
 
 align_to = rs.stream.color
 
 aligned_depth_frame = aligned_frames.get_depth_frame()
 
 aligned_frames = align.process(frames)
 
 bg_removed = np.where((depth_image_3d > clipping_distance) | (depth_image_3d <= 0), grey_color, color_image)
 
 clipping_distance = clipping_distance_in_meters/depth_scale
 
int clipping_distance_in_meters = 1
 
 color_frame = aligned_frames.get_color_frame()
 
 color_image = np.asanyarray(color_frame.get_data())
 
 config = rs.config()
 
 depth_colormap = cv2.applyColorMap(cv2.convertScaleAbs(depth_image, alpha=0.03), cv2.COLORMAP_JET)
 
 depth_image = np.asanyarray(aligned_depth_frame.get_data())
 
 depth_image_3d = np.dstack((depth_image,depth_image,depth_image))
 
 depth_scale = depth_sensor.get_depth_scale()
 
 depth_sensor = profile.get_device().first_depth_sensor()
 
 device = pipeline_profile.get_device()
 
 device_product_line = str(device.get_info(rs.camera_info.product_line))
 
 frames = pipeline.wait_for_frames()
 
int grey_color = 153
 
 images = np.hstack((bg_removed, depth_colormap))
 
 key = cv2.waitKey(1)
 
 pipeline = rs.pipeline()
 
 pipeline_profile = config.resolve(pipeline_wrapper)
 
 pipeline_wrapper = rs.pipeline_wrapper(pipeline)
 
 profile = pipeline.start(config)
 

Variable Documentation

align-depth2color.align = rs.align(align_to)

Definition at line 52 of file align-depth2color.py.

align-depth2color.align_to = rs.stream.color

Definition at line 51 of file align-depth2color.py.

align-depth2color.aligned_depth_frame = aligned_frames.get_depth_frame()

Definition at line 65 of file align-depth2color.py.

align-depth2color.aligned_frames = align.process(frames)

Definition at line 62 of file align-depth2color.py.

align-depth2color.bg_removed = np.where((depth_image_3d > clipping_distance) | (depth_image_3d <= 0), grey_color, color_image)

Definition at line 78 of file align-depth2color.py.

align-depth2color.clipping_distance = clipping_distance_in_meters/depth_scale

Definition at line 46 of file align-depth2color.py.

int align-depth2color.clipping_distance_in_meters = 1

Definition at line 45 of file align-depth2color.py.

align-depth2color.color_frame = aligned_frames.get_color_frame()

Definition at line 66 of file align-depth2color.py.

align-depth2color.color_image = np.asanyarray(color_frame.get_data())

Definition at line 73 of file align-depth2color.py.

align-depth2color.config = rs.config()

Definition at line 20 of file align-depth2color.py.

align-depth2color.depth_colormap = cv2.applyColorMap(cv2.convertScaleAbs(depth_image, alpha=0.03), cv2.COLORMAP_JET)

Definition at line 83 of file align-depth2color.py.

align-depth2color.depth_image = np.asanyarray(aligned_depth_frame.get_data())

Definition at line 72 of file align-depth2color.py.

align-depth2color.depth_image_3d = np.dstack((depth_image,depth_image,depth_image))

Definition at line 77 of file align-depth2color.py.

align-depth2color.depth_scale = depth_sensor.get_depth_scale()

Definition at line 40 of file align-depth2color.py.

align-depth2color.depth_sensor = profile.get_device().first_depth_sensor()

Definition at line 39 of file align-depth2color.py.

align-depth2color.device = pipeline_profile.get_device()

Definition at line 25 of file align-depth2color.py.

align-depth2color.device_product_line = str(device.get_info(rs.camera_info.product_line))

Definition at line 26 of file align-depth2color.py.

align-depth2color.frames = pipeline.wait_for_frames()

Definition at line 58 of file align-depth2color.py.

int align-depth2color.grey_color = 153

Definition at line 76 of file align-depth2color.py.

align-depth2color.images = np.hstack((bg_removed, depth_colormap))

Definition at line 84 of file align-depth2color.py.

align-depth2color.key = cv2.waitKey(1)

Definition at line 88 of file align-depth2color.py.

align-depth2color.pipeline = rs.pipeline()

Definition at line 16 of file align-depth2color.py.

align-depth2color.pipeline_profile = config.resolve(pipeline_wrapper)

Definition at line 24 of file align-depth2color.py.

align-depth2color.pipeline_wrapper = rs.pipeline_wrapper(pipeline)

Definition at line 23 of file align-depth2color.py.

align-depth2color.profile = pipeline.start(config)

Definition at line 36 of file align-depth2color.py.



librealsense2
Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Sat Apr 3 2021 02:51:23