nabu.misc.rotation_cuda module¶
- class nabu.misc.rotation_cuda.CudaRotation(shape, angle, center=None, mode='edge', reshape=False, cuda_options=None, **sk_kwargs)[source]¶
Bases:
Rotation
Initiate a Rotation object.
- Parameters:
shape (tuple of int) – Shape of the images to process
angle (float) – Rotation angle in DEGREES
center (tuple of float, optional) – Coordinates of the center of rotation, in the format (X, Y) (mind the non-python convention !). Default is ((Nx - 1)/2.0, (Ny - 1)/2.0)
mode (str, optional) – Padding mode. Default is “edge”.
reshape (bool, optional) –
function (All the other parameters are passed directly to scikit image 'rotate') –
order –
cval –
clip –
preserve_range. –