Skip to content

Rotating shape changes width and height of shape, why? #13

@DennisDannecker

Description

@DennisDannecker

Hello,

I am currently using the narapi-roi plugin to extract patches from images.

When I place the shapes, set width and height in the gui (typing in the numbers) and then rotate the shape (square or rectangle), it changes the width and height.
This I find confusing, a rotation should not affect the width and height of an object.
When I extract these rotated shapes, it produced weird arrays with black stripes at the site.
My intention is to only extract everything inside the blue outline of the shape.
Why would rotating the shape (I rotate by using the gui, handle-point on the shape) change the shapes width and height.
Is there a possibility to change this. I am somewhat depending on this, since I wish to properly orient and arrange my shapes within the image, this often requires rotating the shape.

Thank you very much for this helpful and convenient plugin.
Let me know if you need more information describing the issue I am having.

Thanks and best regards
Dennis

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