- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi there!
I tried to implement a filter function with IppiFilterRow and I figured out that there is something wrong (if I used it correctly):
I use Visual C++ 6.0 with Windows XP and the evaluation Version of IPP. I have the following source code:
int Width = 7;
int Height = 7;
int BorderStepWidth=0;
int FilStepWidth = 0;
int length=3;
// Image with border...
Ipp32f *lp_BorderImg = ippiMalloc_32f_C1( Width+2*(length-1)/2, Height, &BorderStepWidth );
Ipp32f *lp_FilResult = ippiMalloc_32f_C1( Width, Height, &FilStepWidth );
float *kernel = new float[length];
kernel[0]=0.5;
kernel[1]=0;
kernel[2]=-0.5;
IppiSize Size;
Size.width = Width;
Size.height = Height;
IppStatus l_Status = ippiFilterRow_32f_C1R( &(lp_BorderImg[(length-1)/2]),
BorderStepWidth,
lp_FilResult,
FilStepWidth,
Size,
kernel,
length,
(length-1)/2 );
if( ippStsNoErr != l_Status ){
std::cerr << "FilteredImage: " << ippCoreGetStatusString(l_Status) << std::endl;
}
ippiFree( lp_FilResult );
ippiFree( lp_BorderImg );
when I let this code run I get the following debug information (in Debug modus with multithreaded DLL on):
User breakpoint at NTDLL! 77f65a58()
When I go further then I get the following trace:
NTDLL! 77f65a58()
NTDLL! 77f8e139()
NTDLL! 77f75010()
NTDLL! 77f48b37()
IPPIA6! 00d014fe()
IPPIA6! 00ca08d0()
mainCRTStartup()
which is a sign that there is something wrong. I only get these messages at a Width and Heigth of 7 or 5 ( I havent checked all )...
What did I do wrong? Or is there a bug in IppiFilterRow (notice that the same with ippiFilterColumn (with start pointer adapted to column filtering)- everything seems alright),
Thanks in advance,
Stefan Hinterstoisser
I tried to implement a filter function with IppiFilterRow and I figured out that there is something wrong (if I used it correctly):
I use Visual C++ 6.0 with Windows XP and the evaluation Version of IPP. I have the following source code:
int Width = 7;
int Height = 7;
int BorderStepWidth=0;
int FilStepWidth = 0;
int length=3;
// Image with border...
Ipp32f *lp_BorderImg = ippiMalloc_32f_C1( Width+2*(length-1)/2, Height, &BorderStepWidth );
Ipp32f *lp_FilResult = ippiMalloc_32f_C1( Width, Height, &FilStepWidth );
float *kernel = new float[length];
kernel[0]=0.5;
kernel[1]=0;
kernel[2]=-0.5;
IppiSize Size;
Size.width = Width;
Size.height = Height;
IppStatus l_Status = ippiFilterRow_32f_C1R( &(lp_BorderImg[(length-1)/2]),
BorderStepWidth,
lp_FilResult,
FilStepWidth,
Size,
kernel,
length,
(length-1)/2 );
if( ippStsNoErr != l_Status ){
std::cerr << "FilteredImage: " << ippCoreGetStatusString(l_Status) << std::endl;
}
ippiFree( lp_FilResult );
ippiFree( lp_BorderImg );
when I let this code run I get the following debug information (in Debug modus with multithreaded DLL on):
User breakpoint at NTDLL! 77f65a58()
When I go further then I get the following trace:
NTDLL! 77f65a58()
NTDLL! 77f8e139()
NTDLL! 77f75010()
NTDLL! 77f48b37()
IPPIA6! 00d014fe()
IPPIA6! 00ca08d0()
mainCRTStartup()
which is a sign that there is something wrong. I only get these messages at a Width and Heigth of 7 or 5 ( I havent checked all )...
What did I do wrong? Or is there a bug in IppiFilterRow (notice that the same with ippiFilterColumn (with start pointer adapted to column filtering)- everything seems alright),
Thanks in advance,
Stefan Hinterstoisser
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Customer,
Please submit this issue via Intel Premier Support where product support staff will provide further assistance on this issue.
Thanks,
Ying S
Intel Corp.
Please submit this issue via Intel Premier Support where product support staff will provide further assistance on this issue.
Thanks,
Ying S
Intel Corp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Has this problem been resolved? I have try the same way using ippiFilterRow_32f_C1R (kernel size 7) and got ippStsStepErr(-14), which means 'Step value is not valid'.
Using IPP 6.1.1.035.
Regards,
I2R D&T Team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
There was a very old issue with ippiFilterRow_32f_C1R with small images (width < 16) . This was fixed since IPP 5.0 release. Is there any code that can show your problem?
Thanks,
Chao
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