Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > is it possible FX3 UVC video in greyscale format?

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



is it possible FX3 UVC video in greyscale format?
Moderator:
RSKV

Post Reply
Follow this topic



is it possible FX3 UVC video in greyscale format?

karnel posted on 17 Jul 2012 10:48 AM PST

1 Forum Post

Hello,

I'm developing FPGA board which generates grayscale images from scanning electron microscope and considering FX3 for sending that as video over USB. Since there is no colors I wander could it be an easy way to modify FX3 UVC app to transmitt just greyscale images (Y channel) and no color (UV).  And if so, would that format be understood by generic UVC drivers?  I know YUV format has Y8 and Y16 variations, but it is not anywhere directly mentioned in UVC documentation. Could somebody having FX3 board on the table just try that by disabling UV channels?

 

 

 

 

 

 




Re: is it possible FX3 UVC video in greyscale format?

RSKV posted on 20 Jul 2012 07:33 AM PST
Cypress Employee
655 Forum Posts

Right, I too doubt the usefulness of standard UVC driver for your application.



Re: is it possible FX3 UVC video in greyscale format?

AssemblyRequired posted on 21 Dec 2012 11:34 AM PST
Top Contributor
37 Forum Posts

Better late than never...

I have grayscale video working from a FX3 to a Linux box. The Linux uvcvideo driver supports the 'Y800' FOURCC.

Windows is not so accommodating. There, I think you would have to register your own codec to interpret the video data.

Steve 



Re: is it possible FX3 UVC video in greyscale format?

Gayathri posted on 24 Dec 2012 11:02 AM PST
Cypress Employee
327 Forum Posts

 Hi,

 

I believe you may need a filter driver in addition to UVC driver for this purpose.

 

Regards,

Gayathri



Re: is it possible FX3 UVC video in greyscale format?

logicland posted on 15 Jan 2013 07:20 AM PST
Member
9 Forum Posts

Hi karnel,

Its been a while since your 1st post perhaps you have answered your question already. There does seem to be little web discussion on the subject on UVC, YUV and greyscale.

Anyway I have developed a UVC camera based on an Aptina sensor specifically for greyscale applications. The sensor normally outputs color but changing a register setting forces it to output only luma information which actually works. Exactly what this means data-wise isn't discussed in the datasheets but it could just be the 'Y' byte (Luma) with the U and V set to 0x80 i.e. zero chrominance (probably easier to quote than arrange)

Interestingly AmCap by default shows a "ColorEnable" tick-box but there is no mention of it in the USB specs or web-discussions, if anyone has the answer please let me know, for the time being I'm using a Vendor Command to access this control.

 






ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.