Skip to content

[BUG] "Check orientation" button in napari not consistent with registration results for hemisphere #200

@pderdeyn

Description

@pderdeyn

Describe the bug
Orientation doesn't seem to be consistent between the "Check orientation" button in napari brainreg plugin versus when running the registration. The "left-right" lateral direction seems to be flipped between the two for my useage. Note that I am using a single hemisphere

To Reproduce
I have one hemisphere of an imaged brain to align with an atlas. Using the check orientation button in napari's brain reg plugin, I find that my data orientation should be lpi for a brain geometry of Left hemisphere (screenshot 1). However, when I run this hemisphere through brain reg, I find that the atlas is actually the incorrect lateral orientation and left and right need to be flipped (screenshot 2). I'm able to fix my brain my switching to rpi (screenshot 4), even though the "check orientation" results don't look correct anymore (screenshot 3).

Expected behaviour
Registration should occur with the correct orientation if the "Check orientation" results look good

Screenshots

"Check orientation" results for lpi
image

Registration results for lpi
image

"Check orientation" results for rpi
image

Registration results for rpi
image

Computer used (please complete the following information):

  • OS: Windows
  • Version: Windows 11, Version 23H2
  • Hardware specs: 32 GB RAM.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions