This function creates the Co-occurrence matrix (COM)[1]. Also known as GLCM 
  (gray-level co-occurrence matrices), GLCH (gray-level co-occurrence histograms) 
  or spatial dependence matrix. 

  References:
  [1]  ARIZAGA, R. et. al. Speckle time evolution characterization by the 
       co-occurence matrix analysis. Optics and Laser Technology, Amsterdam, 
       v. 31, n. 2, p. 163-169, 1999.

  After starting the main routine just type the following command at the
  prompt:
  C = coom(THSP);
  
  Input:
  THSP is an integer 2D matrix that represents the time history speckle pattern (THSP). 
	This matrix can be obtained using the function THSP. It is necessary that the
	THSP matrix only have values between 0 and 255, the function does not 
	verify. The function limits the values outside this interval.

  Output:
  C    is a 2D matrix, with 256 lines and 256 columns, that represents the 
       Co-Occurrence Matrix of a THSP matrix. The element C(a,b) in the C 
       co-occurrence matrix represents the quantity of times that, in two 
       successive columns of a THSP matrix, the intensity values changed from 
       a-1 to b-1.


  For help, bug reports and feature suggestions, please visit:
  http://nongnu.org/bsltl/

Package: bsltl