Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
6632 Discussions

ippiTrueDistanceTransform_8u32f_C1R limitations?

rwagnerintel
Beginner
142 Views

Empirical studies show that ippiTrueDistanceTransform_8u32f_C1R caps the maximum distance value at 1000.0. Is this an actual limitation to the routine or am I missing something? My expectation would be that the max value would be constrained by the data type (i.e. IPP_MAXABS_32F). Howeve, the value is obviously limited by memory contraints on the allowable image sizes.

My test consisted of an nxn image with the center pixel set to zero and the rest filled with ones. With n = 1600, all pixels beyond the 1000 pixel distance to the closest feature pixel are set to 1000.

Thanks for any input,

Bob

0 Kudos
1 Reply
Vladimir_Dudnik
Employee
142 Views
Hello,
it is limitation of algorithm implemented in the function. We will extend limits for image sizes to be processed by this function in the next version of IPP.
Regards,
Vladimir

Reply