Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Inconsistent main image resolutions #207

Open
bender22 opened this Issue May 23, 2017 · 1 comment

Comments

Projects
None yet
2 participants

bender22 commented May 23, 2017 edited by bgilbert

Context

Issue type (bug report or feature request): Question
Operating system: Windows 10
Platform (e.g. 64-bit x86, 32-bit ARM): 64-bit
OpenSlide version: 3.4.1.0
Slide format (e.g. SVS, NDPI, MRXS): SCN

Details

I'm using vips to process .scn slide and getting the following error: 'opening slide: Inconsistent main image resolutions'. I know this is a standard openslide implementation. However, I'm able to view the slide in this piece of software.
Is there any way to ignore this inconsistency of macro and main images (for example skip the macro)?
Don't you know other libs to deal with .scn?
Thanks in advance

Owner

bgilbert commented May 24, 2017

The problem here isn't the macro image, it's the two main images. As a safety check, OpenSlide compares the resolutions of the levels in the main images. At the sizes of the lower-resolution levels, there's not enough available precision to meet OpenSlide's (arbitrary) similarity threshold, and OpenSlide rejects the slide.

We'll need to improve the safety check. Meanwhile, if you need to read affected slides and you're confident that your data set doesn't contain mixed-resolution scans, you can delete the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment