Skip to content

Docstrings in wsi_reader.py are not consistent #4156

@fepegar

Description

@fepegar

Hi all,

I am loading an ROI of a large histological image using a reader = WSIReader(backend='cucim'). For that, I need to pass the location and size kwargs. The former is expressed as x_min, y_min, whereas the latter is height, width. I think there is a clash in this nomenclatures, as x and y are typically used for the horizontal (width) and vertical (height) dimensions, respectively, but here x seems to refer to the row (vertical dimension) and y seems to refer to the column (horizontal dimension).

My suggestion is replacing x_min, y_min with y_min, x_min or, even better, top_row, left_column.

Metadata

Metadata

Assignees

Labels

Pathology/MicroscopyDigital Pathology and Microscopy related

Type

No type

Projects

Status

💯 Complete

Relationships

None yet

Development

No branches or pull requests

Issue actions