MedianPooling#

class deeptrack.math.MedianPooling(ksize: int | Callable[[...], int] = 3, **kwargs)#

Bases: Pool

Apply median pooling to images.

Parameters#

ksize: int

Size of the pooling kernel.

cval: number

Value to pad edges with if necessary. Default 0.

func_kwargs: dict

Additional parameters sent to the pooling function.