Home > brede > brede_vol_density2prob.m

brede_vol_density2prob

PURPOSE ^

brede_vol_density2prob - Convert density to probability volume

SYNOPSIS ^

function Vout = brede_vol_density2prob(Vin, varargin);

DESCRIPTION ^

 brede_vol_density2prob - Convert density to probability volume

       Vout = brede_vol_density2prob(Vin)

       Input:    Vin        Density volume

       Property: Normalize  [ {WithVoxelSize} | ToOne ] 

       Output:   Vout       Probability volume

       This function converts a 'vol' structure containing a density
       volume to a 'vol' structure contain a probability volume.

       The density volume should have voxel values in the range of
       [0;Inf[ and should (approximately) sum to one: 
          sum(Vin.volume(:))*prod(Vin.voxelSize)==1

       The probability volume should have voxel values in the range
       of [0;1] and not (necessarily) sum to one.

       See also BREDE, BREDE_VOL, BREDE_PDE_SPECHT.

 $Id: brede_vol_density2prob.m,v 1.2 2008/12/02 17:31:55 fn Exp $

CROSS-REFERENCE INFORMATION ^

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