Computer vision utilities

Computer vision utilities#

Scorers#

FocusLite

Contrast

Calculate the contrast of a patch.

SplitRGB

Calculate the RGB value of a patch.

Redness

Brightness

ScorerBase

Base class for all scorers.

Mask#

Polygon merging#

merge_connected_polygons

Merge polygons in a GeoDataFrame while optionally considering a probability column and applying a buffer.

nms

Performs non-maximum suppression (NMS) on a GeoDataFrame containing polygon geometries.