WTInvRow_B53_JPEG2K

Performs an inverse wavelet transform with reversible filter of image rows.

Syntax

IppStatus ippiWTInvRow_B53_JPEG2K_16s_C1R(const Ipp16s* pSrcLow, int srcLowStep, const Ipp16s* pSrcHigh, int srcHighStep, IppiSize srcRoiSize, Ipp16s* pDst, int dstStep, IppiWTFilterFirst phase);

IppStatus ippiWTInvRow_B53_JPEG2K_32s_C1R(const Ipp32s* pSrcLow, int srcLowStep, const Ipp32s* pSrcHigh, int srcHighStep, IppiSize srcRoiSize, Ipp32s* pDst, int dstStep, IppiWTFilterFirst phase);

Parameters

pSrcLow

Pointer to ROI of the low frequency component of a source image.

srcLowStep

Distance in bytes between starts of consecutive lines in the low frequency component of a source image.

pSrcHigh

Pointer to ROI of the high frequency component of a source image.

srcHighStep

Distance in bytes between starts of consecutive lines in the high frequency component of a source image.

srcRoiSize

Size of the source image ROI.

pDst

Pointer to ROI of the destination image.

dstStep

Distance in bytes between starts of consecutive lines in the destination image.

phase

Relative position of the high-pass and low-pass filters.

Description

The function ippiWTInvRow_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 reconstruction of the source image rows using the 5-3 reversible filter. Both source ROIs have the same size srcRoiSize, while the destination image ROI size is uniquely determined from the following relations:

dstRoiSize.width = 2 * srcRoiSize.width;

dstRoiSize.height = srcRoiSize.height.

For proper operation, the function needs valid data outside the source image ROI.

For the low frequency component:

if the phase argument is equal to ippWTFilterFirstLow, the function requires 1 extra 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 (outside ROI border) for each processed row.

For the high frequency component, the function always requires 1 extra pixel on the left and 1 pixel on the right (outside ROI border) for each processed row.

Return Values

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.

Submit feedback on this help topic

Copyright © 2000 - 2011, Intel Corporation. All rights reserved.