depth: Import image object depth (Z)

Description Usage Arguments Value Examples

View source: R/depth.R

Description

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

Usage

1
2
## S3 method for class '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:

Examples

1
2
3
4
5
6
7
## 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)
## End(Not run)

ThaiseRF/forImage documentation built on March 10, 2021, 7:04 a.m.