navigate.model.features.volume_search.draw_box
- navigate.model.features.volume_search.draw_box(img, xl, yl, xu, yu, fill=65535)
Draw a box on an image
- Parameters:
img (np.ndarray) – Image to draw on
xl (int) – Lower x coordinate
yl (int) – Lower y coordinate
xu (int) – Upper x coordinate
yu (int) – Upper y coordinate
fill (int) – Value to fill box with
- Returns:
Image with box drawn
- Return type:
np.ndarray