Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • L Lima
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 49
    • Issues 49
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LimaGroupLimaGroup
  • Lima
  • Merge requests
  • !184

Add missing SwapDimIfRotated in CtSwBinRoiFlip::getSize()

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Samuel Debionne requested to merge fix-ct-image-sw-get-size into master Oct 02, 2020
  • Overview 7
  • Commits 1
  • Pipelines 2
  • Changes 2

Fix a corner case where, given a rotation set to 90/270, setting a full image RoI (equivalent to empty RoI) and subsequently querying the RoI would return a different value.

With image.size = [200, 100], pseudo Bliss code:

image.rotation = 90
image.roi = [0, 0, 100, 200] # Full image RoI
assert image.roi == [0, 0, 100, 200] # FAILED [0, 0, 100, 200] != [0, 0, 200, 100]
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: fix-ct-image-sw-get-size