# methods.linim

0th

Percentile

##### Methods for Images on a Linear Network

Methods for the class "linim" of functions on a linear network.

Keywords
spatial, math
##### Usage
## S3 method for class 'linim':
print(x, \dots)  ## S3 method for class 'linim':
as.im(X, \dots)  ## S3 method for class 'linim':
shift(X, \dots)  ## S3 method for class 'linim':
scalardilate(X, f, \dots, origin=NULL)  ## S3 method for class 'linim':
affine(X, mat=diag(c(1,1)), vec=c(0,0), ...)
##### Arguments
X,x
A pixel image on a linear network (object of class "linim").
...
Extra arguments passed to other methods.
f
Numeric. Scalar dilation factor.
mat
Numeric matrix representing the linear transformation.
vec
Numeric vector of length 2 specifying the shift vector.
origin
Character string determining a location that will be shifted to the origin. Options are "centroid", "midpoint" and "bottomleft". Partially matched.
##### Details

These are methods for the generic function print and the spatstat generic functions as.im, shift, scalardilate and affine.

An object of class "linfun" represents a pixel image defined on a linear network.

The method as.im.linim extracts the pixel values and returns a pixel image of class "im".

The methods shift.linim, scalardilate.linim and affine.linim apply geometric transformations to the pixels and the underlying linear network, without changing the pixel values.

##### Value

• For print.linim the result is NULL.

For as.im.linim the result is an object of class "im". For the geometric transformations shift.linim, scalardilate.linim and affine.linim, the result is another object of class "linim".

##### Aliases
• methods.linim
• as.im.linim
• print.linim
• affine.linim
• scalardilate.linim
• shift.linim
##### Examples
example(linim)
X
shift(X, c(1,1))
scalardilate(X, 2)
Documentation reproduced from package spatstat, version 1.42-2, License: GPL (>= 2)

### Community examples

Looks like there are no examples yet.