image = | localEntropy3dImg (inImg3d,inHalfKnlSizeX,inHalfKnlSizeY,inHalfKnlSizeZ) |
image = | localEntropy3dImg (inImg3d,inHalfKnlSizeX,inHalfKnlSizeY,inHalfKnlSizeZ,inOptNbClasses) |
local 3d image entropy computation
This algorithm computes for each pixel of output image associated local entropy on a box neighbourhood of input image
Given an input image , box kernel half sizes
,
and
and a number of classes
, output image values are given by :
where:
The number of classes is an optional parameter of the algorithm. Its default value equals to 16. If the number of classes specified by the user exceeds the maximum allowed number of classes given the input image data type and dynamic range, it is automatically adjusted. For instance:
Borders of input image are processed as followed: padding pixels are a mirror reflection of the border pixels in the input image (see Border policy for more details).
Here is an example of an output image computed from the LocalEntropy3dImg algorithm on a 8-bits grey level, with a kernel of size 3 pixels x 4 pixels x 5 pixels and 8 classes: