Community
cancel
Showing results for 
Search instead for 
Did you mean: 
erano111
Beginner
85 Views

Binary image skeleton

Hi,
How can I use IPP to locate theskeleton of a binary image?
Assume we have in the image few road (on white) - I wish to show only the connected center on them
Thanks,
Eran
0 Kudos
2 Replies
Ying_H_Intel
Employee
85 Views

Hi Eran,

What exact algorithm do you want to locate the skeleton of a binary image?

Seeing from the on-line IPP manual URL
http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/ippxe/ipp_manual_lnx/ind...,
The Intel IPP image and video processing software is a collection of low-overhead, high-performance operations performed on two-dimensional (2D) arrays of pixels. Examples of such operations are linear transforms, filtering, and arithmetic on image data (see Intel IPP Reference Manual. Volume 2: Image and Video Processing). It provides over thousandfoundational functions for image processing.

So as i understand, you maysearchthe IPP functions undersection compute vision, image edge detect, image segementation, or Image Moments or the routines from Image statistics to complete what you hope to do.
for example callthe function ippiDistanceTransform_XX(), ippiTrueDistanceTransform_8u32f_C1R,ippiFastMarching_8u32f_C1R (usingfast marching method.) they calculates distance to the closest zero pixel for all non-zero pixels of source image, can be useda wide variety of subjects including skeleton finding and shape analysis.

Regards,
Ying H.
Naveen_G_Intel
Employee
85 Views

Hi Eran,

As Ying mentioned, you can look into IPP Sobel filter functions. IPP sample code has Picnic application. This application demonstrates different image operation including edge detection (Sobel filter).

Thanks,

Naveen Gv

Reply