Description Usage Arguments Details Value Author(s) Examples

Compute the average pixel value over all rotations of the image about the origin, as a function of distance from the origin.

1 |

`X` |
A pixel image. |

`...` |
Ignored. |

`origin` |
Optional. Origin about which the rotations should be performed.
Either a numeric vector or a character string as described
in the help for |

`padzero` |
Logical. If |

`Xname` |
Optional name for |

`result` |
Character string specifying the kind of result required: either a function object or a pixel image. |

This command computes, for each possible distance *r*,
the average pixel value of the pixels lying at
distance *r* from the origin. Kernel smoothing is used
to obtain a smooth function of *r*.

If `result="fv"`

(the default) the result is a function
object of class `"fv"`

giving the mean pixel value of `X`

as a function of distance from the origin.

If `result="im"`

the result is a pixel image, with the same
dimensions as `X`

, giving the mean value of `X`

over all pixels lying at the same distance from the origin
as the current pixel.

If `padzero=TRUE`

(the default), the value of `X`

is assumed to be zero outside the window of `X`

. The rotational
mean at a given distance *r* is the average value of the image
`X`

over the *entire* circle of radius *r*,
including zero values outside the window if the circle
lies partly outside the window.

If `padzero=FALSE`

, the value of `X`

is taken to be
undefined outside the window of `X`

. The rotational mean
is the average of the `X`

values over the *subset* of the circle
of radius *r* that lies entirely inside the window.

An object of class `"fv"`

or `"im"`

.

and \ege

1 2 3 4 5 6 7 8 |

spatstat documentation built on June 15, 2018, 9:04 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.