Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.

Migrating from UIC 6.1 to UIC 7.0

Learner991
Beginner
642 Views
I have recently switched my development platform from XP SP3, VS2005, IPP 6.1 to Win7, VS2010, IPP 7.0. I was hoping my old UIC code would just work. But, of course, llife is not so simple...

I'm getting a divide by 0 error when I attempt the following line:
[bash]if(!IsOk(image_out.Buffer().ReAlloc(dataOrder1, geometry)))[/bash]
It used to work, and the paramters I was passing in seemed fine. I was hoping that someone might be able to help:

1) How do I compile a debug version of UIC to step into this a bit further?
2) any suggestions of how to explore this?

Thanks
0 Kudos
2 Replies
Learner991
Beginner
642 Views
After assembling a VS2010 solution and dealing with all the compilation issues, I found the problem. It appears that some genius upgraded the UIC libraries without doing any testing. The problem is in the ImageSamplingGeometry::Period() function. The minsample should not be initialized to 0, but rather to some large number. I now have it working...

0 Kudos
Sergey_K_Intel
Employee
642 Views
Thank you for notifying us. It definitely must be
[bash]    unsigned int minSampleW = IPP_MAX_32U;    
    unsigned int minSampleH = IPP_MAX_32U;[/bash]
We fixed that a couple monthes ago, but this fix didn't get to 7.0.5 samples update.
Regards,
Sergey
0 Kudos
Reply