![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
Smooth an input 3d image computing local mean of pixels. More...
| IPSDKIPLFILTERING_API image::ImagePtr | ipsdk::imaproc::filter::meanSmoothing3dImg (const image::ImageConstPtr &pInImg3d, const ipUInt32 inHalfKnlSizeX, const ipUInt32 inHalfKnlSizeY, const ipUInt32 inHalfKnlSizeZ) |
| wrapper function for Mean filter used to blur a 3d image More... | |
| IPSDKIPLFILTERING_API void | ipsdk::imaproc::filter::meanSmoothing3dImg (const image::ImageConstPtr &pInImg3d, const ipUInt32 inHalfKnlSizeX, const ipUInt32 inHalfKnlSizeY, const ipUInt32 inHalfKnlSizeZ, const image::ImagePtr &pOutImg) |
| wrapper function for Mean filter used to blur a 3d image More... | |
Smooth an input 3d image computing local mean of pixels.
This low-pass 3d filter, also none as "box blur filter" or "box linear filter", computes for each pixel the average value of its neighboring pixels.
On output image values are given by:
where :
is defined by InHalfKnlSizeX attribute
is defined by InHalfKnlSizeY attribute
is defined by InHalfKnlSizeZ attributeInput and output images must have same size.
Here is an example of a Mean smoothing operation applied to an 8-bits grey levels input 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::OutImg | [Output] image for processing operation | ipsdk::imaproc::duplicateInOut (_pOutImg, _pInImg3d) |
Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInImg3d,_pOutImg)
| IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::meanSmoothing3dImg | ( | const image::ImageConstPtr & | pInImg3d, |
| const ipUInt32 | inHalfKnlSizeX, | ||
| const ipUInt32 | inHalfKnlSizeY, | ||
| const ipUInt32 | inHalfKnlSizeZ | ||
| ) |
wrapper function for Mean filter used to blur a 3d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API void ipsdk::imaproc::filter::meanSmoothing3dImg | ( | const image::ImageConstPtr & | pInImg3d, |
| const ipUInt32 | inHalfKnlSizeX, | ||
| const ipUInt32 | inHalfKnlSizeY, | ||
| const ipUInt32 | inHalfKnlSizeZ, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for Mean filter used to blur a 3d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14