


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 $