MoransI.Utils.ImageTransform (MoransI v0.2.0)

View Source

Coarse-graining using the sum of pixels in partition_size blocks, mean thresholding and output to a binary matrix.

Summary

Functions

coarse_grain(image_matrix, partition_size)

@spec coarse_grain(Nx.Tensor.t(), integer()) :: [list()]