organoid_tracker.imaging.depth_colored_image_creator module

organoid_tracker.imaging.depth_colored_image_creator.create_image(image: ndarray, *, background_rgba: Tuple[int, int, int, int] = (0, 0, 0, 255), color_map_name: str = 'Spectral') ndarray

Creates a 2D image (float32, [y, x, RGBA]) by giving each xy later in the 3D image another color.

background_rgba is the background RGBA color, for example (255, 0, 0, 255) for bright red. color_map_name is the Matplotlib colormap used for drawing.

organoid_tracker.imaging.depth_colored_image_creator.create_movie(images: Images, channel: ImageChannel) ndarray

Creates a movie of 2D images (float32, [time, y, x, RGB]) similar to create_image, but for every time point.