thin_contour: Thin outer contour by removing points overlappling radially...

Description Usage Arguments Value

View source: R/contour.R

Description

Thin outer contour by removing points overlappling radially from the centroid

Usage

1
2
3
4
5
6
7
thin_contour(
  contour,
  img = NULL,
  centroid = NULL,
  n_angles = 1800,
  as_cimg = TRUE
)

Arguments

contour

results from outer_contour

img

thresholded image (used to calculate the centroid)

centroid

centroid of the image

n_angles

number of unique angles to use

as_cimg

return the points as a cimg object?

Value

either a cimg of points or a data frame of points indicating the boundary


srvanderplas/ImageAlignR documentation built on Jan. 24, 2021, 5:10 a.m.