Learn R Programming

RockFab (version 1.2.1)

ParEx: Parameter extraction tool to obtain location, eccentricity, and orientation of objects from sectional image traces.

Description

Function reads in an image file as accepted by the readImage function from the EBImage package and uses routines therein to obtain location, eccentricity, and orientation data.

Usage

ParEx(img.file, out.file, section.title)

Arguments

img.file

Path to image file of sectional object traces.

out.file

Path of PDF file to plot fitted object ellipses.

section.title

Title of PDF plot.

Value

Function creates a PDF plot of fitted ellipses and returns a data frame object containing the parameters of each object.

References

Pau, G., A. Oles, M. Smith, O. Sklyar, and W. Huber. (2013) EBImage: Image processing toolbox for R.