Friday, October 17, 2008

More Facts about a Bitmap Image - ความรู้เพิ่มเติมเกี่ยวกับภาพบิตแม็ป


A bitmap image is resolution dependent. It is created by a fixed resolution of a pixel grid used to create it. The more pixels (higher resolution) a grid contains, the higher image quality a bitmap image has. The spatial resolution of a bitmap image is measured by the number of pixels or dots in a unit length in each image direction, such as, 72 ppi (pixels per inch) for displaying on a computer screen, 600 dpi (dots per inch) for printing out with any digital printers. Besides being defined by the number of pixels or dots in a unit length, resolution of a bitmap image can be defined by the total number of pixels in that image as used in digital photography which has the unit of resolution in megapixel.

A bitmap image with a higher resolution takes up more storage media space than one with a lower resolution. Also it requires a more powerful computer for an image manipulation task.

A bitmap image isn’t scalable without a sacrifice for its image quality. When it is (too much) enlarged, the resolution becomes less and pixels are larger and become visible. An image thus becomes pixilated, have jagged edges and loses clarity and sharpness (blurring). When it is (too much) shrunk, image clarity and details are lost, usually fine details.

A bitmap image can be created by taking photos with a digital camera, scanning originals with an image scanner or using any paint- and image manipulation programs. Examples of programs used to create a bitmap image are Adobe Photoshop, Paint Shop Pro and Corel Paint.

A bitmap format is ideal for photographs or continuous tones that have myriads of colors and subtle tones. The number of colors and tones are dependent upon the number of bits assigned to each pixel. The more bits per pixels, the more colors and tones.

A bitmap image can be stored in many different file format, such as JPEG, GIF, TIFF, BMP, PICT, PSD, etc.


ภาพบิตแม็ปอิงกับความละเอียด สร้างขึ้นจากตารางกริดของพิกเซลที่มีความละเอียดจำกัดค่าหนึ่ง ยิ่งในตารางกริดสามารถมีจำนวนพิกเซลได้มากเท่าไร ภาพบิตแม็ปนั้นยิ่งมีคุณภาพสูงมากเท่านั้น ความละเอียดเชิงพื้นที่ของภาพบิตแม็ปวัดเป็นหน่วยจำนวนพิกเซลหรือจุดต่อหนึ่งหน่วยความยาวในแต่ละด้านของภาพ เช่น 72 พิกเซลต่อนิ้ว สำหรับการแสดงภาพบนจอคอพิวเตอร์ หรือ 600 จุดต่อนิ้ว สำหรับการพิมพ์ออกด้วยเครื่องพิมพ์ดิจิทัล นอกจากนี้ความละเอียดของภาพบิตแม็ปยังสามารถกำหนดโดยใช้จำนวนพิกเซลทั้งหมดที่มีในภาพ ดังที่ใช้กับการถ่ายภาพดิจิทัล ซึ่งมีหน่วยวัดเป็นล้านพิกเซล

ภาพบิตแม็ปที่มีความละเอียดสูงย่อมต้องใช้เนื้อที่ของสื่อบันทึกข้อมูลมากกว่า และต้องใช้คอมพิวเตอร์ประสิทธิภาพสูงขึ้นสำหรับใช้ในงานการจัดการภาพ

ภาพบิตแม็ปได้รับการสร้างด้วยความละเอียดที่จำกัดค่าหนึ่ง ดังนั้นการเปลี่ยนแปลงขนาดของภาพบิตแม็ป ย่อมหลีกเลี่ยงการสูญเสียคุณภาพของภาพไปไม่ได้ เมื่อขยายภาพบิตแม็ปให้ใหญ่เกินไป ความละเอียดของภาพลดลง พิกเซลมีขนาดใหญ่ขึ้น จนเห็นได้ชัด ภาพบิตแม็ปจึงเกิดการขึ้นพิกเซล มีขอบภาพหยัก สูญเสียความชัดเจนและความคมชัด (พร่ามัว) ในทางกลับกันหากย่อภาพบิตแม็ปมากเกินไป ส่งผลให้สูญเสียความชัดเจน และรายละเอียดของภาพ โดยเฉพาะรายละเอียดขนาดเล็ก

