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

For OSI dataset: dataloader #14

Open
Neroaway opened this issue May 10, 2022 · 0 comments
Open

For OSI dataset: dataloader #14

Neroaway opened this issue May 10, 2022 · 0 comments

Comments

@Neroaway
Copy link

By downloading the OSI data you provided, I found that DSM data is in uint16 format, so do you still need the following processing in dataloader?
depth = cv2.imread(depth_name,-1); depth = (depth*1000).astype(np.uint16)
I understand that depth = self.to_tensor(depth)/100000 in Totensor(), which you define in Transform, is to regularize all the values in the DSM and set them between 0 and 1. I do not know whether I understand correctly. If I am wrong, I hope to get your explanation.
However, the above processing is actually carried out under the premise of default depth*1000<65535, but I see that the DSM of OSI dataset provided by you is all in uint16 format, and the maximum value is 65531. For this situation, how do you design the dataloader of OSI data set.
Hope to get your answer.:)

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