cellmap_data.transforms.augment.binarize

cellmap_data.transforms.augment.binarize#

Classes

Binarize([threshold])

Initialize the normalization transformation.

class cellmap_data.transforms.augment.binarize.Binarize(threshold=0)[source]#

Initialize the normalization transformation.

transform(x: Any, params: Dict[str, Any] | None = None) Any[source]#

Transform the input.

Parameters:
  • x (Any)

  • params (Dict[str, Any] | None)

Return type:

Any