View source: R/extractFeatures.R
1 | traceFromCannyEdges(pathMap, startPoint, endPoint, prox)
|
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 |
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 of type dataframe containing plotpath coordinates
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.