Stoarr

Constructor

Stoarr

A Stoarr object is a numpy.ndarray with adapted method for spatial matrix

Reshaping

Stoarr.rotation([angle, contour_slice])

rotate the object clockwise

Stoarr.padding([pad])

Padding empty pixels around the object

Stoarr.contour_slice([transfer_to])

Slice the object with nearest contour box

Combing

Stoarr.concat(other[, cols, dis])

Concat multiple objects into a single one

Label manipulation

Stoarr.alpha_shape([alpha])

Compute the alpha shape (concave hull) around the object

Stoarr.find_boundaries([mode])

Compute the boundaries of the object.

Conversion / IO

Stoarr.to_triplet([name])

Convert the object to triplet structure

Plotting

Stoarr.plot([annotation, highlight, bg, ...])

Imaging the object