form: Form removal

Description Usage Arguments Value Examples

Description

Removes the underlying format of a surface.

Usage

1
2
3
4
5
6
7
form(surf, form = "paraboloid")

## S3 method for class 'cimg'
form(surf, form = "paraboloid")

## S3 method for class 'imlist'
form(surf, form = "paraboloid")

Arguments

surf

a cimg or a imlist object.

form

an optional parameter that overides the information given on formula. Options are: "ellipsoid", "paraboloid". #enable partial match

Value

a corrected cimg or a imlist object.

Examples

1
2
3
4
5
6
7
8
9
surf <- ground[[1]]
par(mfrow = c(2,3))
plot(surf)
plot(form(surf))
plot(surf - form(surf))

plot(surf)
plot(form(surf, value ~ x + y))
plot(surf - form(surf, value ~ x + y))

coldfir3/surf documentation built on May 13, 2019, 8:49 p.m.