hues_from_xy2: Generate Hu moments from XY coordinates dataframe

View source: R/hu_moments_short.R

hues_from_xy2R Documentation

Generate Hu moments from XY coordinates dataframe

Description

This function requires a CellID column to split the coordinates by. Optional cell-wise parallelization.

Usage

hues_from_xy2(coords_df, split_col = "cellID")

Arguments

coords_df

A data frame with XY coordinates, containing columns "x", "y", and the column named by the split_col parameter.

split_col

A string matching the name of the colum used to split the dataframe into individual shapes.

Value

A data frame with Hu moments for each split of the input, identified by split_col.


gerbeldo/tidycell documentation built on Aug. 15, 2022, 2:35 p.m.