Convert several pixel images to a common pixel raster.
1 2 3 4 5
Any number of pixel images (objects of class
This function makes any number of pixel images compatible, by converting them all to a common pixel grid.
harmonise is generic. This is the
method for objects of class
At least one of the arguments
... must be a pixel image.
Some arguments may be windows (objects of class
function(x,y)) or numerical constants. These will be
converted to images using
The common pixel grid is determined by inspecting all the pixel images in the argument list, computing the bounding box of all the images, then finding the image with the highest spatial resolution, and extending its pixel grid to cover the bounding box.
The return value is a list with entries corresponding to the input
If the arguments were named (
name=value) then the return value
also carries these names.
If you just want to determine the appropriate pixel resolution,
without converting the images, use
of length equal to the number of arguments
whose entries are pixel images.
1 2 3 4 5 6
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.