Home > brede > brede_vol_glcm.m

brede_vol_glcm

PURPOSE ^

brede_vol_glcm - Grey level cooccurence matrix

SYNOPSIS ^

function M = brede_vol_glcm(V1, V2, varargin)

DESCRIPTION ^

 brede_vol_glcm       - Grey level cooccurence matrix

       M = brede_vol_glcm(V1, V2)

       Input:  V1   'Vol' structure
               V2   'Vol' structure

       Output: M    Cooccurence matrix as 'Mat' structure

       Grey level cooccurence matrix is a 2D histogram of the voxel
       values in 2 volumes.

       Presently 64 bins are used.
   
       Example:
         % With volumes from SPM99
         filename1 = fullfile(fileparts(which('spm')), 'templates', 'PET');
         filename2 = fullfile(fileparts(which('spm')), 'templates', 'T1');
         Vpet = brede_read_analyze(filename1);
         Vt1  = brede_read_analyze(filename2);
         M = brede_vol_glcm(Vpet, Vt1)
         brede_ui_mat(M)
 
       See also BREDE, BREDE_VOL, BREDE_MAT.

 $Id: brede_vol_glcm.m,v 1.1 2005/03/02 15:11:09 fnielsen Exp $

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 27-Nov-2009 18:11:22 by m2html © 2005