Message Edited by karabas on 05-12-2004 10:17 AM
链接已复制
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.
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
Message Edited by karabas on 05-14-2004 11:05 AM
