Skip to content

Urgent: Facing issues with the Level-Dimensions in Leica .scn Images #48

@hitesha14

Description

@hitesha14

hello @bgilbert , @jaharkes

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.

a2
nims-002.txt

a4
nims-004.txt

Regards,
Hitesha

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions