- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Message Edited by karabas on 05-12-2004 10:17 AM
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you please add slightly more details?
What exactly function name, and what is your environment (processor, OS), what was the conditions forcomparison?
Regards,
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
CPU: Pentium 4 with 512MB DDR400 (IPP v4.0 detects the CPU as ippCpuP4HT), Windows 2000
Function name: ippiDistanceTransform_3x3_8u32f_C1R Type of distance: "30" - 3x3 aperture for infinify norm.
Image size: 1376x1030.This black and white image contains around 200 30x30 good objects and lots of small noise objects.
I guess the reason why IPP version is slower is that it uses additional memory buffer, which is 4 times larger than the image itself and also requires integer to FP conversion.
While I perform C++ distance transform in-place. Naturally, Id like to request in-place version of Distance Transform. The difference in speed is not dramatic and can be explained by the reasons mentioned above. So in fact this is not a bug and, as you recommended, I will probably forward this to Technical Support as a feature request.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I consulted with developers, they tell this function has no strong optimization yet, but we have plan to improve performance of this function. Also, we are interested to know, what is more preferable from your point of view, to have 8u or 16u data for this function?
Second,
I think your suggestion to have in-place function is good, so please do not forget to submit this feature request.
Vladimir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Message Edited by karabas on 05-14-2004 11:05 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you, I will bring your info to our developers.
Vladimir
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page