Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 905 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 905 Bytes

wsidicom-data

Test data for wsidicom.

Install

Install from pypi:

pip install wsidicom-data

Re-creating encoded test data

python .\wsidicom_data\create_encoded_test_files.py

Accessing test data

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)

Description of data

  • test_tile.png is extracted from CMU-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.