Qt 5.3 OpenCV 2.4.11 Development (0) basic concept of image processing

Source: Internet
Author: User

1, the general color image: its every pixel is composed of three channels, namely, Red (R), Green (G) and Blue (B), 8-bit three-channel color image is the value of each channel in each pixel range is 0~255 (that is, the number of 8 digits in the binary), The entire color image is composed of three channels of the image. Storage in the data is continuously stored in pixels, and the data store in each pixel is continuously stored in RGB. Of course, some image formats have pixel data stored in BGR, depending on the situation.


2. Grayscale Image: It has only one color channel, so it is very fast when doing image processing, each pixel of it is calculated by three channels of color image: Gray = r*0.30 + g*0.59 + b*0.11.


(These two image data are basically the highest usage rate.)

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Qt 5.3 OpenCV 2.4.11 Development (0) basic concept of image processing

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.