returning an objects GLCM using EBImage
1
1
Entering edit mode
@david-stephens-cefas-6089
Last seen 9.6 years ago
Hi, Is there no way of obtaining the GLCM for an object since haralickMatrix is now deprecated? Cheers, Dave. This email and any attachments are intended for the name...{{dropped:13}}
• 812 views
ADD COMMENT
1
Entering edit mode
Gregoire Pau ▴ 60
@gregoire-pau-5351
Last seen 9.6 years ago
Hello David, The function haralickMatrix is not exported anymore but the function is still present in EBImage. The gray level co-occurrence matrix (GLCM) can be computed with EBImage:::.haralickMatrix. Example: library("EBImage") x <- matrix(runif(20*20), nrow=20) mask <- array(TRUE, dim=dim(x)) glcm <- EBImage:::.haralickMatrix(mask, x, nc=8) Feel free to help the maintainer to document and make this function publicly available again. Cheers, Greg On Wed, Aug 14, 2013 at 4:31 AM, David Stephens (Cefas) < David.Stephens@cefas.co.uk> wrote: > Hi, > > Is there no way of obtaining the GLCM for an object since haralickMatrix > is now deprecated? > > > Cheers, Dave. > This email and any attachments are intended for the na...{{dropped:13}}
ADD COMMENT

Login before adding your answer.

Traffic: 680 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6