RotatedRectangularROI

class caqtus.types.image.roi.RotatedRectangularROI(
original_image_size: tuple[Width, Height],
center_x,
center_y,
width,
height,
angle,
)

Bases: ROI

get_mask() ndarray

A boolean array with the same shape as the original image.

True values indicate that the pixel is part of the region of interest.

get_indices() tuple[Iterable[int], Iterable[int]]

Return the indices of the pixels in the ROI.