ภาพบิตแม็ปสร้างขึ้นได้จากการถ่ายภาพด้วยกล้องดิจิทัล กราดด้วยเครื่องกราดภาพ หรือสร้างด้วยโปรแกรมระบาย และโปรแกรมจัดการภาพ

ภาพในรูปบิตแม็ปเหมาะสำหรับภาพถ่ายหรือภาพที่มีน้ำหนักสีต่อเนื่อง ซึ่งมีสีและน้ำหนักสีเข้มอ่อนอยู่เป็นจำนวนมาก จำนวนสีและน้ำหนักสีขึ้นกับการกำหนดจำนวนบิตให้แก่พิกเซลแต่ละพิกเซล ยิ่งพิกเซลมีบิตได้มากเท่าไร ภาพบิตแม็ปนั้นยิ่งมีสีและน้ำหนักสีได้มากเท่านั้น

ภาพบิตแม็ปสามารถเก็บได้โดยใช้รูปแบบแฟ้มข้อมูลได้หลายรูปแบบ เช่น JPEG, GIF, TIFF, BMP, PICT, PSD

Wednesday, October 15, 2008

Types of Digital Images - ชนิดของภาพดิจิทัล

There are two general types of digital images; still image and motion image. In addition, there are two dimensional (2D) - and three dimensional (3D) digital ones. However, this blog will focus only on a 2D digital still image because the contents in this blog are mainly concerned about digital photography with a digital camera and image manipulation with Photoshop software. The 2D digital still images are divided into two types; bitmapped image and vector image.

Bitmapped image, also called raster image, is the image made up of many pixels (pixel is short for the computer term, “picture element”). Pixel can be thought of as a colored tiny dot. These dots when arrange together on a rectangular grid can form an image. Since these dots are in digital form, they are defined by a binary digit or bit (0 and 1). The image is a map of bits or a spatially mapped array of bits. This type of digital image is thus called Bitmap.









Vector image, also called object-oriented image, is the image made up of many individual scalable objects. These objects are points, lines, curve, shapes or colors, rather an array of pixels. They are defined by mathematic equations. An object in computer science is a part of computer program containing both computer instructions and information on which the instructions operate. A vector is a mathematical object that possesses both magnitude and direction. Any vector images or graphics are created by using anchor points. When adjusting their locations, shapes of vector images can be modified.







โดยทั่วไป สามารถจำแนกภาพดิจิทัลออกได้เป็น 2 ประเภท คือ ภาพนิ่งและภาพเคลื่อนไหว นอกจากนี้ก็ยังมีภาพดิจิทัลที่เป็นภาพสองมิติและภาพสามมิติ อย่างไรก็ตาม เนื่องจากบล็อกนี้มุ่งนำเสนอเนื้อหาเกี่ยวกับการถ่ายภาพดิจิทัลด้วยกล้องถ่ายภาพดิจิทัล และการจัดการภาพด้วยซอฟต์แวร์โฟโตช็อป ดังนั้นจึงให้ความสำคัญเฉพาะภาพนิ่ง 2 มิติเท่านั้น ซึ่งสามารถจำแนกออกได้เป็นสองประเภท คือ ภาพบิตแม็ป และภาพเวกเตอร์

ภาพบิตแม็ป หรือภาพแรสเทอร์ คือ ภาพที่เกิดจากพิกเซล (pixel เป็นรูปย่อของคำว่า picture element) สามารถนึกถึงพิกเซลว่าเป็นจุดสีขนาดเล็ก เมื่อนำจุดสีจำนวนมากมาเรียงกันลงในตารางกริดสี่เหลี่ยมก็จะสามารถสร้างให้เกิดเป็นภาพขึ้นได้ เนื่องจากจุดสีเหล่านี้อยู่ในรูปดิจิทัล จึงได้รับการกำหนดเป็นบิต (0 และ 1) ภาพบิตแม็ปจึงเป็นภาพของแผนที่บิต หรือแผนที่แสดงการจัดเรียงบิต ซึ่งเป็นที่มาของชื่อบิตแม็ป

