Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Extract tiles from the last level - or enable negative level indices #169

@alessiamarcolini

Description

@alessiamarcolini

I'd like to be able to specify the level of extraction in a Tiler using a negative index, and so count backwards, instead of just from 0 to the number of available levels.

At the moment if we try to use a negative level histolab throws a LevelError(f"Level cannot be negative ({level_})"), but I think we could relax this constraint.

Inspiration from: ysbecca/py-wsi#38

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions