extractout: Extract outline

Description Usage Arguments Value See Also

Description

Extract outline from a fish otolith image

Usage

1
extractout(img, threshold = 0.3, plot = c("no", "overlay", "plain"))

Arguments

img

an image array read by loadimg

threshold

numeric. value of range 0-1 to set the theshold for conversion into binary image.

plot

no = no plot; overlay = plot of outline overlaid on image; plain = plot of plain outline

Value

a matrix of outline coords. note the outline is in 8-connected format.

See Also

Which this function wraps: ocontour

Function that wraps this function: img2landmark


jinyung/otolith documentation built on May 19, 2019, 10:36 a.m.