![]() |
IPSDK
4_1_0_2
IPSDK : Image Processing Software Development Kit
|
high pass filter on 2d image More...
| IPSDKIPLFILTERING_API image::ImagePtr | ipsdk::imaproc::filter::highPass2dImg (const image::ImageConstPtr &pInImg, const ipUInt32 inHalfKnlSize) |
| wrapper function for high pass filter on 2d image More... | |
| IPSDKIPLFILTERING_API void | ipsdk::imaproc::filter::highPass2dImg (const image::ImageConstPtr &pInImg, const ipUInt32 inHalfKnlSize, const image::ImagePtr &pOutImg) |
| wrapper function for high pass filter on 2d image More... | |
high pass filter on 2d image
High-pass filters keep high frequencies of the input image and reduce low frequencies. They are usually used to make the image appear sharper. This current implementation of high-pass filter is equivalent to a 2d convolution, using a square kernel of given half size (
), whose all elements equal to -1, except the central element, whose value equals to
.
A mirror policy is used to apply filter to borders. Input and output images must have same size (see Border policy for more details).
Here is an example of a high-pass filter applied to an 8-bits grey levels input image (with
) :
Attribute description for algorithm :
| Name | ToolTip | Default Initializer |
|---|---|---|
| ipsdk::imaproc::attr::InImg | [Input] image for processing operation | X |
| ipsdk::imaproc::attr::InHalfKnlSize | [Input] half kernel size (square or cubic kernel) | X |
| ipsdk::imaproc::attr::OutImg | [Output] image for processing operation | promoteUnary (_pOutImg, _pInImg, ipsdk::imaproc::ePromoteUnaryType::ePUT_UpperSigned) |
Global rule description for algorithm :
ipsdk::imaproc::matchSize (_pInImg,_pOutImg)
| IPSDKIPLFILTERING_API image::ImagePtr ipsdk::imaproc::filter::highPass2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipUInt32 | inHalfKnlSize | ||
| ) |
wrapper function for high pass filter on 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
| IPSDKIPLFILTERING_API void ipsdk::imaproc::filter::highPass2dImg | ( | const image::ImageConstPtr & | pInImg, |
| const ipUInt32 | inHalfKnlSize, | ||
| const image::ImagePtr & | pOutImg | ||
| ) |
wrapper function for high pass filter on 2d image
| ipsdk::processor::IPSDKBaseProcessingException | on failure |
1.8.14