Abe404 / RootPainter3D

RootPainter3D: Interactive-machine-learning enables rapid and accurate contouring for radiotherapy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stop making strange transforms when loading images

Abe404 opened this issue · comments

See:

image = np.rot90(image, k=3)

Consider instead working with the data in the original format.

image = np.rot90(image, k=3)

This has been addressed in ec8bc63 in the trainer code.

It's commit on a different branch. I will close this issue once it is merged into master and it has been tested (including with the client, and the necessary modifications made in the client).

Fixed but things looks a bit different in the client. I will address that as a separate issue. I think we need to look at using the affine translation matrix to change how the images appear.