Skip to content

Radians instead of degrees in np.sin() and np.cos()? #103

@lifangda01

Description

@lifangda01

valis/valis/serial_rigid.py

Lines 494 to 496 in aa8368c

# Get dimensions if images were rotated 45 degrees or 90 degrees
max_new_w = out_w*np.cos(45) + out_h*np.sin(45)
max_new_h = out_w*np.sin(45) + out_h*np.cos(45)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions