hues_from_xy2: Generate Hu moments from XY coordinates in parallel

View source: R/hu_moments_short.R

hues_from_xy2R Documentation

Generate Hu moments from XY coordinates in parallel

Description

This function requires a CellID column to split the coordinates by (uses "cellID" by default).

Usage

hues_from_xy2(coords_df, split_col = "cellID")

Arguments

coords_df

A data frame with XY coordinates, containing columns "x", "y", and the grouping column; named by the split_col parameter. Can be provided by read_coords_tsv.

split_col

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

Details

See hues_from_xy2 for a serial (non-parallel) version.

Value

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


darksideoftheshmoo/rcell2 documentation built on Oct. 23, 2024, 12:59 p.m.