ภาพเวกเตอร์ หรือภาพเชิงวัตถุ เป็นภาพที่ไม่ได้ประกอบขึ้นจากพิกเซล หากแต่ประกอบขึ้นจากวัตถุต่างๆ ที่เป็นอิสระต่อกันและเป็นวัตถุที่สามารถขยายขนาดได้ วัตถุเหล่านี้คือ จุด เส้น โค้ง รูปหลายเหลี่ยม และสี วัตถุเหล่านี้อยู่ในรูปของสมการทางคณิตศาสตร์ และเป็นส่วนหนึ่งของโปรแกรมคอมพิวเตอร์ ที่มีทั้งคำสั่งทางคอมพิวเตอร์ และข้อมูลสำหรับคำสั่งที่จะนำไปใช้เพื่อสร้างภาพเวกเตอร์รวมอยู่ด้วยกัน ในขณะที่เวกเตอร์ คือ วัตถุทางคณิตศาสตร์ ซึ่งมีทั้งขนาดและทิศทาง ภาพเวกเตอร์ใดๆ สร้างขึ้นโดยอาศัยจุดตรึง เมื่อปรับตำแหน่งของจุดตรึงนี้ ก็จะสามารถปรับเปลี่ยนรูปร่างของภาพเวกเตอร์ได้

Tuesday, October 7, 2008

What is Digital Photography? - การถ่ายภาพดิจิทัลคืออะไร



Digital photography is a film-free photography that utilizes a digital camera to capture an image signal of a subject, record it and transform its analog form into a digital form. Without a film, the recording of the image is achieved by using a photo sensor. The type of the photo sensor generally used inside any digital cameras is one of the two kinds; CCD (Charge-couple device) or CMOS (Complementary Metal Oxide Semiconductor). The function of the photo sensor is to convert light into electrical charges. The charge in an analog form then is turned to digital value by an analog to digital converter (A/D Converter or ADC). The digital value or image is recorded on camera data storage medium. The digital image data can be stored, displayed, manipulated, printed and transferred using a digital computer system.


การถ่ายภาพดิจิทัล เป็นวิธีการถ่ายภาพที่ไม่ใช้ฟิล์มถ่ายภาพ อาศัยกล้องดิจิทัลในการนำเข้าสัญญาณภาพ บันทึกสัญญาณ และแปลงสัญญาณในรูปแอนะล็อกให้เป็นดิจิทัล การที่ไม่ใช้ฟิล์มในการถ่ายภาพ ในการบันทึกภาพเกิดขึ้นได้โดยอาศัยอุปกรณ์รับแสง อุปกรณ์รับแสงที่ใช้กันทั่วไปในกล้องดิจิทัลมีอยู่ด้วยกันสองชนิด คือ ซีซีดี และซีมอส หน้าที่ของอุปกรณ์รับแสง คือ แปลงแสงให้เป็นประจุไฟฟ้า จากนั้นประจุไฟฟ้าที่อยู่ในรูปแอนะล็อกจะได้รับการแปลงให้เป็นค่าดิจิทัลหรือภาพดิจิทัล ภาพดิจิทัลได้รับการบันทึกในสื่อเก็บข้อมูลของกล้อง ภาพดิจิทัลสามารถเก็บ แสดง จัดการ พิมพ์ออก และถ่ายโอนไม่ใช่ฟิล์ม ข้อมูลภาพดิจิทัลสามารถเก็บ แสดง จัดการ พิมพ์ออก และถ่ายโอนด้วยระบบคอมพิวเตอร์


อุปกรณ์รับแสงซีมอส (CMOS sensor)