Description Usage Arguments Value
View source: R/get_outlines_function.R
Uses Momocs::import_jpg() to import outline coordinates from the single .jpg files which are either already avaiable, or were created using the separate_single_artefacts function. This function preserves the filenames.
1 | get_outlines(outpath, tps_file_rescale = NULL)
|
outpath |
The path to the folder containing the .jpg files of the singled out artefacts from which the outlines should be derived (as for example created in the separate_single_artefacts function). |
tps_file_rescale |
(Default = NULL) A dataframe containing at least a column IMAGE and a column SCALE. This dataframe is internally created using the function tps_to_df (for more information see ?tps_to_df()). IMAGE contains the names of the images, as they are written in inpath. SCALE contains the scaling factor from pixel to a metric measurement. Such a file can be created in i.e. tpsDIG2 (Rohlf 2017). |
Returns a Momocs Out file containing the outlines' coordinates with their associated IDs, derived from the file name.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.