logo       

Re: How separate a RGB picture in 3 pictures 1 RED 1 GREN and 1 BLUE??: msg#00671

lib.opencv

Subject: Re: How separate a RGB picture in 3 pictures 1 RED 1 GREN and 1 BLUE??

To access pixel (x, y) in an 8-bit unsigned, 3-plane, BGR image, do
unsigned char *row, red, green, blue;
...
row = image->imageData + image->widthStep * y;
blue = row[3 * x];
green = row[3 * x + 1];
red = row[3 * x + 2];

--- In OpenCV@xxxxxxxxxxxxxxx, "nerviousya" <nerviousya@xxxx> wrote:
>
> If somebody can help me thank you very much
>






Change settings: http://www.yahoogroups.com/mygroups, select
Get Emails (get all posts)
Daily Digest (one summary email per day)
Read on the web (read posts on the web only)Or Unsubscribe by mailing
OpenCV-unsubscribe@xxxxxxxxxxxxxxx



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise