找回密码
 注册
查看: 399|回复: 0

R语言 spatstat包 hist.im()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-9-30 13:33:07 | 显示全部楼层 |阅读模式
hist.im(spatstat)
hist.im()所属R语言包:spatstat

                                        Histogram of Pixel Values in an Image
                                         图像中的像素值直方图

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Computes and displays a histogram of the pixel values in a pixel image. The hist method for class "im".
计算和显示的像素的图像中的像素值的直方图。 hist类"im"方法。


用法----------Usage----------


  ## S3 method for class 'im'
hist(x, ..., probability=FALSE)



参数----------Arguments----------

参数:x
A pixel image (object of class "im").
像素的图像(类的对象"im"“)。


参数:...
Arguments passed to hist.default or barplot.
传递参数hist.default或barplot。


参数:probability
Logical. If TRUE, the histogram will be normalised to give probabilities or probability densities.  
逻辑。如果TRUE,将被标准化为概率或概率密度直方图。


Details

详细信息----------Details----------

This function computes and (by default) displays a histogram of the pixel values in the image x.
此函数计算(默认情况下)的直方图显示的像素值的图像x。

An object of class "im" describes a pixel image. See im.object) for details of this class.
一个对象的类"im"的描述了像素的图像。 im.object)这个类的详细信息。

The function hist.im is a method for the generic function hist for the class "im".
函数hist.im是一种通用功能hist类"im"。

Any arguments in ... are passed to hist.default (for numeric valued images) or barplot (for factor or logical images). For example, such arguments control the axes, and may be used to suppress the plotting.
...任何参数传递给hist.default(数字值图像)或barplot(因素或逻辑图像)。例如,这些参数对轴进行控制,并可能被用来镇压中的图。


值----------Value----------

For numeric-valued images, an object of class "histogram" as returned by hist.default. This object can be plotted.
对于数字值图像中,一个类的对象"histogram"返回的hist.default。这个对象可以被绘制。

For factor-valued or logical images, an object of class "barplotdata", which can be plotted. This is a list with components called counts (contingency table of counts of the numbers of pixels taking each possible value), probs (corresponding relative frequencies) and mids (graphical x-coordinates of the midpoints of the bars in the barplot).
对于因子值的或逻辑的图像,一个对象的类"barplotdata",它可以绘制。这是一个列表组件称为counts(列联表的每一个可能的值的像素数量的计数),probs(对应的相对频率)和mids(图形x 在barplot的条形中点的坐标)。


(作者)----------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----------

hist, hist.default, barplot, im.object, summary.im.
hist,hist.default,barplot,im.object,summary.im。


实例----------Examples----------


  X <- as.im(function(x,y) {x^2}, unit.square())
  hist(X)
  hist(cut(X,3))

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-6-15 04:03 , Processed in 0.020282 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表