remove.outline: Remove otolith outline

View source: R/shapeR.R

remove.outlineR Documentation

Remove otolith outline

Description

A function for removing an otolith outline from the file 'outline.list'. Typically done if the image is of bad quality and needs to be enhanced in a image processing software

Usage

remove.outline(object, folder = "", fname = "")

Arguments

object

A shapeR object

folder

The folder name where the outline that needs to be removed is stored

fname

The file name of the outline to be removed

Value

shapeR object

Author(s)

Lisa Anne Libungan

References

Libungan LA and Palsson S (2015) ShapeR: An R Package to Study Otolith Shape Variation among Fish Populations. PLoS ONE 10(3): e0121102. https://journals.plos.org/plosone/article?id=10.1371/journal.pone.0121102

Examples

## Not run: 
#Use test data from example in Libungan and Palsson (2015):
shape = shapeR("ShapeAnalysis/","FISH.csv")
shape = detect.outline(shape)
#If otolith outline in folder IC named 403_1 needs to be removed
shape = remove.outline(shape, "IC", "403_1")
## End(Not run)

shapeR documentation built on Nov. 22, 2022, 1:07 a.m.