cancel
Showing results for 
Search instead for 
Did you mean: 

how to understand configuration of downsize of IMX335 camera in STM32N6570-DK

Z-YF
Associate III

I am using the STM32N6570-DK kit, and I want to use the camera to capture 224*160 size image, but I don't know how to do this, the sample programs are all about 800*480,and I can't understand the configuration of the downsize.

The lines below can change the original 2592*1944 size into 800*480, but how? When initializing the IMX335 sensor, it was set to capture the 2592*1944 size image.

/* Configure the downsize */

DonwsizeConf.HRatio = 25656;

DonwsizeConf.VRatio = 33161;

DonwsizeConf.HSize = 800;

DonwsizeConf.VSize = 480;

DonwsizeConf.HDivFactor = 316;

DonwsizeConf.VDivFactor = 253;

0 REPLIES 0