spinalcordtoolbox / disc-labeling-hourglass

Labeling of intervertebral discs using the Hourglass deep learning architecture.
GNU Lesser General Public License v2.1
1 stars 0 forks source link

Post processing rotations `np.rot90(img)` #3

Closed NathanMolinier closed 1 year ago

NathanMolinier commented 1 year ago

Description

Post processing steps are over loaded with numpy rotations, it is very hard to understand why these operations are needed and how to retrieve the original image position.

Capture d’écran 2023-03-21 à 18 42 20

Solution

Comments need to be added to the post-processing steps and some rotations may need to be suppressed

NathanMolinier commented 1 year ago

New comments and clarifications were added with this commit https://github.com/spinalcordtoolbox/disc-labeling-hourglass/commit/38bef13b2fc295459281a2ff4c88d159df482b09

NathanMolinier commented 1 year ago

The orientation of the images is not handled correctly even for the training.

NathanMolinier commented 1 year ago

Solved in https://github.com/spinalcordtoolbox/disc-labeling-hourglass/pull/15