ImagingDataCommons / highdicom

High-level DICOM abstractions for the Python programming language
https://highdicom.readthedocs.io
MIT License
168 stars 35 forks source link

Fix computation of plane positions for TILED_FULL #158

Closed hackermd closed 2 years ago

hackermd commented 2 years ago

The utility function highdicom.compute_plane_position_slide_per_frame() did not handle images with multiple optical paths correctly and returned the wrong number of plane positions. This PR fixes the issue and adds unit tests to avoid regression in the future.