diff --git a/src/ptbench/data/montgomery/default.py b/src/ptbench/data/montgomery/default.py index bc93c593f78c15d3a6b1e267117006ab408af2a4..5a0aad35973c733eafa6f68b407eabec1a5c2117 100644 --- a/src/ptbench/data/montgomery/default.py +++ b/src/ptbench/data/montgomery/default.py @@ -10,11 +10,11 @@ This configuration: * Raw data input (on disk): - * PNG images 12 bit grayscale + * PNG images 8 bit grayscale * resolution: 4020 x 4892 px or 4892 x 4020 px * Output image: - + * Transforms: * Load raw PNG with :py:mod:`PIL` @@ -25,11 +25,11 @@ This configuration: * Final specifications * Fixed resolution: 512 x 512 px - * Color RGB encoding + * Grayscale (single channel), 8 bits Protocol ``default``: - + * Training samples: first 64% of TB and healthy CXR (including labels) * Validation samples: 16% of TB and healthy CXR (including labels) * Test samples: 20% of TB and healty CXR (including labels) diff --git a/src/ptbench/data/montgomery/fold_0.py b/src/ptbench/data/montgomery/fold_0.py index 043769518603766044d804e2c6dd39a2176cb1db..8567b7a5b2749e538c365fd69de8f43f26cd22d2 100644 --- a/src/ptbench/data/montgomery/fold_0.py +++ b/src/ptbench/data/montgomery/fold_0.py @@ -10,11 +10,11 @@ This configuration: * Raw data input (on disk): - * PNG images 12 bit grayscale + * PNG images 8 bit grayscale * resolution: 4020 x 4892 px or 4892 x 4020 px * Output image: - + * Transforms: * Load raw PNG with :py:mod:`PIL` @@ -25,7 +25,7 @@ This configuration: * Final specifications * Fixed resolution: 512 x 512 px - * Color RGB encoding + * Grayscale (single channel), 8 bits """ import importlib.resources @@ -42,4 +42,3 @@ datamodule = CachingDataModule( ), raw_data_loader=RawDataLoader(), ) - diff --git a/src/ptbench/data/montgomery/fold_1.py b/src/ptbench/data/montgomery/fold_1.py index 8500456bca2c2d2330d56085986b69ed91ab9d91..6b9679b287060bf16200f3ff3bfdca291b7cc623 100644 --- a/src/ptbench/data/montgomery/fold_1.py +++ b/src/ptbench/data/montgomery/fold_1.py @@ -10,11 +10,11 @@ This configuration: * Raw data input (on disk): - * PNG images 12 bit grayscale + * PNG images 8 bit grayscale * resolution: 4020 x 4892 px or 4892 x 4020 px * Output image: - + * Transforms: * Load raw PNG with :py:mod:`PIL` @@ -25,7 +25,7 @@ This configuration: * Final specifications * Fixed resolution: 512 x 512 px - * Color RGB encoding + * Grayscale (single channel), 8 bits """ import importlib.resources @@ -42,4 +42,3 @@ datamodule = CachingDataModule( ), raw_data_loader=RawDataLoader(), ) - diff --git a/src/ptbench/data/montgomery/fold_2.py b/src/ptbench/data/montgomery/fold_2.py index e4b7a61482c391fb2b4b04d189b6637c0ced3222..b2bcc3cd6a56840022f0de81e6733d78a71f43e5 100644 --- a/src/ptbench/data/montgomery/fold_2.py +++ b/src/ptbench/data/montgomery/fold_2.py @@ -10,11 +10,11 @@ This configuration: * Raw data input (on disk): - * PNG images 12 bit grayscale + * PNG images 8 bit grayscale * resolution: 4020 x 4892 px or 4892 x 4020 px * Output image: - + * Transforms: * Load raw PNG with :py:mod:`PIL` @@ -25,7 +25,7 @@ This configuration: * Final specifications * Fixed resolution: 512 x 512 px - * Color RGB encoding + * Grayscale (single channel), 8 bits """ import importlib.resources @@ -42,4 +42,3 @@ datamodule = CachingDataModule( ), raw_data_loader=RawDataLoader(), ) - diff --git a/src/ptbench/data/montgomery/fold_3.py b/src/ptbench/data/montgomery/fold_3.py index 719bf004979db29ea723433ce5bc2dc046aa05ab..63bc27ec80c79a4e78fa4add406e6dae68f12628 100644 --- a/src/ptbench/data/montgomery/fold_3.py +++ b/src/ptbench/data/montgomery/fold_3.py @@ -10,11 +10,11 @@ This configuration: * Raw data input (on disk): - * PNG images 12 bit grayscale + * PNG images 8 bit grayscale * resolution: 4020 x 4892 px or 4892 x 4020 px * Output image: - + * Transforms: * Load raw PNG with :py:mod:`PIL` @@ -25,7 +25,7 @@ This configuration: * Final specifications * Fixed resolution: 512 x 512 px - * Color RGB encoding + * Grayscale (single channel), 8 bits """ import importlib.resources @@ -42,5 +42,3 @@ datamodule = CachingDataModule( ), raw_data_loader=RawDataLoader(), ) - - diff --git a/src/ptbench/data/montgomery/fold_4.py b/src/ptbench/data/montgomery/fold_4.py index 2e97b114f805846a0cb557ae85613322b4b9a73b..cbf3179959cf49c6cf48c826aa76d6bde91e1e85 100644 --- a/src/ptbench/data/montgomery/fold_4.py +++ b/src/ptbench/data/montgomery/fold_4.py @@ -10,11 +10,11 @@ This configuration: * Raw data input (on disk): - * PNG images 12 bit grayscale + * PNG images 8 bit grayscale * resolution: 4020 x 4892 px or 4892 x 4020 px * Output image: - + * Transforms: * Load raw PNG with :py:mod:`PIL` @@ -25,7 +25,7 @@ This configuration: * Final specifications * Fixed resolution: 512 x 512 px - * Color RGB encoding + * Grayscale (single channel), 8 bits """ import importlib.resources @@ -42,5 +42,3 @@ datamodule = CachingDataModule( ), raw_data_loader=RawDataLoader(), ) - - diff --git a/src/ptbench/data/montgomery/fold_5.py b/src/ptbench/data/montgomery/fold_5.py index 4df1451de2eb8bdaca8f5d46408a298f070ab6f0..aca9c62b71f5000a1a26b879ed9a7493de791dd1 100644 --- a/src/ptbench/data/montgomery/fold_5.py +++ b/src/ptbench/data/montgomery/fold_5.py @@ -10,11 +10,11 @@ This configuration: * Raw data input (on disk): - * PNG images 12 bit grayscale + * PNG images 8 bit grayscale * resolution: 4020 x 4892 px or 4892 x 4020 px * Output image: - + * Transforms: * Load raw PNG with :py:mod:`PIL` @@ -25,7 +25,7 @@ This configuration: * Final specifications * Fixed resolution: 512 x 512 px - * Color RGB encoding + * Grayscale (single channel), 8 bits """ import importlib.resources @@ -42,5 +42,3 @@ datamodule = CachingDataModule( ), raw_data_loader=RawDataLoader(), ) - - diff --git a/src/ptbench/data/montgomery/fold_6.py b/src/ptbench/data/montgomery/fold_6.py index d0b36115690ee65f47e421dab91351c4b48f5309..ac5cdd57f52d53c4732903104e53420d0ac24f51 100644 --- a/src/ptbench/data/montgomery/fold_6.py +++ b/src/ptbench/data/montgomery/fold_6.py @@ -10,11 +10,11 @@ This configuration: * Raw data input (on disk): - * PNG images 12 bit grayscale + * PNG images 8 bit grayscale * resolution: 4020 x 4892 px or 4892 x 4020 px * Output image: - + * Transforms: * Load raw PNG with :py:mod:`PIL` @@ -25,7 +25,7 @@ This configuration: * Final specifications * Fixed resolution: 512 x 512 px - * Color RGB encoding + * Grayscale (single channel), 8 bits """ import importlib.resources @@ -42,5 +42,3 @@ datamodule = CachingDataModule( ), raw_data_loader=RawDataLoader(), ) - - diff --git a/src/ptbench/data/montgomery/fold_7.py b/src/ptbench/data/montgomery/fold_7.py index b132b30ea14356774e820bfba5d6b66475c56b17..edf8957a5820ecf859289a345a961270cc098dc0 100644 --- a/src/ptbench/data/montgomery/fold_7.py +++ b/src/ptbench/data/montgomery/fold_7.py @@ -10,11 +10,11 @@ This configuration: * Raw data input (on disk): - * PNG images 12 bit grayscale + * PNG images 8 bit grayscale * resolution: 4020 x 4892 px or 4892 x 4020 px * Output image: - + * Transforms: * Load raw PNG with :py:mod:`PIL` @@ -25,7 +25,7 @@ This configuration: * Final specifications * Fixed resolution: 512 x 512 px - * Color RGB encoding + * Grayscale (single channel), 8 bits """ import importlib.resources @@ -42,5 +42,3 @@ datamodule = CachingDataModule( ), raw_data_loader=RawDataLoader(), ) - - diff --git a/src/ptbench/data/montgomery/fold_8.py b/src/ptbench/data/montgomery/fold_8.py index 73169ca0b40688e379bd31948e5925552bd7b5b0..ed0e5a91eaac05f9563d8053c2b814b02d282133 100644 --- a/src/ptbench/data/montgomery/fold_8.py +++ b/src/ptbench/data/montgomery/fold_8.py @@ -10,11 +10,11 @@ This configuration: * Raw data input (on disk): - * PNG images 12 bit grayscale + * PNG images 8 bit grayscale * resolution: 4020 x 4892 px or 4892 x 4020 px * Output image: - + * Transforms: * Load raw PNG with :py:mod:`PIL` @@ -25,7 +25,7 @@ This configuration: * Final specifications * Fixed resolution: 512 x 512 px - * Color RGB encoding + * Grayscale (single channel), 8 bits """ import importlib.resources @@ -42,5 +42,3 @@ datamodule = CachingDataModule( ), raw_data_loader=RawDataLoader(), ) - - diff --git a/src/ptbench/data/montgomery/fold_9.py b/src/ptbench/data/montgomery/fold_9.py index 18561f80221b05a467c72308f6ebacd5fc3280f8..476463f0fcd80139732952e3849c89f9cb5dff5b 100644 --- a/src/ptbench/data/montgomery/fold_9.py +++ b/src/ptbench/data/montgomery/fold_9.py @@ -10,11 +10,11 @@ This configuration: * Raw data input (on disk): - * PNG images 12 bit grayscale + * PNG images 8 bit grayscale * resolution: 4020 x 4892 px or 4892 x 4020 px * Output image: - + * Transforms: * Load raw PNG with :py:mod:`PIL` @@ -25,7 +25,7 @@ This configuration: * Final specifications * Fixed resolution: 512 x 512 px - * Color RGB encoding + * Grayscale (single channel), 8 bits """ import importlib.resources @@ -42,5 +42,3 @@ datamodule = CachingDataModule( ), raw_data_loader=RawDataLoader(), ) - -