WTInv_B53_JPEG2K

Performs a tile-oriented inverse wavelet transform with reversible filter.

Syntax

IppStatus ippiWTInv_B53_JPEG2K_16s_C1R(const Ipp16s* pSrc[4], int srcStep[4], Ipp16s* pDst, int dstStep, const IppiRect* pTileRect, Ipp8u* pBuffer);

IppStatus ippiWTInv_B53_JPEG2K_32s_C1R(const Ipp32s* pSrc[4], int srcStep[4], Ipp32s* pDst, int dstStep, const IppiRect* pTileRect, Ipp8u* pBuffer);

IppStatus ippiWTInv_B53_JPEG2K_16s_C1IR(Ipp16s* pSrcDstTile, int srcDstStep, const IppiRect* pTileRect, Ipp8u* pBuffer);

IppStatus ippiWTInv_B53_JPEG2K_32s_C1IR(Ipp32s* pSrcDstTile, int srcDstStep, const IppiRect* pTileRect, Ipp8u* pBuffer);

Parameters

pSrc

An array of pointers to the subbands of the source image (in the order LxLy, LxHy, HxLy, HxHy).

srcStep

Array of distances in bytes between starts of consecutive lines in the subbands of the source image.

pDst

Pointer to the destination image.

dstStep

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

pSrcDstTile

Pointer to the source and destination image for in-place operation.

srcDstStep

Distance in bytes between starts of consecutive lines in the source and destination image for in-place operation.

pTileRect

Pointer to the tile rectangle structure.

pBuffer

Pointer to the work buffer.

Description

The function ippiWTInv_B53_JPEG2K is declared in the ippj.h file. This function performs an inverse discrete wavelet transformation using a subband reconstruction in accordance with [ISO15444], Annex F, Discrete Wavelet Transformation of Tile-Components. The function performs one-level reconstruction of the tile of the destination image pDst from the set of four two-dimensional subbands labelled as LxLy, LxHy, HxLy, HxHy. The subband LxLy is a downsampled version of the initial tile that is low-pass filtered horizontally and low-pass filtered vertically. The subband LxHy is a downsampled version of the initial tile that is low-pass filtered horizontally and high-pass filtered vertically. The subband HxLy is a downsampled version of the initial tile that is high-pass filtered horizontally and low-pass filtered vertically. The subband HxHy is a downsampled version of the initial tile that is high-pass filtered horizontally and high-pass filtered vertically. The function uses the 5-3 reversible filter.

For not-in-place flavors, the source subbands are placed separately in the array pDst. For in-place flavors, the source subbands are stored in the pSrcDstTile (see Figure “Subband Positions for in-place Operations”).

The size of the required external buffer should be determined by calling the ippiWTGetBufSize_B53_JPEG2K function prior to using the wavelet transform function.

Return Values

ippStsNoErr

Indicates no error.

ippStsNullPtrErr

Indicates an error condition if any 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 step values is zero or negative.

Submit feedback on this help topic

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