1 / 27

การประมวลผลภาพแบบดิจิตอล Ian Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น

การประมวลผลภาพแบบดิจิตอล Ian Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น. Inside a digital image How colour is defined for images How colour is represented in an image. การประมวลผลภาพแบบดิจิตอล Ian Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น.

janet
Télécharger la présentation

การประมวลผลภาพแบบดิจิตอล Ian Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น • Inside a digital image • How colour is defined for images • How colour is represented in an image

  2. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Representing colour

  3. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น The Windows colour cube is 6x6x6 with 216 colours. Blue Green Red Gray line http://www.webreference.com/dev/graphics/palette.html

  4. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Green Blue Red We can make the grey line vertical by changing the direction of the R, G and B axes.

  5. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Intensity Hue Red Green Red Red Blue Green Blue Green Blue Saturation Transforming from RGB to HSI

  6. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Converting from RGB to HSI: firstly we normalize the RGB values.

  7. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Now calculate normalized h, s and i values

  8. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Now convert h, s and i to more convenient H, S and I values http://www.clarkson.edu/class/image_process/RGB_to_HSI.pdf

  9. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น To convert back from HIS to RGB

  10. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น HSV and HLS colour spaces are other ways to describe colour. http://escience.anu.edu.au/lecture/cg/Color/printNotes.en.html

  11. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Saturation of colour http://escience.anu.edu.au/lecture/cg/Color/printNotes.en.html

  12. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Defining colour to an image

  13. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น An artist’s pallette defines the colours used in a painting. http://artguildct.org/2005%2003%20March.htm http://www.arttoheartweb.com/starry_night.htm

  14. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Van Gogh Robert Rauschenberg http://www.featurepics.com/editorial/Color-Analytics.aspx

  15. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Using a palette from the Windows colour cube Using the best palette for the image - adaptive palette

  16. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Image resolution and quantization

  17. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Resolution is the number of pixels in an image. 128x192 64x48 16x24 32x48

  18. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Quantization is the number of different colours for each pixel. 256 levels 4 levels

  19. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Quantization affects the quality of an image. 64 16 32 256

  20. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Ways to store images

  21. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Indexed colour means that the image is broken up into an array of indexes and a palette. http://en.wikipedia.org/wiki/Bits_per_pixel

  22. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น 8 bit indexed colour

  23. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Highcolour: 15 bit - each colour R,G,B has 5 bits. There are a total of 32,768 colours 16 bit - R and B have 5 bits each, but G has 6 bits because the eye is more sensitive to green. There are a total of 65,536 colours. http://en.wikipedia.org/wiki/Highcolour

  24. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น 8 bit RGB - Truecolour for example, yellow = (255,255,0) blue = (0,0,255) There are a total of 16 million colours.

  25. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น An image can be split into RGB. red green blue http://homepages.cae.wisc.edu/~mccormic/ece533/hw3.html

  26. การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น Or into HSI. Hue Saturation Intensity http://homepages.cae.wisc.edu/~mccormic/ece533/hw3.html

  27. Header Body การประมวลผลภาพแบบดิจิตอลIan Thomas ภาควิชาฟิสิกส์ คณะวิทยาศาสตร์ มหาวิทยาลัยขอนแก่น • An image file consists of 2 parts: • a header with information about the image (may include the palette) • the body with the actual image information Image x size Image x size Image file

More Related