• 0
Laumont

Changing INPUT FORMAT on PCAM5C on ZYBO Z7-20

Question

Posted (edited)

Hi! I'm using a PCAM5C with Zybo Z720 revision platform on SDSoC. Right now I'm using filter2D for PCam5C and I've seen that the default format is  a multi-planar, two-plane version of the YUV 4:2:2 format, and when they apply the filter2d they just use the Y plane. I wanted to know if anyone could help me with changing this format into RGB because I want to use in the filter2d.cpp the cvtColor to transform the RGB 3channels  into 1 grayscale. Or if maybe there's a conversion between YUV4:2:2 and RGB by using the two planes?

Thanks so much!!

 

Edited by Laumont

Share this post


Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Hi @Laumont,

I'm not personally familiar with the filter2D material but it looks like there are some extra commands and settings you can do for filter2D available here: https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18841920/reVISION+Getting+Started+Guide+2017.4#reVISIONGettingStartedGuide2017.4-RuntheFilter2Dsampleapplication.

Otherwise, it looks like there are some conversions available in the Color Conversion section in this OpenCV User Guide.

Thanks,
JColvin

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now