任何人都可以解释什么是用来计算computeFeatures
内的不同功能?EBImage功能名称
我得到应用的命名约定,在? computeFeatures
中列出。我不明白.0.
,.a.
和.Ba.
标签。
例如:
> library(EBImage)
> y = readImage(system.file("images", "nuclei.tif", package="EBImage"))[,,1]
> x = thresh(y, 10, 10, 0.05)
> x = opening(x, makeBrush(5, shape='disc'))
> x = bwlabel(x)
> ft = computeFeatures(x, y, xname="nucleus")
> colnames(ft)
[1] "nucleus.0.m.cx" "nucleus.0.m.cy"
[3] "nucleus.0.m.majoraxis" "nucleus.0.m.eccentricity"
<snip>
[11] "nucleus.0.s.radius.max" "nucleus.a.b.mean"
[13] "nucleus.a.b.sd" "nucleus.a.b.mad"
<snip>
[51] "nucleus.Ba.b.mean" "nucleus.Ba.b.sd"
[53] "nucleus.Ba.b.mad" "nucleus.Ba.b.q001"
[55] "nucleus.Ba.b.q005" "nucleus.Ba.b.q05"
<snip>
我的猜测是nucleus.0.*
功能使用从包含在x
二进制口罩只有数据。因此nucleus.0.m.cy
是使用二进制数据计算的y轴质心。也有nucleus.a.m.cy
和nucleus.Ba.m.cy
,但不清楚这些计算是如何不同的(它们极其相关但不完全相同)。
我还假设.a.
和.Ba.
使用y
中的强度值,但细节是模糊的。诸如nucleus.a.b.mean
和nucleus.Ba.b.mean
之类的特征是相似的(〜.80corr),但不相同。我假设他们估计x
中由标签定义的对象的平均强度为y
,但差异尚不清楚。
有没有关于此的任何文档?
感谢,
最大
> sessionInfo() R Under development (unstable) (2014-08-23 r66461) Platform: x86_64-apple-darwin10.8.0 (64-bit) locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] EBImage_4.7.16 loaded via a namespace (and not attached): [1] abind_1.4-0 BiocGenerics_0.11.4 grid_3.2.0 [4] jpeg_0.1-8 lattice_0.20-29 locfit_1.5-9.1 [7] parallel_3.2.0 png_0.1-7 tiff_0.1-5 [10] tools_3.2.0
我有,但1)许多特定的语法已被弃用,2)它不提;'computeFeatures'。我想在这里问这个问题,然后再打扰软件包维护人员(因为我希望有人为我的软件包做)。 Max – topepo 2014-09-24 19:01:04