lazyslide.cv.scorer.ScorerBase

lazyslide.cv.scorer.ScorerBase#

class ScorerBase#

Bases: object

Base class for all scorers.

All scores are operated on a patch.

Image -> float

__call__(patch, mask=None)#

Call self as a function.

apply(patch, mask=None)#

The scorer will return the scores and the bool value indicating of QC