traceFromCannyEdges: traceFromCannyEdges

Usage Arguments Details Value

View source: R/extractFeatures.R

Usage

1
traceFromCannyEdges(pathMap, startPoint, endPoint, prox)

Arguments

pathMap

matrix of type numeric. Used for weighted astar path finding

startPoint

vector of type numeric indicating the x and y position for initializing trace

endPoint

value of type numeric indicating the x and y position for terminating trace

prox

value of type numeric for setting degree of wiggle room for trace termination

Details

Isolates trailing edge of a fin given a canny edge image(cimg) and trace constraints. Starting with a weighted canny edge matrix and start/stop points, an optimal path traversal is found via findPath After some basic cleanup, the resulting pixel coordinates for the optimal edge trace are returned.

Value

Value of type dataframe containing plotpath coordinates


haimeh/finFindR documentation built on July 17, 2021, 12:56 a.m.