|
Re: How separate a RGB picture in 3 pictures 1 RED 1 GREN and 1 BLUE??: msg#00714lib.opencv
to obtain 3 images, use cvSplit( img_RGB, R, G, B, 0 ); Simon --- In OpenCV@xxxxxxxxxxxxxxx, "cegparamesh" <cegparamesh@xxxx> wrote: > > 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> |
|---|---|---|
| Previous by Date: | Re: Re: V4L2 Support: 00714, Matthias Jauernig |
|---|---|
| Next by Date: | Other Computer Vision communities: 00714, szivs5 |
| Previous by Thread: | Re: How separate a RGB picture in 3 pictures 1 RED 1 GREN and 1 BLUE??i: 00714, cegparamesh |
| Next by Thread: | Circle Detection: 00714, saxvision05 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |