Learn R Programming

forImage (version 0.1.0)

depth.xml: Import image object depth (Z)

Description

The function retrieves the object depth information from image metadata as source.

Usage

# S3 method for xml
depth(x, ...)

Arguments

x

file containing metadata, if xml type: '.xml', '.tif_meta.xml'

...

other arguments.

Value

A `data.frame` with the following information:

  • file : filename

  • z_depth : measured focus range depth (z)

Examples

Run this code
# NOT RUN {
#Path to example file from package
meta <- system.file("extdata", "foram.tif_meta.xml", package="forImage")

#retrieve z-depth data
depth.xml(meta)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab