Test data for wsidicom.
Install from pypi:
pip install wsidicom-data
python .\wsidicom_data\create_encoded_test_files.py
from wsidicom_data import TestData, EncodedTestData, defined_encoder_settings
test_tile_path = TestData.get_test_tile_path()
settings = defined_encoder_settings[0]
encoded_test_file_path = EncodedTestData.get_filepath_for_encoder_settings(settings)
test_tile.png
is extracted fromCMU-1-Small-Region.svs
in the OpenSlide test data set- Encoded test data is created from the
test_tile.png
using different encoders. The target transfer syntax, color, and bits per pixel is given in the filename.