[Insight-users]
Submission: itkScalarImageToGreyLevelCooccurrenceMatrixGenerator
Zachary Pincus
zpincus at stanford.edu
Tue Jun 15 19:00:30 EDT 2004
Hello,
Here is my revision/rewrite of Glenn Pierce's Cooccurrence List filter.
Basically, when given an image and a set of offsets, this generator
produces a histogram of the pixel value co-ocurrences between each
pixel and the various pixels at the given offsets from that pixel. (See
the documentation in the header for more information.)
This is typically called a "Grey Level Co-occurrence Matrix" (GLCM) and
it is used in calculations concerning the texture of various objects.
In the next week, I hope to contribute code for calculating texture
descriptors from GLCMs. These descriptors are often used in computer
vision/statistical learning tasks to classify different image patches
by texture. I hope that others will find these tools useful...
Implementation note: after thinking about the best way to do things, it
really seemed like enough special things needed to be done between
making a list of values and making a good GLCM that it was worth it to
make a special GLCM generator, instead of a list adaptor.
Zach
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkScalarImageToGreyLevelCooccurrenceMatrixGenerator.h
Type: application/text
Size: 7729 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20040615/6c7f060f/itkScalarImageToGreyLevelCooccurrenceMatrixGenerator-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkScalarImageToGreyLevelCooccurrenceMatrixGenerator.txx
Type: application/text
Size: 7040 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20040615/6c7f060f/itkScalarImageToGreyLevelCooccurrenceMatrixGenerator-0003.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: itkScalarImageToGreyLevelCooccurrenceMatrixGeneratorTest.cxx
Type: application/octet-stream
Size: 7782 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20040615/6c7f060f/itkScalarImageToGreyLevelCooccurrenceMatrixGeneratorTest-0001.obj
More information about the Insight-users
mailing list