harmonise.im(spatstat)
harmonise.im()所属R语言包:spatstat
Make Pixel Images Compatible
请像素的图像,兼容
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Convert several pixel images to a common pixel raster.
将几个像素图像转换到一个共同的像素栅格。
用法----------Usage----------
harmonise.im(...)
harmonize.im(...)
参数----------Arguments----------
参数:...
Any number of pixel images (objects of class "im") or data which can be converted to pixel images by as.im.
任何数目的像素的图像(类的对象的"im")或数据可以被转换成像素图像,as.im。
Details
详细信息----------Details----------
This function makes any number of pixel images compatible, by converting them all to a common pixel grid.
此功能可以使任意数量的像素的图像,兼容,将它们转换到一个共同的像素网格。
At least one of the arguments ... must be a pixel image. Some arguments may be windows (objects of class "owin"), functions (function(x,y)) or numerical constants. These will be converted to images using as.im.
的参数中的至少一个...必须的像素的图像。有些参数可以是窗口(类"owin"),功能(function(x,y))或数字常量对象。这些将被转换为使用as.im的图像。
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 arguments. If the arguments were named (name=value) then the return value also carries these names.
返回值是一个相应的输入参数列表中的条目。如果参数被命名为(name=value),则返回值也携带这些名称。
If you just want to determine the appropriate pixel resolution, without converting the images, use commonGrid.
如果你只是想确定合适的像素分辨率,图像,无需转换,使用commonGrid。
值----------Value----------
A list, of length equal to the number of arguments ..., whose entries are pixel images.
一个列表,长度参数的个数等于...,条目像素的图像。
(作者)----------Author(s)----------
Adrian Baddeley
<a href="mailto:Adrian.Baddeley@csiro.au">Adrian.Baddeley@csiro.au</a>
<a href="http://www.maths.uwa.edu.au/~adrian/">http://www.maths.uwa.edu.au/~adrian/</a>
and Rolf Turner
<a href="mailto:r.turner@auckland.ac.nz">r.turner@auckland.ac.nz</a>
参见----------See Also----------
commonGrid, compatible.im, as.im
commonGrid,compatible.im,as.im
实例----------Examples----------
A <- setcov(square(1))
B <- function(x,y) { x }
G <- density(runifpoint(42))
harmonise.im(X=A, Y=B, Z=G)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|