- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have a problem using ippiDiv_8u_C1RSfs and ippiDiv_8u_C1IRSfs as well. A destination bufferis always filled with zeros, no matter what is a content of source buffers. Even if I use same buffer as src1 and src2, the result of divide is zero filled buffer, but it should be 1's? I tried with many scale factors, including 1, 255, 65535
Thanks
Link Copied
4 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried with IPP4.0 and IPP5.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
scalefactor=1 means that the result is multiplied by 2^(-1) ie x/x will be 1>>1=0 (see manual, Volume 1 p 2-11)
Have you tried with scalefactor=0 or scalefactor<0?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Many thanks,
I tried with scalefactor = -8 and it is ok. Result is scaled by 256.
The problem was, that ippi manual doesn't mention it in ippiDiv function description. And in IppiMan.pdf on the page 2-11 thereare status constants descriptions only.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I may be wrong with the page number. The paragraph name is "Integer Scaling" or "Integer Result Scaling"
![](/skins/images/DF2E495CEC88D713A66401CF495CD875/responsive_peak/images/icon_anonymous_message.png)
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