find.shape | R Documentation |
Measures the BB width, BB length, perimeter, convex perimeter, area, convex hull area, compactness, roundness, and maximum length values for each object in the image.
find.shape(image, pix.min = 4000, scaledown = 4, colorcard = "bottomright")
image |
The image to be processed, must be a JPEG |
pix.min |
is number of pixels expected for the smallest object to be designated a tuber |
scaledown |
by which image is divided for faster computing (a reduction in image size) |
colorcard |
= NULL/"bottomright" to remove a color card if used |
A nested list with the BB width, BB length, perimeter, convex perimeter, area, convex hull area, compactness, roundness, and maximum length values for each object.
find.shape(system.file("images", "2020fy2_317.jpg", package = "TubAR")) find.shape(system.file("images", "2020fy2_317.jpg", package = "TubAR"), pix.min=4e4, scaledown=5, colorcard="bottomright")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.