| image = | kurtosis2dImg (inImg,inHalfKnlSizeX,inHalfKnlSizeY) |
local 2d image kurtosis computation
This algorithm computes for each pixel of output image associated local kurtosis on a rectangular neighbourhood of input image.
Given an input image
and rectangular 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.kurtosis2dImg(inImg, 3, 3)
Example of C++ code :
Example informations
Header file
#include <IPSDKIPL/IPSDKIPLStats/Processor/Kurtosis2dImg/Kurtosis2dImg.h>
Code Example
ImagePtr pOutImg = kurtosis2dImg(pInImg, inHalfKnlSizeX, inHalfKnlSizeY);