ShadowNeuS icon indicating copy to clipboard operation
ShadowNeuS copied to clipboard

About how to prepare the custom data

Open liulisixin opened this issue 3 years ago • 7 comments

Dear Gerwang,

Thank you for your kind sharing! Your project is amazing!

Could you please explain something about how to prepare the training data? For example, .json, floor, normal in synthetic data, and .npz in real data. In other word, how could we apply your project on the custom data?

Thank you a lot in advance!

Regards, Yixiong

liulisixin avatar Aug 01 '23 12:08 liulisixin

Hi @liulisixin, thanks for your interest!

To prepare the synthetic data, you can see the scripts to generate the blender data at here. To prepare the real data, I just uploaded the script and raw data at process_real_dataset.ipynb, you can follow this notebook to see how we processed the real dataset.

gerwang avatar Aug 02 '23 07:08 gerwang

Hi @gerwang ,

Thank you for your kind and rapid reply!

Your updating is really helpful. I will follow the notebook to run my experiment.

Thanks a lot.

liulisixin avatar Aug 02 '23 19:08 liulisixin

Dear Gerwang,

Could I ask you one more question?

What is the coordinate system (the direction of xyz) you used in your work? Did you use the same coordinate system as NeuS?

Thank you a lot in advance!

Best regards, Yixiong

liulisixin avatar Aug 29 '23 23:08 liulisixin

We use the same coordinate system as NeuS. The object locates in a bounding sphere centered at the origin, with radius bound_r (see the configuration files).

gerwang avatar Aug 30 '23 03:08 gerwang

Thank you for your reply!

As I understand, it is: from the point of view of the camera, the three axes XYZ are [right, down, forwards]. Am I right?

Sorry for my annoying. I just want to make sure about it.

liulisixin avatar Aug 30 '23 19:08 liulisixin

Not exactly. Using top-down data, three axes XYZ roughly match left, down, and backward. We use world coordinates, the same as NeuS, instead of camera coordinates.

gerwang avatar Aug 31 '23 01:08 gerwang

Not exactly. Using top-down data, three axes XYZ roughly match left, down, and backward. We use world coordinates, the same as NeuS, instead of camera coordinates.

Ok, thank you for your patient reply. You are so kind!

liulisixin avatar Aug 31 '23 19:08 liulisixin