Description Usage Arguments Details Author(s)
This function allows to resize a sample image and a correspondent ROI to a given pixel resolution to be used as background to spatila analysis plots.
1 | resizeImage(image.in, image.out, roi.in, roi.out, npixels)
|
image.in |
The complete path to your original image |
image.out |
The complete path (filename with extension included) where the new, resized image will be saved. |
roi.in |
The complete path to your original roi.data |
roi.out |
The complete path (filename with extension included) where the new, resized roi.data.RData will be saved |
npixels |
As in |
Coupled with spatial analysis and image resize (see extractVIs()
and specifically argument npixels
for details), this function allows to update a selected image and the correspondent ROI to a smaller size. This is exactly what is done internally when extractVIs()
is called with npixels different from 1. The resized image can be used (together with the roi.data object) to plot results from spatially explicit phase extraction. See the vignette ‘spatial’ for illustrated examples.
Gianluca Filippa <gian.filippa@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.