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

ImageSequences image orientation #876

Open
rgutzen opened this issue Oct 1, 2020 · 0 comments · May be fixed by #1428
Open

ImageSequences image orientation #876

rgutzen opened this issue Oct 1, 2020 · 0 comments · May be fixed by #1428
Milestone

Comments

@rgutzen
Copy link
Contributor

rgutzen commented Oct 1, 2020

Creating an ImageSequence object with the TiffIO currently defines the origin in the upper left corner of the image. This might be unintuitive for some users (including me).
To move the origin to the lower left the images could simply be flipped in the IO using the PIL.Image.transpose(method=Image.FLIP_TOP_BOTTOM) or the numpy.flip(img, axis=-2) function.
Or in the case that placing the origin into the upper-left corner is the desired behavior, this information should be added to the documentation.
A third option might be to have an optional argument in the IO to determine the origin.

@JuliaSprenger JuliaSprenger added this to the 0.10.0 milestone Nov 9, 2020
@samuelgarcia samuelgarcia modified the milestones: 0.10.0, 0.11.0 Jul 26, 2021
@apdavison apdavison modified the milestones: 0.10.3, 0.11.0 Aug 30, 2022
@apdavison apdavison modified the milestones: 0.11.0, 0.12.0 Sep 29, 2022
@JuliaSprenger JuliaSprenger modified the milestones: 0.12.0, 0.12.1 Apr 2, 2023
@JuliaSprenger JuliaSprenger modified the milestones: 0.12.1, 0.13.0 Jul 19, 2023
@apdavison apdavison modified the milestones: 0.13.0, 0.13.1 Feb 23, 2024
@zm711 zm711 linked a pull request Mar 6, 2024 that will close this issue
@zm711 zm711 modified the milestones: 0.13.1, 0.14.0 May 3, 2024
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

Successfully merging a pull request may close this issue.

5 participants