UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Newbie rajesh93
Newbie
7,000 Views
Registered: ‎05-18-2015

calculation of RGB intensities of an image

can any one suggest me  a vhdl code for calculating RGB intensities of each pixel of an image?

0 Kudos
2 Replies
Explorer
Explorer
6,978 Views
Registered: ‎12-29-2007

Re: calculation of RGB intensities of an image

although your question is missing a bit of detail I assume that you are looking for the gray scale equivalent of a RGB pixel.

Please review this IP, you can use the Y value as seen on page 15.

http://www.xilinx.com/support/documentation/ip_documentation/v_rgb2ycrcb/v4_0/pg013_v_rgb2ycrcb.pdf

 

Xilinx Employee
Xilinx Employee
6,967 Views
Registered: ‎07-31-2012

Re: calculation of RGB intensities of an image

Hi,


Are you trying to do some image processing on the input image? You can check out the image statistics IP which should be something which should help your case - http://www.xilinx.com/support/documentation/ip_documentation/v_stats/v5_00_a/pg008_v_stats.pdf

 

It gives a y channel histogram of the input image. 

Thanks,
Anirudh

PS: Please MARK this as an answer in case it helped resolve your query.Give kudos in case the post guided you to a solution.
0 Kudos