scaleImg | R Documentation |
This function scales the image about its center. After scaling, the center of the image is not shifted.
## S4 method for signature 'AlignedSpatialImage'
scaleImg(x, factor, ...)
x |
An object of class |
factor |
Numeric, scaling factor. |
... |
Ignored. It's there so different methods can all be passed to the
same |
A *Image
object of the same class that has been scaled. Behind
the scene, it's only the extent that has been changed and the images are not
changed. The center of the image is unchanged.
Other image methods:
SFE-image
,
affineImg()
,
cropImg()
,
dim,BioFormatsImage-method
,
ext()
,
imgRaster()
,
imgSource()
,
mirrorImg()
,
rotateImg()
,
translateImg()
,
transposeImg()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.