├── Benchmark ├── Evaluation │ ├── README.md │ ├── __init__.py │ ├── evaluate_guidance.py │ ├── evaluate_reasoning.py │ ├── main.py │ ├── metric.py │ ├── model_cards.py │ ├── prompt.py │ ├── requirements.txt │ ├── scoring.py │ └── utils.py └── generation │ ├── README.md │ ├── bodypart_segmask.py │ ├── generate_benchmark.py │ ├── point_on_cxr.py │ └── requirements.txt ├── CheXStruct ├── README.md ├── main.py ├── preprocessor │ ├── __init__.py │ ├── cardiomegaly.py │ ├── carina_angle.py │ ├── descending_aorta_tortuous_enlarged.py │ ├── enlarged_aortic_knob.py │ ├── enlarged_ascending_aorta.py │ ├── frontal_cxr.py │ ├── inclusion.py │ ├── inspiration.py │ ├── mediastinal_widening.py │ ├── projection.py │ ├── rotation.py │ ├── trachea.py │ └── trachea_deviation.py ├── requirements.txt └── utils │ ├── __init__.py │ ├── constants.py │ ├── convert_chexmask2png.py │ └── utils.py ├── README.md └── images ├── overview_chexstruct.png └── overview_cxreasonbench.png /Benchmark/Evaluation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/Evaluation/README.md -------------------------------------------------------------------------------- /Benchmark/Evaluation/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /Benchmark/Evaluation/evaluate_guidance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/Evaluation/evaluate_guidance.py -------------------------------------------------------------------------------- /Benchmark/Evaluation/evaluate_reasoning.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/Evaluation/evaluate_reasoning.py -------------------------------------------------------------------------------- /Benchmark/Evaluation/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/Evaluation/main.py -------------------------------------------------------------------------------- /Benchmark/Evaluation/metric.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/Evaluation/metric.py -------------------------------------------------------------------------------- /Benchmark/Evaluation/model_cards.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/Evaluation/model_cards.py -------------------------------------------------------------------------------- /Benchmark/Evaluation/prompt.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/Evaluation/prompt.py -------------------------------------------------------------------------------- /Benchmark/Evaluation/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/Evaluation/requirements.txt -------------------------------------------------------------------------------- /Benchmark/Evaluation/scoring.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/Evaluation/scoring.py -------------------------------------------------------------------------------- /Benchmark/Evaluation/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/Evaluation/utils.py -------------------------------------------------------------------------------- /Benchmark/generation/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/generation/README.md -------------------------------------------------------------------------------- /Benchmark/generation/bodypart_segmask.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/generation/bodypart_segmask.py -------------------------------------------------------------------------------- /Benchmark/generation/generate_benchmark.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/generation/generate_benchmark.py -------------------------------------------------------------------------------- /Benchmark/generation/point_on_cxr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/generation/point_on_cxr.py -------------------------------------------------------------------------------- /Benchmark/generation/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/Benchmark/generation/requirements.txt -------------------------------------------------------------------------------- /CheXStruct/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/README.md -------------------------------------------------------------------------------- /CheXStruct/main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/main.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CheXStruct/preprocessor/cardiomegaly.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/cardiomegaly.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/carina_angle.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/carina_angle.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/descending_aorta_tortuous_enlarged.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/descending_aorta_tortuous_enlarged.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/enlarged_aortic_knob.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/enlarged_aortic_knob.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/enlarged_ascending_aorta.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/enlarged_ascending_aorta.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/frontal_cxr.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/frontal_cxr.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/inclusion.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/inclusion.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/inspiration.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/inspiration.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/mediastinal_widening.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/mediastinal_widening.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/projection.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/projection.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/rotation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/rotation.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/trachea.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/trachea.py -------------------------------------------------------------------------------- /CheXStruct/preprocessor/trachea_deviation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/preprocessor/trachea_deviation.py -------------------------------------------------------------------------------- /CheXStruct/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/requirements.txt -------------------------------------------------------------------------------- /CheXStruct/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /CheXStruct/utils/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/utils/constants.py -------------------------------------------------------------------------------- /CheXStruct/utils/convert_chexmask2png.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/utils/convert_chexmask2png.py -------------------------------------------------------------------------------- /CheXStruct/utils/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/CheXStruct/utils/utils.py -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/README.md -------------------------------------------------------------------------------- /images/overview_chexstruct.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/images/overview_chexstruct.png -------------------------------------------------------------------------------- /images/overview_cxreasonbench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ttumyche/CXReasonBench/HEAD/images/overview_cxreasonbench.png --------------------------------------------------------------------------------