Upload
dotruc
View
223
Download
2
Embed Size (px)
Citation preview
Image ProcessingGirls Who Build
fathom.info
processing.org
Image by the Processing Foundation. Published under the GNU General Public License.
What do you think of when you hear image proces s ing?
Image processing is analyzing and manipulating an image through code.
Using math + computer s cience, we can analyze, enhance and dis tort images for all kinds of us es .
© source unknown. All rights reserved. This content is excluded from our Creative Commons license. For more information, see http://ocw.mit.edu/help/faq-fair-use/
© Precision Care of New Jersey. All rights reserved. This content is excluded from our Creative Commons license. For more information, see http://ocw.mit.edu/help/faq-fair-use/
© IP4AI Image Processing for Art Investigation. All rights reserved. This content is excluded from our Creative Commons license. For more information, see http://ocw.mit.edu/help/faq-fair-use/
Image via NASA (X-ray: NASA/CXC/SAO/J.DePasquale; IR: NASA/JPL-Caltech; Optical: NASA/STScI). CC BY-NC.
© Sachin Farfade/Mohammad Saberlan/Li-ia Li. All rights reserved. This content is excluded from our Creative Commons license. For more information, see http://ocw.mit.edu/help/faq-fair-use/
© Instagram, Inc. All rights reserved. This content is excluded from our Creative Commons license. For more information, see http://ocw.mit.edu/help/faq-fair-use/
Color on the computer
© source unknown. All rights reserved. This content is excluded from our Creative Commons license. For more information, see http://ocw.mit.edu/help/faq-fair-use/
255
0
A color image can be represented as a percentage of the red, green and blue “intens ities ” combined.
30% red
60% green
10% blue
© source unknown. All rights reserved. This content is excluded from our Creative Commons license. For more information, see http://ocw.mit.edu/help/faq-fair-use/
A color image can also be represented as a set of hue, value, and s aturation (HSB) values .
Shift acros s hue, but not s aturation or value
© Mark Ransom on Stack Exchange. All rights reserved. This content is excluded from our Creative Commons license. For more information, see http://ocw.mit.edu/help/faq-fair-use/
Let’s make filters of our own!
© source unknown. All rights reserved. This content is excluded from our Creative Commons license. For more information, see http://ocw.mit.edu/help/faq-fair-use/
Blend mode Formula
Darken min(Target,Blend)
Multiply Target * Blend
Color Burn 1 - (1-Target) / Blend
Linear Burn Target + Blend - 1
Lighten max(Target,Blend)
Screen 1 - (1-Target) * (1-Blend)
Color Dodge Target / (1-Blend)
Linear Dodge
Target + Blend
Overlay (Target > 0.5) * (1 - (1-2*(Target-0.5)) * (1-Blend)) +(Target <= 0.5) * ((2*Target) * Blend)
Blend mode Formula
Soft Light (Blend > 0.5) * (1 - (1-Target) * (1-(Blend-0.5))) +(Blend <= 0.5) * (Target * (Blend+0.5))
Hard Light (Blend > 0.5) * (1 - (1-Target) * (1-2*(Blend-0.5))) +(Blend <= 0.5) * (Target * (2*Blend))
Vivid Light (Blend > 0.5) * (1 - (1-Target) / (2*(Blend-0.5))) +(Blend <= 0.5) * (Target / (1-2*Blend))
Linear Light (Blend > 0.5) * (Target + 2*(Blend-0.5)) +(Blend <= 0.5) * (Target + 2*Blend - 1)
Pin Light (Blend > 0.5) * (max(Target,2*(Blend-0.5))) +(Blend <= 0.5) * (min(Target,2*Blend)))
Difference | Target - Blend |
Exclusion 0.5 - 2*(Target-0.5)*(Blend-0.5)
Sour ce: ht t p: / / goo. gl / L4r BRb
MIT OpenCourseWarehttps://ocw.mit.edu
Resource: Girls Who Build CamerasKristen Railey, Bob Schulein, Olivia Glennon, Leslie Watkins, Alex Lorman, Carol Carveth, Sara James
The following may not correspond to a particular course on MIT OpenCourseWare, but has been provided bythe author as an individual learning resource.
For information about citing these materials or our Terms of Use, visit: https://ocw.mit.edu/terms.