CV_DistanceTransform function to calculate distance to closest zero pixels for each pixel Calling Sequence dst = CV_DistanceTransform(srcimg,distance_type,mask_size) Parameters srcimg : Source 8-bit single-channel image. distance_type : Type of distance. It can be CV_DIST_L1, CV_DIST_L2 , or CV_DIST_C mask_size : Size of the distance transform mask Description This function can be used to calculate distance to closest zero pixel for each pixel of the source image. Output is 32 bit floatingpoint, single channel image of the same size as that of source image. This is curretly dummy function. It provides no functionality but is required for providing support for generating C code for OpenCV Examples See also CV_CreateImage CV_CvtColor Authors Siddhesh Wani