- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi,
when I used GaussianBorder function always get exception thrown at some image size.
image : 594x4082(h*w)
kernelSize:3
maxRoiSize:594x4082
compile_mode:debug_X64
IPP version:2020.2.254
exception information:
Exception thrown at 0x00007FF6B64765A0 in xxx.exe: 0xC0000005: Access violation reading location 0x000001CFAE3B6000.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you give us the example of the code which we could compile and execute on our end with the latest version of IPP?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used IPP lib, as you can refer to the pseudo code below:
----------------------------------
unsigned char* src_head = 0, *dst_head = 0;
int flag,bufSize = 0,specSize = 0;
IppiSize IPPRoiSize = { 0, 0 };
unsigned int kernelSize = 3;
unsigned char* buffer = 0;
IppFilterGaussianSpec* pSpec = NULL;
IPPRoiSize.width = 4082;
IPPRoiSize.height = 594;
flag = ippiFilterGaussianGetBufferSize(IPPRoiSize, kernelSize, ipp8u, 1, &specSize, &bufSize);
pSpec = (IppFilterGaussianSpec*)malloc(specSize);
buffer = malloc(bufSize);
flag = ippiFilterGaussianInit(IPPRoiSize, kernelSize, 3.0f, ippBorderMirror, ipp8u, 1, pSpec, buffer);
src_head = head of src image;
dst_head = head of dst image;
flag = ippiFilterGaussianBorder_8u_C1R(src_head, 4082, dst_head, 4082, IPPRoiSize, 0, pSpec, buffer);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I see no problem on my end.
AVX2 bases system. static linking, sequential.
here is the output:
>_stat_single.exe
========================================================================
version of IPP is: ippIP AVX2 (l9) 2020.0.2 (r0xbb6c2c1d) 2020.0.2.-1150538723
========================================================================
...ippiFilterGaussianGetBufferSize / status = ippStsNoErr: No errors
...ippiFilterGaussianInit / status = ippStsNoErr: No errors
#1...ippiSet_8u_C1R SRC... / status = ippStsNoErr: No errors
#2...ippiSet_8u_C1R DST... / status = ippStsNoErr: No errors
...ippiFilterGaussianBorder_8u_C1R / status = ippStsNoErr: No errors
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The issue is closing and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread. Any further interaction in this thread will be considered community only.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page