About test_metadata

About test_metadata  

  By: wilde123 on Aug. 15, 2025, 1:30 p.m.

I was wondering if the test_metadata.csv is provided because certain attributes, such as spacing, RescaleSlope, or RescaleIntercept, cannot be read directly from the raw data. If so, how can I obtain these attributes for preprocessing?

Re: About test_metadata  

  By: vlm3dchallenge on Aug. 15, 2025, 1:33 p.m.

Hi @wilde123,

The values in the .mha files are already in HU so you don't need the RescaleSlope and RescaleIntercept. You can get the spacings from the .mha files directly, please see the encode_volume function here: https://github.com/forithmus/VLM3D-Dockers/blob/main/reportgen_example_docker/process.py

Best, Sezgin