traceFromImage: traceFromImage

Usage Arguments Details Value

View source: R/extractFeatures.R


traceFromImage(fin, startStopCoords = NULL, pathNet = NULL)



Value of type cimg. Load the image via load.image("directory/finImage.JPG")


list of 3 coordinates: leadingEnd, startPoint, trailingEnd. If NULL, these points are estimated


mxnet model for isolating trailing edge


Processes an image(cimg) containing a fin. First the image undergoes cleanup through a variety of filters and glare removal via constrainSizeFinImage and fillGlare These processes help enhance edge clarity. The trailing edge is highlighted via neural network. The image is then cropped down to the trailing edge for efficiency purposes. The canny edges are then extracted from the crop and passed to traceFromCannyEdges which isolates coordinates for the trailing edge. These coordinates are then passed to extractAnnulus which collects image data used for identification. Both the coordinates and the image annulus are then returned.


Value of type list containing: "coordinates" a dataframe of coordinates "annulus" a 3 channel cimg of isolated features

haimeh/finFindR documentation built on May 19, 2020, 1:55 p.m.