delta.utilities.deskew¶
- delta.utilities.deskew(image: ndarray[Any, dtype[float32]]) float¶
Compute the rotation angle to apply to the image to remove its rotation. You can skip rotation correction if your chambers are about +/- 1 degrees of horizontal.
- Parameters
- image2D numpy array
Input image.
- Returns
- anglefloat
Rotation angle of the chambers for correction, in degrees.