get_object_imgs
- MPPData.get_object_imgs(data='mpp', channel_ids=None, annotation_kwargs=None, **kwargs)[source]
Return images for each obj_id in current data.
- Parameters
data (
str) – Key inMPPData.data()that should be plotted on the image.channel_ids (
Optional[Iterable[int]]) – Only if key == ‘mpp’. Channels that the image should have. If None, all channels are returned.annotation_kwargs (
Optional[Mapping[str,Any]]) – Arguments forcampa.pl.annotate_img()(annotation,to_col,color). Use this to plot clusterings on cells with custom colormaps.img_size – Size of returned image. If None, images have minimal required size to fit all information. If None, offset information is returned by this function.
pad – Amount of padding added to returned image (only used when
img_sizeis None).
- Return type
list of images.