- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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:
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
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

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