![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
local 3d image variance computation More...
| IPSDKIPLSTATS_API image::ImagePtr | ipsdk::imaproc::stats::variance3dImg (const image::ImageConstPtr &pInImg3d, const ipUInt32 inHalfKnlSizeX, const ipUInt32 inHalfKnlSizeY, const ipUInt32 inHalfKnlSizeZ) |
| wrapper function for Variance filter used on 3d image More... | |
| IPSDKIPLSTATS_API void | ipsdk::imaproc::stats::variance3dImg (const image::ImageConstPtr &pInImg3d, const ipUInt32 inHalfKnlSizeX, const ipUInt32 inHalfKnlSizeY, const ipUInt32 inHalfKnlSizeZ, const image::ImagePtr &pOutImg) |
| wrapper function for Variance filter used on 3d image More... | |
local 3d image variance computation
This algorithm computes for each pixel of output image associated local variance on a parallelepipedic neighbourhood of input image.
Given an input image
and parallelepipedic kernel half sizes
,
and
, output image values are given by :
where
Here is an example of a Variance computation applied on a 8 bits grey level image with
:
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg3d | [Input] 3d image for operation | X |
| ipsdk::imaproc::attr::InHalfKnlSizeX | [Input] half kernel size along X axis for operation | X |
| ipsdk::imaproc::attr::InHalfKnlSizeY | [Input] half kernel size along Y axis for operation | X |
| ipsdk::imaproc::attr::InHalfKnlSizeZ | [Input] half kernel size along Z axis for operation | X |
| ipsdk::imaproc::attr::OutRealImg | [Output] image for processing operation (data contained in image buffer are reals) | ipsdk::imaproc::duplicateInOut (_pOutRealImg, _pInImg3d, image::eImageBufferType::eIBT_Real32) |
Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInImg3d,_pOutRealImg)
| IPSDKIPLSTATS_API image::ImagePtr ipsdk::imaproc::stats::variance3dImg | ( | const image::ImageConstPtr & | pInImg3d, |
| const ipUInt32 | inHalfKnlSizeX, | ||
| const ipUInt32 | inHalfKnlSizeY, | ||
| const ipUInt32 | inHalfKnlSizeZ | ||
| ) |
wrapper function for Variance filter used on 3d image
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
| IPSDKIPLSTATS_API void ipsdk::imaproc::stats::variance3dImg | ( | const image::ImageConstPtr & | pInImg3d, |
| const ipUInt32 | inHalfKnlSizeX, | ||
| const ipUInt32 | inHalfKnlSizeY, | ||
| const ipUInt32 | inHalfKnlSizeZ, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Variance filter used on 3d image
| ipsdk::imaproc::util::IPSDKIPLUtilityException | on failure |
1.8.14