KDEDataSet = | kernelDensityEstimator3d (inImg3d) |
KDEDataSet = | kernelDensityEstimator3d (inImg3d,inOptKDENbSamples,inOptKDEBandwidthPolicy) |
algorithm allowing to estimate probability density function of a 3d image
This algorithm allows to estimate the probability density function associated to the grey level population of a 3d image. This algorithm is also known as Parzen Rosenblatt window method.
Given an input 3d image InImg3d, the algorithm samples InOptKDENbSamples image values and build an ouput 'by plan' kernel density estimator object OutPIKDEDataSet.
The kernel density estimator bandwidth parameter value is computed with respect to the InOptKDEBandwidthPolicy parameter value.
Given a collection of image samples and
a bandwith for density estimation, image density
is estimated for a given grey level
as :
where kernel function is the zero mean and unit standard deviation gaussian function given by :
See Kernel Density Estimator 2d for an example of kernel density estimation computation in 2d case.