Performs a forward wavelet transform with reversible filter of image rows.
IppStatus ippiWTFwdRow_B53_JPEG2K_16s_C1R(const Ipp16s* pSrc, int srcStep, Ipp16s* pDstLow, int dstLowStep, Ipp16s* pDstHigh, int dstHighStep, IppiSize dstRoiSize, IppiWTFilterFirst phase);
IppStatus ippiWTFwdRow_B53_JPEG2K_32s_C1R(const Ipp32s* pSrc, int srcStep, Ipp32s* pDstLow, int dstLowStep, Ipp32s* pDstHigh, int dstHighStep, IppiSize dstRoiSize, IppiWTFilterFirst phase);
pSrc |
Pointer to the source image ROI. |
srcStep |
Distance in bytes between starts of consecutive lines in the source image. |
pDstLow |
Pointer to ROI of the low frequency component of a destination image. |
dstLowStep |
Distance in bytes between starts of consecutive lines in the low frequency component of a destination image. |
pDstHigh |
Pointer to ROI of the high frequency component of a destination image. |
dstHighStep |
Distance in bytes between starts of consecutive lines in the high frequency component of a destination image. |
dstRoiSize |
Size of the destination image ROI. |
phase |
Relative position of the high-pass and low-pass filters. |
The function ippiWTFwdRow_B53_JPEG2K is declared in the ippj.h file. It operates with ROI (see Regions of Interest in Intel IPP).
This function performs a wavelet decomposition of the source image rows using the 5-3 reversible filter. Both destination ROIs have the same size dstRoiSize, while the source image ROI size is uniquely determined from the following relations:
srcRoiSize.width = 2 * dstRoiSize.width;
srcRoiSize.height = dstRoiSize.height.
For proper operation, the function needs valid data outside the source image ROI:
if the phase argument is equal to ippWTFilterFirstLow, the function requires 2 extra pixels on the left and 1 pixel on the right (outside ROI border) for each processed row;
if the phase argument is equal to ippWTFilterFirstHigh, the function requires 1 extra pixel on the left and 2 pixels on the right (outside ROI border) for each processed row.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if at least one of the specified pointers is NULL. |
ippStsSizeErr |
Indicates an error condition if the width or height of ROI has zero or negative value. |
ippStsStepErr |
Indicates an error condition if any of the specified buffer step values is zero or negative. |
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.