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.
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.