การประมวลผลภาพ Image - Suan Sunandha Rajabhat University · 2017. 9....

Post on 29-Mar-2021

4 views 0 download

transcript

การประมวลผลภาพ

Image

processing

พื �นฐานภาพดจิทิลั

Introduction of Image

processing

• What is a digital image? • What is digital image

processing?

• History of digital image processing

• State of the art examples of digital image processing

• Key stages in digital image processing

digital image ภาพดิ จิทัล จะ เ ป็นการแสดงภา พใน แบบ สอง มิติ ที�

ประกอบด้วยค่าข้อมูลทางดิจิตอล มาประกอบกันเป็นภาพ

โดยเรียกจดุที�ประกอบเป็นภาพวา่พิกเซล

Pixel คา่พิกเซลมกัจะแสดงถงึคา่สีระดบัสีเทา

คา่ระดบัสี

คา่ความสงู

คา่ความสว่างหรือทบึ

และอื�น ๆ

การแปลงภาพจริงให้เป็นรูปภาพแบบดิจิทลั

จะได้ภาพดจิิทลัเป็นภาพที�ใกล้เคียงกบัภาพจริง

ซึ�งจะเป็นการประมาณคา่สีในแต่ละจดุภาพ

image formats Common image formats include:

• 1 sample per point (B&W or Grayscale)

• 3 samples per point (Red, Green, and Blue)

• 4 samples per point (Red, Green, Blue, and “Alpha”, a.k.a. Opacity)

History of Digital Image Processing

Early 1920s:

การถ่ายภาพดจิติอลเริ�มในอุตสาหกรรมการพมิพ์

กระดาษหนังสือพิมพ์

Application

• The Hubble Telescope • Artistic Effects

• Medicine

• Geographic Information Systems

• Industrial Inspection

• HCI : human computer interfaces

• Law Enforcement

Key Stages in Digital Image Processing

http://www.comp.dit.ie/bmacnamee/gaip.htm

การปรับปรุงและการเพิ�ม

คุณภาพของภาพ

Image Enhancement

Enhancement เทคนิค • Histogram Processing • Point Processing

• Spatial Filtering

• Frequency Filtering

improve quality

remove noise

techniques etc.

การทาํเซกเมนต์ภาพ

Image Segmentation

http://www.ntu.edu.sg/home/asjfcai/Benchmark_Website/semantic-example.png

การตรวจจับขอบ

Edge detection

https://camo.githubusercontent.com/da32e7e3275c2a9693dd2a6925b03a1151e2b098/687474703a2f2f70616765732e756373642e656

4752f7e7a74752f6865642e6a7067

การผันรูปลักษณะ

Image transforms

https://i-msdn.sec.s-msft.com/dynimg/IC620419.png

การบีบอัดภาพ

Image compression

https://www.pcmag.com/encyclopedia/term/46335/lossy-compression

http://preservationtutorial.library.cornell.edu/tutorial-images/compression-glasses.jpg

https://optimuscdn.keycdn.com/support/wp-content/uploads/2016/07/lossy-compression-ratios.jpg

สัญญาณรบกวนและการใช้ตัว

กรองสัญญาณ

Noise and filter

https://image.slidesharecdn.com/noisefiltering-131223205009-phpapp02/95/noise-filtering-29-638.jpg?cb=1387832136

http://what-when-how.com/wp-content/uploads/2011/09/tmp6207.jpg

http://www.bogotobogo.com/Matlab/images/ImageProcessing_6_Low_Pass_Filter/noise_in_rgb_image.png

การแปลงสัญญาณภาพ

The convolution

http://www.songho.ca/dsp/convolution/files/conv2d_matrix.jpg

https://i1.wp.com/timdettmers.com/wp-content/uploads/2015/03/convolution.png?resize=500%2C193