clip.image | R Documentation |
The function allows to define a clipping region by arguments xind
and yind
or interactively by mouseclicks. A new image is created by cutting out
the clipping region.
clip.image(img, xind = NULL, yind = NULL, compress=NULL, ...)
img |
Object of class "adimpro" as created by
|
xind |
|
yind |
|
compress |
image data are stored as raw-vector (TRUE) or array of integers (FALSE). |
... |
additional arguments to |
If both xind==NULL
and yind==NULL
, show.image
is called and the clipping region
can be set by two left mouse clicks to opposite corners.
An object of class "adimpro".
Karsten Tabelow tabelow@wias-berlin.de and Joerg Polzehl polzehl@wias-berlin.de
read.image
, read.raw
, make.image
, awsimage
, awspimage
## Not run: demo(manipulate)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.