Description Usage Arguments Value
Fit an ellipse to the boundary contour points
1 | contour_ellipse_fit(contour_points, chull = F)
|
contour_points |
a cimg or data frame of contour points. If a cimg, must be a pixset (0s and 1s). If a data frame, must have columns x and y |
chull |
use the convex hull of the points? |
a data frame of ellipse parameters: X, Y for the center, A, B for the major and minor axes, and angle for the rotation angle.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.