I am using the convolution of pvp to resize the image. The image data is read from the sd card, which is set as the global variable red[640*480]. I have configured the PVP with PVP Programmer plug-in, named pvp_gaussian_filter, and initialized the pvp pipe following the example. However, the output is black in image viewer.
The input data is grey image,8 bits per pixel, so i set
oIPF1Control.eColorFormat = ADI_PVP_COLOR_FORMAT_YONLY_8BIT; I want to resize the image from 640*480 to 320*240, at the same time to convolve the image with gaussian kernel 5*5,Q9.6. But it didnt work, CONVOutbuf in image viewer is a black image.i dont konw what is wrong because it returns ADI_PVP_SUCCESS. I post the automatical code named pvp_gaussian_filter.c ,pvp_programmer.h and the initialized file named pvp_filter.c.
I hope someone can help me,thanks very much!
We recommend to take a look at the UDS example which demonstrates the image resizing.The up-down scaler (UDS) is an image resizing block.This supports input frame sizes from 10x10 to 1280x960.
You can find the Up-down Scaler example in the below ADSP-BF609 Board support package installation path.<installation drive>:\Analog Devices\ADSP-BF609_Evaluation_Board-Rel1.1.0\BF609_EZ-Board\Blackfin\Examples\drivers\pvp\BF609_UDS
Also please refer the below Ezone link.https://ez.analog.com/message/55175