- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would like to calculate a 2d wavelet transform with a filter tap of length 3 and anchor point 0, more precisely:
lenLow = 3;
lenHigh = 3;
anchorLow = 0;
anchorHigh = 0;
Following the manual at
http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/ippxe/ipp_manual_win_mac/IPPI/ippi_ch13/functn_WTFwd.htm,
this means I end up with a value of "-1" for rightBorderLow, more precisely:
leftBorderLow = 2;
leftBorderHigh = 2;
rightBorderLow = -1;
rightBorderHigh = -1;
and then
leftTopBorder = 2;
rightBottomBorder = -1;
This means that the later call to ippiCopyWrapBorder_32f_C1R() fails, as I want to add a left-top border of 2 pixels, but the image has only been grown by leftTopBorder+rightBottomBorder=1 pixel.
So, how do I proceed here? IPP is 6.1, but the example code hasn't change for IPP 7.0.
Thanks
Thomas
I would like to calculate a 2d wavelet transform with a filter tap of length 3 and anchor point 0, more precisely:
lenLow = 3;
lenHigh = 3;
anchorLow = 0;
anchorHigh = 0;
Following the manual at
http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/ippxe/ipp_manual_win_mac/IPPI/ippi_ch13/functn_WTFwd.htm,
this means I end up with a value of "-1" for rightBorderLow, more precisely:
leftBorderLow = 2;
leftBorderHigh = 2;
rightBorderLow = -1;
rightBorderHigh = -1;
and then
leftTopBorder = 2;
rightBottomBorder = -1;
This means that the later call to ippiCopyWrapBorder_32f_C1R() fails, as I want to add a left-top border of 2 pixels, but the image has only been grown by leftTopBorder+rightBottomBorder=1 pixel.
So, how do I proceed here? IPP is 6.1, but the example code hasn't change for IPP 7.0.
Thanks
Thomas
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Thomas,
Wrap border is simple. If you could can not call the function. It may only needs to extendend by yourself. For example,
1 2 3 4 56
is extentend as:
3 4 5 1 2 3 4 5 1 2 3
The data underlined is extended data. A more complex examples on other extenstion can be found here:
http://software.intel.com/en-us/forums/showthread.php?t=78540
Thanks,
Chao
Wrap border is simple. If you could can not call the function. It may only needs to extendend by yourself. For example,
1 2 3 4 56
is extentend as:
3 4 5 1 2 3 4 5 1 2 3
The data underlined is extended data. A more complex examples on other extenstion can be found here:
http://software.intel.com/en-us/forums/showthread.php?t=78540
Thanks,
Chao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Chao,
thanks for your answer. However, my question is more along the lines of whether I'm doing something wrong when choosing an anchor point at 0? And how to calculate the values for leftTopBorder and rightBottomBorder?
Thanks
Thomas

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page