jammy.image package¶
Submodules¶
jammy.image.backend module¶
jammy.image.codecs module¶
- jammy.image.codecs.imdecode(data, *, require_chl3=True, require_alpha=False)[source]¶
Decode images in common formats (jpg, png, etc.).
- Args:
data (bytes): encoded image data require_chl3: whether to convert gray image to 3-channel BGR image require_alpha: whether to add alpha channel to BGR image
Returns: uint8 color image array
jammy.image.imgio module¶
- jammy.image.imgio.nd2pil(image)¶
- jammy.image.imgio.ndimgs_in_row(list_x, n, dpi=128, img_size=400)[source]¶
args: list_x: list of elements that imshow can display n: number of the element in a row
- jammy.image.imgio.pil2nd(image, require_chl3=True)¶