- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
Sorry, my english poor.
I hope, that I found BUG at ippsDemo programm. This error related for all Threshold function, that use Value argument, like Threshold_LTVal_16s.
This error occur because of Line 53 of file RunThresh.cpp has error string
m_bValue = func.Found("Value");
Variable 'm_bValue' is TRUE if ipp function name has 'Value' argument. But function name include 'Val' substring, don't 'Value'. So, Line 53 must be:
m_bValue = func.Found("Val");
Now, demonstration work properly.
Pictures 1, 2 demontration Threshol_LTVal_16s for arguments: level=-5, value=-20. Picture 1 - wrong demo, picture 2 - result of fix code demo.
Thank you.
Picture 1:

Picture 2:
Sorry, my english poor.
I hope, that I found BUG at ippsDemo programm. This error related for all Threshold function, that use Value argument, like Threshold_LTVal_16s.
This error occur because of Line 53 of file RunThresh.cpp has error string
m_bValue = func.Found("Value");
Variable 'm_bValue' is TRUE if ipp function name has 'Value' argument. But function name include 'Val' substring, don't 'Value'. So, Line 53 must be:
m_bValue = func.Found("Val");
Now, demonstration work properly.
Pictures 1, 2 demontration Threshol_LTVal_16s for arguments: level=-5, value=-20. Picture 1 - wrong demo, picture 2 - result of fix code demo.
Thank you.
Picture 1:
Picture 2:
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This is how it looks like:
...
...
BOOL CRunThresh::Open(CFunc func)
{
if (!CippsRun::Open(func)) return FALSE;
m_bValue = func.Found("Value");
int type = func.SrcType();
value.Init((ppType)type);
type &= ~PP_CPLX;
level.Init((ppType)type);
return TRUE;
}
...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
The problem was reproduced and fixed in IPP 7.0.6
The problem was reproduced and fixed in IPP 7.0.6

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