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

Skip to content

Fix README and Quickstart after BiggestTissueBoxMask implementation #244

@ernestoarbitrio

Description

@ernestoarbitrio

replace the usage instruction of the tile extractors with the new syntax:

from histolab.masks import BiggestTissueBoxMask
from histolab.slide import Slide
from histolab.tiler import RandomTiler

tissue_mask = BiggestTissueBoxMask()

slide = Slide("/path.svs", "tiles_temp")

rtiler = RandomTiler(
                prefix="",
                tile_size=(128,128),
                level=0,
                n_tiles=50,
                check_tissue=True,
                tissue_percent=80,
                seed=42,
            )

rtiler.extract(slide, tissue_mask, log_level="WARNING")

Metadata

Metadata

Assignees

Labels

documentationImprovements or additions to documentation

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions