Color Images
A color image is made up of pixels each of which holds three numbers correspond¬ing to the red, green, and blue levels of the image at a particular location. Red, green, and blue (sometimes referred to as RGB) are the primary colors for mixing light—these so-called additive primary colors are different from the subtractive pri¬mary colors used for mixing paints (cyan, magenta, and yellow). Any color can be created by mixing the correct amounts of red, green, and blue light. Assuming 256 levels for each primary, each color pixel can be stored in three bytes (24 bits) of memory. This corresponds to roughly 16.7 million different possible colors.
Note that for images of the same size, a black and white version will use three times less memory than a color version.
ภาพสี
ภาพสีถูกสร้างขึ้นจากแต่ละพิกเซลซึ่งถือสามตัวเลขcorrespond¬ingเป็นสีแดง, สีเขียว, สีฟ้าและระดับของภาพในสถานที่โดยเฉพาะอย่างยิ่ง สีแดง, สีเขียวและสีฟ้า (บางครั้งเรียกว่า RGB) เป็นสีหลักสำหรับการผสมแสงเหล่านี้เรียกว่าสีหลักสารเติมแต่งที่แตกต่างจากสีpri¬mary subtractive ใช้สำหรับผสมสี (สีฟ้าสีม่วงและสีเหลือง) สีใด ๆ ที่สามารถสร้างขึ้นโดยการผสมปริมาณที่ถูกต้องของสีแดง, สีเขียวและสีฟ้าอ่อน สมมติว่า 256 ระดับสำหรับหลักแต่ละพิกเซลแต่ละสีสามารถเก็บไว้ในสามไบต์ (24 บิต) ของหน่วยความจำ นี้สอดคล้องกับประมาณ 16,700,000 สีที่เป็นไปได้ที่แตกต่างกัน.
โปรดทราบว่าสำหรับภาพที่มีขนาดเดียวกัน, รุ่นสีดำและสีขาวจะใช้สามครั้งหน่วยความจำน้อยกว่ารุ่นสี
การแปล กรุณารอสักครู่..