<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by ตั้มม on Medium]]></title>
        <description><![CDATA[Stories by ตั้มม on Medium]]></description>
        <link>https://medium.com/@loved_pastel_alpaca_906?source=rss-1e76e730b229------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*ms116LFBO2ARMQfY</url>
            <title>Stories by ตั้มม on Medium</title>
            <link>https://medium.com/@loved_pastel_alpaca_906?source=rss-1e76e730b229------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 04:37:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@loved_pastel_alpaca_906/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Image processing]]></title>
            <link>https://medium.com/@loved_pastel_alpaca_906/image-processing-445f856d62cc?source=rss-1e76e730b229------2</link>
            <guid isPermaLink="false">https://medium.com/p/445f856d62cc</guid>
            <dc:creator><![CDATA[ตั้มม]]></dc:creator>
            <pubDate>Sat, 26 Oct 2019 15:37:59 GMT</pubDate>
            <atom:updated>2019-10-26T15:37:59.744Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Image processing</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xTDdbAiSn1obuGo3MCUtmA.png" /></figure><p>คือ การนำภาพมาประมวลผลหรือคิดคำนวณด้วยคอมพิวเตอร์ เพื่อให้ได้ข้อมูลที่เราต้องการทั้งในเชิงคุณภาพและปริมาณ</p><p>- การทำให้ภาพมีความคมชัดมากขึ้น</p><p>-การกำจัดสัญญาณรบกวนออกจากภาพ</p><p>-การแบ่งส่วนของวัตถุที่เราสนใจออกมาจากภาพ</p><ul><li>เปลี่ยนภาพให้ได้ภาพในแบบที่ต้องการ</li></ul><p><strong>Pixel</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/696/1*3zmVAS4fATkifcNfa_iFcw.jpeg" /></figure><p>Pixel มาจากคำว่า picture (ภาพ) กับคำว่า Element (พื้นฐาน) คือ หน่วนพื้นฐานซึ่งเล็กที่สุดของภาพดิจิตอล เทียบได้กับจุดสีของภาพ 1 จุด ที่มีหลากหลายสี</p><p>1 Pixel จะเป็นสีใดเพียงสีเดียวเท่านั้น</p><p>เนื่องจาก จุด เส้น แบบลายและสีของภาพล้วน เกิดจากพิกเซลทั้งสิ้น</p><p><strong>RGB IMAGE</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/222/1*7Xcb6NhgrhiAQXcBqNCSvA.png" /></figure><p>ภาพในระบบสี RGB ก็หมายความว่ามีเมทริกช์ขนาด 2D ซ้อนกันจำนวน 3 เมทริกช์ซึ่งก็คือค่าความเข้มแสงในสีต่าง ๆ</p><p>-โดย R,G,B จะมีค่าตัวละ 8บิต</p><p>8 บิต = 28 = 256 สี (0–255)</p><ul><li>ระบบ RGB จะมีจำนวนบิตต่อพิกเซลคือ 24 บิต หมายความว่าสามารถแสดงสีได้ถึง 16,777,216 สี</li></ul><p><strong>Grayscale Image</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*uvEzqUzg1vb9xC5tIkjsZQ.png" /></figure><p>ภาพเกรย์สเกลหรือภาพระดับสีเทา</p><p>คือภาพ ขาว-ดำ-เทา โดยจะมีระดับความเข้มจากการแปลงสีเท่าคือ 0–255 ( 8-bit )</p><p>- ภาพเกรย์สเกลเกิดจากการแปลงภาพสี RGB มาเป็น Grayscale โดยใช้สูตรทางคณิตศาสตร์ Gray = 0.299*R+0.587*G+0.114*B</p><p>Gray : ค่าความเข้มของสีเทา มีค่า 0–255</p><p>R : มีค่า 0–255, G : มีค่า 0–255, B : มีค่า 0–255</p><p><strong>Binary Image</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/622/1*x52311d8wKw3whNKOZmVyg.gif" /></figure><p>ไบนารีในทางดิจิตอลหมายถึงว่ามีเพียง 2 สถานะคือ 0 และ 1</p><p>-พิกเซลใดที่มีค่าเป็น 0 = สีดำ</p><ul><li>พิกเซลใดที่มีค่าเป็น 1 = สีขาว</li></ul><p><strong>HSV</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/763/1*VzIFGchIE7fS7cxgh87Owg.gif" /></figure><p>ระบบสี HSV (Hue, Saturation, Value) เป็นระบบสีที่นิยมใช้กันในหมู่นักวิจัย เนื่องจากเป็นระบบสีที่ใกล้เคียงกับความคิดของมนุษย์ได้ดีกว่าระบบสี RGB</p><p>- Hue คือ สีของภาพ</p><p>- Saturation คือ ปริมาณความอิ่มตัวของสี ยิ่งมีค่านี้มาก ภาพจะมีสีสด ยิ่งมีค่าน้อยภาพจะสดน้อย</p><ul><li>Value เป็นค่าที่แสดงถึงปริมาณความสว่างของภาพ</li></ul><p><strong>Image complement</strong></p><p>การทำ Complement ภาพส่วนประกอบของไบนารี่ คือเปลี่ยนค่าศูนย์เป็นหนึ่ง ค่าหนึ่งเป็นศูนย์</p><ul><li>โดยการเปลี่ยนจากภาพ Gray บริเวณที่มืดจะกลับเป็นสว่าง และพื้นที่สว่างจะกลับกลายเป็นที่มืด</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=445f856d62cc" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>