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

Apply the code on the own PAN dataset #6

Open
VictorZoo opened this issue Jun 13, 2022 · 0 comments
Open

Apply the code on the own PAN dataset #6

VictorZoo opened this issue Jun 13, 2022 · 0 comments

Comments

@VictorZoo
Copy link

Hi Kai,

I've been noticed the input dataset are .tif images encoding the 3-channel uint8 RGB colors. But now, I have my own PAN dataset that have only one channel the detail are as followed:

  • PAN_SEN_PWOI_000004990_1_2_F_1_RPC.TXT
  • DIM_PAN_SEN_PWOI_000004990_1_2_F_1.XML
  • PAN_SEN_PWOI_000004990_1_2_F_1_P_R2C1.TFW
  • IMG_PAN_SEN_PWOI_000004990_1_2_F_1_P_R2C1.TIF
  • PREVIEW_PAN_SEN_PWOI_000004990_1_2_F_1.jpg
  • RPC_PAN_SEN_PWOI_000004990_1_2_F_1.XML

The .TIF are PAN image with one channel. I tried to revise the code with np.expand_dims to expand the channel from 1 to 3 and commend out date_time. When run python satellite_sfm.py --input_folder examples/my_own_data --output_folder examples/outputs_my_own_data --run_sfm --use_srtm4, I got the following bug:

bug.txt

So, I wondered how can I apply the code on my own PAN dataset? Or just have something run? Cause I dont know how to set the latlonalt_bbx.json but to use the flag --use_srtm4.

Thank you so much

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