Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slicing reference file function seems not to work as expected #35

Open
SaibotMagd opened this issue Aug 10, 2020 · 0 comments
Open

Slicing reference file function seems not to work as expected #35

SaibotMagd opened this issue Aug 10, 2020 · 0 comments

Comments

@SaibotMagd
Copy link

SaibotMagd commented Aug 10, 2020

I have to slice and rotate the reference because of some quality issues regarding the dataset I'm using right now. But the max parameter of the slice-function for the reference file seems not to work in relation to a min parameter:

  annotation_file, reference_file, distance_file=ano.prepare_annotation_files(
      slicing=(slice(None),slice(None),slice(13,456)), orientation=(3,-2,1),
      overwrite=False, verbose=True);

grafik
It is identical to:
grafik

also:
grafik
is identical to:
grafik

In the tutorial pipeline they also used the max-parameter in z-direction and it works, so I think it could have something to do with the rotation. What I found out till now is that the function does the slicing firsthand and the rotation of axes afterward. Could this also lead to some other problems like my distortion issue when I try to align to the reference file? Could it be neccessary to rotate the dataset always in the same direction like in the tutorial pipeline?

PS: if you look at the top pictures, something happened with the brightness. It's actually in the pictures.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant