obsolete {EBImage}R Documentation

Obsolete feature computation functions

Description

The following functions to compute object features are obsolete. Please use computeFeatures instead.

Usage

moments(x, ref)
cmoments(x, ref)
rmoments(x, ref)
smoments(x, ref, pw=3, what="scale")
edgeFeatures(x, ref)
edgeProfile(x, ref, n=32, fft=TRUE, scale=TRUE, rotate=TRUE)
haralickFeatures(x, ref, nc = 32)
haralickMatrix(x, ref, nc = 32)
hullFeatures(x)
 zernikeMoments(x, ref, N = 12, R = 30)

Arguments

x

An Image object or an array containing object masks. Object masks are sets of pixels with the same unique integer value.

ref

An Image object or an array, containing the intensity values of the objects.

pw

A numeric value specifying the maximum moment order to compute. Default is 3.

what

A character string partially matching central or scale, specifiying what kind of moments to compute. Default is scale.

n

An integer value giving the number of angle measures. The full circle of [-pi,pi] is divided into n-1 segments, at which edges the profile is approximated.

fft

A logical value. If TRUE, the resulting profile is the fft transformation of the distance profile giving the frequences of angular changes in shape.

scale

A logical value. If TRUE, the resulting profile is scaled by the effective radius (calcualted as part of link{hull.features}) making the profile scale invariant.

rotate

A logical value. If TRUE, the resulting profile is shifted by the object's roation angle (calculated from the moments on the ref image, if provided, and on the hull otherwise.

nc

A numeric value. Specifies the number of gray levels used to compute the co-occurrence matrix. Default value is 32.

N

A numeric. Indicates the maximal order of Zernike polynomials to be computed. Default value is 12.

R

A numeric. Defines the radius of the circle in pixels around object centers from which the features are calculated.

Value

Obsolete.

Author(s)

Gregoire Pau, gregoire.pau@embl.de, 2011

See Also

computeFeatures, computeFeatures.basic, computeFeatures.shape, computeFeatures.moment, computeFeatures.haralick

Examples

 example(computeFeatures)

[Package EBImage version 3.10.0 Index]