Skip to content

[DIP] rotate2d operation may change picture size. #158

@taiqzheng

Description

@taiqzheng

Describe the bug
Image size change after rotation.

  • input shape [1026, 1026]
  • output shape [1028, 1028]

To Reproduce
After compiling the image-processing-rotate-benchmark benchmark. (rotate2d PR)
RUN:
./image-processing-rotate-benchmark ../../benchmarks/ImageProcessing/Images/YuTu.png RADIAN 1.57

Expected behavior
An output image with [1026, 1026].

Additional context
For comparing the similarity of Buddy & OpenCV rotation image, we need their result image with the same size.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DIPbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions