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

A question about loading image #2317

Closed
Miuna26 opened this issue Apr 17, 2024 · 2 comments
Closed

A question about loading image #2317

Miuna26 opened this issue Apr 17, 2024 · 2 comments

Comments

@Miuna26
Copy link

Miuna26 commented Apr 17, 2024

Why the image width and height exchanged ?
For example,images in folder are (3024,4032),but width and height in .json file are 4032 and 3024 respectively.And coordination in u-v system of feature points fits with what .json file do,but I need position in (3024,4032).

@pmoulon
Copy link
Member

pmoulon commented Apr 17, 2024

We load image without the JPEG orientation parameter. So if you want to use the JPEG orientation for your parameter flip the coordinate accordingly as a post process.

@Miuna26
Copy link
Author

Miuna26 commented Apr 17, 2024

well,I get it.I'll try it,thanks for your help.

@Miuna26 Miuna26 closed this as completed Apr 17, 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

No branches or pull requests

2 participants