Functions
jsk_recognition_utils.visualize Namespace Reference

Functions

def _tile_images (imgs, tile_shape, concatenated_image, margin_color=None)
 
def centerize (src, dst_shape, margin_color=None)
 
def colorize_cluster_indices (image, cluster_indices, alpha=0.3, image_alpha=1)
 
def get_tile_image (imgs, tile_shape=None, result_img=None, margin_color=None)
 

Function Documentation

def jsk_recognition_utils.visualize._tile_images (   imgs,
  tile_shape,
  concatenated_image,
  margin_color = None 
)
private
Concatenate images whose sizes are same.

@param imgs: image list which should be concatenated
@param tile_shape: shape for which images should be concatenated
@param concatenated_image: returned image. if it is None, new image will be created.

Definition at line 34 of file visualize.py.

def jsk_recognition_utils.visualize.centerize (   src,
  dst_shape,
  margin_color = None 
)
Centerize image for specified image size

@param src: image to centerize
@param dst_shape: image shape (height, width) or (height, width, channel)

Definition at line 12 of file visualize.py.

def jsk_recognition_utils.visualize.colorize_cluster_indices (   image,
  cluster_indices,
  alpha = 0.3,
  image_alpha = 1 
)

Definition at line 96 of file visualize.py.

def jsk_recognition_utils.visualize.get_tile_image (   imgs,
  tile_shape = None,
  result_img = None,
  margin_color = None 
)
Concatenate images whose sizes are different.

@param imgs: image list which should be concatenated
@param tile_shape: shape for which images should be concatenated
@param result_img: numpy array to put result image

Definition at line 59 of file visualize.py.



jsk_recognition_utils
Author(s):
autogenerated on Mon May 3 2021 03:03:03