This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IMG_dilate_bin_c的用法



这是imglib中进行膨胀的函数

void IMG_dilate_bin_c (const unsigned char *restrict in_data,  unsigned char *restrict out_data,  const char *restrict mask, int cols)

我的问题是  1、in_data , out_data大小一样吗,是一一对应的吗,我可以把 Uint8 tempYSpace[720*576]作为输入,Uint8 dilateYSpace[720*576]作为输出???

                      2、cols到底是什么意思?

源程序我也没看太懂。。。