-
Notifications
You must be signed in to change notification settings - Fork 185
Description
Context
Issue type (bug report or feature request): Bug
Operating system ( Windows ): Windows 8.1 and also Tried on Linux Server Machine (ppc64le)
Platform (64-bit):
OpenSlide Python version - 1.1.1:
OpenSlide version - 3.4.1
Slide format - .scn (Leica SCN Images)
Details
I am facing issues regarding the Whole Slide Image for Leica .scn images. Whenever I use the slide.level_dimensions and slide.properties functions from the openslide python package to get information about the dimensions and the overall information about the slide properties, it gives incorrect information about the level dimensions. The information doesn't seem to match the information from the image.
My code details to reproduce to issue are:
import openslide
slide = openslide.OpenSlide('./nims-002.scn')
print("Level count: %d" % slide.level_count)
print("Level dimensions: " + str(slide.level_dimensions))
print("Properties: " + str(slide.properties))
print("Dimensions: " + str(slide.dimensions))
I am hereby attaching the details of 2 Whole Slide Image and their information from the slide.level_dimension and slide.properties function and those extracted from actual Whole Slide Images. The width and height at each and every level dont seem to match to the original scn image at all. As a result I get tiles with huge y-coordinates and few tiles that are completely black. For two different Whole Slide Images, slide.level_dimensions and slide.properties function gives same level values and same dimensions. How is it possible when both of them have different values of the levels and different dimensions all together?
Request you to kindly inspect the issue and let me know about it, as I am unable to proceed with my research.
Regards,
Hitesha