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.

#imglib# IMG_conv_3x3_i8_c8s如何使用?



我想对图像进行高斯滤波和均值滤波,查阅后觉得使用imglib库文件比较合适。

我在ti文件夹里看到了imglib_3_1_1_0_release_notes.html,里面提到滤波操作有IMG_conv_3x3_i8_c8s等一系列函数,但是文档只是提供了使用说明,其中并不包含例程,而imglib自带的一个例程是边缘检测。自带文档的说明如下:

void IMG_conv_3x3_i8_c8s 	( 	const unsigned char *restrict  	imgin_ptr,
		unsigned char *restrict  	imgout_ptr,
		short  	width,
		short  	pitch,
		const char *restrict  	mask_ptr,
		short  	shift	 
	) 		
Parameters:
    	imgin_ptr 	Pointer to an input image of 8-bit pixels
    	imgout_ptr 	Pointer to an output image of 8-bit pixels
    	width 	Number of output pixels
    	pitch 	Number of columns in the image
    	mask_ptr 	Pointer to an 8-bit filter mask
    	shift 	User specified right shift on sum

请问能否提供一个使用imglib进行滤波的例程?是用IMG_conv_nxn_in_cns这个系列函数实现的吗?

除此之外,基于dsp的开发环境怎么实现滤波操作比较好呢?