MoransI.Utils.ImageTransform (MoransI v0.2.0)
View SourceCoarse-graining using the sum of pixels in partition_size blocks, mean thresholding and output to a binary matrix.
Summary
Functions
@spec coarse_grain(Nx.Tensor.t(), integer()) :: [list()]
Coarse-graining using the sum of pixels in partition_size blocks, mean thresholding and output to a binary matrix.
@spec coarse_grain(Nx.Tensor.t(), integer()) :: [list()]