| image = | kurtosis3dImg (inImg3d,inHalfKnlSizeX,inHalfKnlSizeY,inHalfKnlSizeZ) |
local 3d image kurtosis computation
This algorithm computes for each pixel of output image associated local kurtosis on a parallelepipedic neighbourhood of input image.
Given an input image
and parallelepipedic kernel half sizes
,
and
, output image values are given by :
where
- See also
- http://en.wikipedia.org/wiki/Kurtosis
Here is an example of a Kurtosis computation applied on a 8 bits grey level image with
:
Example of Python code :
Example imports
import PyIPSDK
import PyIPSDK.IPSDKIPLStats as stats
Code Example
inImg = PyIPSDK.loadTiffImageFile(inputImgPath)
outImg = stats.kurtosis3dImg(inImg, 3, 3, 3)
Example of C++ code :
Example informations
Header file
#include <IPSDKIPL/IPSDKIPLStats/Processor/Kurtosis3dImg/Kurtosis3dImg.h>
Code Example
ImagePtr pOutImg = kurtosis3dImg(pInImg, inHalfKnlSizeX, inHalfKnlSizeY, inHalfKnlSizeZ);