STM32F4,DCMI_OV9655_SelectOutputFormat
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-04-20 3:02 PM
Posted on April 21, 2017 at 00:02
I am using the ov9655 camera for image processing with the STM32F4 microprocessor. I want to convert the camera format from RGB to YUV(grayscala) . How can ı do it ?
/* OV9655 Camera size setup */
#if defined (QQVGA_SIZE) DCMI_OV9655_QQVGASizeSetup(); #elif defined (QVGA_SIZE) DCMI_OV9655_QVGASizeSetup(); #endif /* Set the RGB565 mode */ DCMI_SingleRandomWrite(OV9655_DEVICE_WRITE_ADDRESS, OV9655_COM7, 0x63); DCMI_SingleRandomWrite(OV9655_DEVICE_WRITE_ADDRESS, OV9655_COM15, 0xd0);/* Invert the HRef signal*/
DCMI_SingleRandomWrite(OV9655_DEVICE_WRITE_ADDRESS, OV9655_COM10, 0x08); /* OV9655 Camera DCMI setup */ OV9655_DCMI_Configuration();return (0x00);
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-04-22 1:38 PM
Posted on April 22, 2017 at 22:38
Turvey.Clive.002
Centauris.Alpha
