IBDP computer science PBL(Project-based learning) + STEAM (Science, Technology, Engineering, Art, Mathematics) Computer Science meets Visual Arts Explore.

Slides:



Advertisements
Similar presentations
Lecture 0: Course Overview
Advertisements

Action Plan Mr. Ahmed Zaki Uddin Mathematics O-Level.
MATLAB Presented By: Nathalie Tacconi Presented By: Nathalie Tacconi Originally Prepared By: Sheridan Saint-Michel Originally Prepared By: Sheridan Saint-Michel.
Skills: selecting colors, specifying colors in HTML Concepts: combining red, green and blue light to generate colors, combining light versus combining.
School of Computing Science Simon Fraser University
1 Color Segmentation: Color Spaces and Illumination Mohan Sridharan University of Birmingham
Multi-media Graphics JOUR 205 Color Models & Color Space 5 ways of specifying colors.
Vector vs. Bitmap SciVis V
02/14/02(c) University of Wisconsin 2002, CS 559 Last Time Filtering Image size reduction –Take the pixel you need in the output –Map it to the input –Place.
V Obtained from a summer workshop in Guildford County July, 2014
Interactive Science Notebooks: Putting the Next Generation Practices into Action
Digital Colour Theory. What is colour theory? It is the theory behind colour mixing and colour combination.
Tal Mor  Create an automatic system that given an image of a room and a color, will color the room walls  Maintaining the original texture.
Colour Digital Multimedia, 2nd edition Nigel Chapman & Jenny Chapman
Digital Images The digital representation of visual information.
Teaching and Learning with Technology  Allyn and Bacon 2002 Academic Software Chapter 6 Teaching and Learning with Technology.
Technology and digital images. Objectives Describe how the characteristics and behaviors of white light allow us to see colored objects. Describe the.
Creativity and Brainstorming Advanced Design Applications Creativity and Brainstorming Teacher Resource – Day 5 © 2014 International Technology and Engineering.
Primary Grade Math and Technology Integration Jennifer Sinisi Website:
CS 101 – Sept. 16 Finish color representation –RGB √ –CMY –HSB –Indexed color Chapter 4 – how computers think –Begin with basic building blocks.
Getting the Basics Graphics for the Web McIntyre, Period 2 Kellogg, Period 5.
Vector vs. Bitmap
Chapter 3 Space. Three Kinds of Space Space as format: size, scale, and presentation. Space as the relationships among objects and the areas surrounding.
Filtering and Color To filter a color image, simply filter each of R,G and B separately Re-scaling and truncating are more difficult to implement: –Adjusting.
The Beauty and Joy of Computing Lecture #3 : Creativity & Abstraction UC Berkeley EECS Lecturer Gerald Friedland.
Susan Boone Westside High School Houston Independent School District.
Crysten Caviness Curriculum Management Specialist Birdville ISD.
Lecture 7: Intro to Computer Graphics. Remember…… DIGITAL - Digital means discrete. DIGITAL - Digital means discrete. Digital representation is comprised.
Digital Image Processing In The Name Of God Digital Image Processing Lecture6: Color Image Processing M. Ghelich Oghli By: M. Ghelich Oghli
Teaching and Learning with Technology Master title style  Allyn and Bacon 2002 Teaching and Learning with Technology to edit Master title style  Allyn.
Intro to Color Theory. Objectives Identify and discuss various color models including RGB, CMYK, Black/white and spot color. Investigate color mixing.
JRN 302: Introduction to Graphics and Visual Communication - Demos - Color Tuesday,
Guilford County SciVis V104.03
1 of 32 Computer Graphics Color. 2 of 32 Basics Of Color elements of color:
Vector vs. Bitmap. Vector Images Vector images (also called outline images) are images made with lines, text, and shapes. Test type is considered to be.
Course Work 2: Critical Reflection GERALDINE DORAN B
Color Models Light property Color models.
The Victorian Games & Apps Challenge Design Brief (PowerPoint)
AP CSP: Pixelation – B&W/Color Images
Initial Display Alternatives and Scientific Visualization
Graphics 1 Graphics 2 Color 2 I Spy 1pt 1 pt 1 pt 1pt 1 pt 2 pt 2 pt
IMAGE PROCESSING COLOR IMAGE PROCESSING
CSC207 Fall 2016.
Binary Notation and Intro to Computer Graphics
Design Concepts: Module A: The Science of Color
Color Image Processing
Inquiry-based learning and the discipline-based inquiry
Color Image Processing
Vector vs. Bitmap.
UNIT 2 – LESSON 4 Encoding Color Images.
Welcome Find a Seat. Seating Chart Coming Don’t Be Quiet
Foundations of Technology Creativity and Brainstorming
IBDP Computer SCIENCE Di WU
Using Technology to Help Students Develop Science Skills
U2L4 Encoding Color Images
Introduction CSE 1310 – Introduction to Computers and Programming
Introduction to Computer Graphics with WebGL
COMS 161 Introduction to Computing
Professional Learning Team Workshop #4
Chapter 8, Exploring the Digital Domain
Higher School of Economics , Moscow, 2016
Active Learning Technology-Enhanced Amber Sherman, ODEE
Computer Graphics Module Overview
V.
Design Brief.
Digital Image Processing Lecture 26: Color Processing
Color Model By : Mustafa Salam.
Foundations of Technology Creativity and Brainstorming
WJEC GCSE Computer Science
Higher School of Economics , Moscow, 2016
Presentation transcript:

IBDP computer science PBL(Project-based learning) + STEAM (Science, Technology, Engineering, Art, Mathematics) Computer Science meets Visual Arts Explore and DIY Image Filter Di Wu wudi@rdfz.cn

Activity 1 Take out your camera Take a picture with different artistic styles You might use apps on your phone

PBL STEAM: Explore and DIY Image Filter Outline Clear Goals Assessment rubrics Cooperative learning of basics Group learning Cooperative learning Team presentation Self and peer assessment

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics A. Color representation: Hexadecimal B. Colors in images: Binary, gray and color-map C. Color space: RGB  HSV D. Image arithmetic and Logic Operation E. Advanced image operations in OPENCV Cooperative learning Students: Teachers Re-group into 2 big teams of 5 students, each from different topic Each student in each group take turns to be the teacher The whole team brain storms about DIY filters 30 minutes

PBL STEAM: Explore and DIY Image Filter Clear goals Science Computer science Computational thinking Algorithms Problem solving programming Technology Computer tech Web tech Wikispace: cooperative teaching and learning Engineering Product design Product development GUI graphical user interface Art Color space Image color adjustment Image manipulation Image blending Digital art Math Matrix concept Matrix computation Logical operation Space conversion

PBL STEAM: Explore and DIY Image Filter Clear goals Syllabus Content and learning objectives: Solve real world problem by understanding, applying, analyzing and creating/transferring System design and analysis (Topic 1) Human interaction with the system (Topic 1) Binary representation (Topic 2) Simple logic gates (Topic 2) Computational thinking, problem-solving and programming (Topic 4) Higher order ability

PBL STEAM: Explore and DIY Image Filter Clear goals Processive learning objectives: You should be able to: Research about the real-world problem, identify the problem, investigate original solutions Design and develop the software system Engaged in the team development, communication and cooperation Fully get and meet your client and user’s requirements Self-evaluate and peer-review of the software development cycle Meta cognition: Higher-order thinking skills

PBL STEAM: Explore and DIY Image Filter Clear goals Project: Computer Science meets Visual Arts: Explore and DIY Image Filter The story behind the project. Jasper, an IBDP art student, is studying digital art in Photoshop. He is very interested in manipulating the colors of an image by adjusting the color curve and make special effect of an image using filters. However, he is more curious about how the magic tool works and is there any possibility to have a DIY image filter to help his study in IBDP art. Further more, all other art students are eager to learn and explore the science behind image filter which could inspire their creation in many different ways.

PBL STEAM: Explore and DIY Image Filter Clear goals Client: Mrs. Wu User: Jasper and other Art students Your Task: Uncover the mystery and DIY image filters Explore typical Image filters by understanding the science behind DIY Image filter: Design and develop an image filter which meets the requirement of Jasper’s (but not limited to) of: color/hue adjustment, Stylized image filter, Image composition. Provide user-friendly GUI for art students Development Requirement: Use OOP design in the software system Teamwork in all aspects of the whole project Present your product and summary report ( reflection and future plan) Creation, interdisciplinary and imagination are encouraged!

PBL STEAM: Explore and DIY Image Filter Clear goals Computer Science meets Visual Arts: Explore and DIY Image Filter Mar 08 – Basics + exploration + DIY Design Mar 10 – DIY Design and development Mar 13 – DIY Design and development Mar 15 – DIY Design and development Mar 17 – Presentation (Oral presentation + software demo + report) Group work: 2-3 students as one group Creation, interdisciplinary and imagination are encouraged!

PBL STEAM: Explore and DIY Image Filter Outline Clear Goals Assessment rubrics Cooperative learning of basics Group learning Cooperative learning Team presentation Self and peer assessment

PBL STEAM: Explore and DIY Image Filter Assessment rubrics Rules in PBL: 1. Everyone in the group takes lead in turn 2. Take research logs continuously 3. Class rules: Teacher clamps hands  push everything you are going into the stack Activity:2 Practice our agreed rules

PBL STEAM: Explore and DIY Image Filter Assessment rubrics   1-2 3-4 5-6 Project Planning and research The record of tasks and design overview Project development (identify techniques used in developing the product) Functionality (evidenced in the video) and extensibility of product Evaluation: Feedback from the client/adviser and recommend proposals for the future improvement Communication and collaboration Activity 3: Get your assessment rubrics in mind

PBL STEAM: Explore and DIY Image Filter Outline Clear Goals Assessment rubrics Cooperative learning of basics Group learning Cooperative learning Team presentation Self and peer assessment

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics A. Color representation: Hexadecimal B. Colors in images: Binary, gray and color-map C. Color space: RGB  HSV D. Image arithmetic and Logic Operation E. Advanced image operations in OPENCV System design and analysis (Topic 1) Human interaction with the system (Topic 1) Binary representation (Topic 2) Simple logic gates (Topic 2) Computational thinking, problem-solving and programming (Topic 4) Introduction Group learning Cooperative learning Teacher Students: Researchers Students: Teachers

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics A. Color representation: Hexadecimal 1 color channel: 8 bits, range( 0-255 ) R G B 3 color channel: 24 bits, range( 0-255^3 ) (255,0,0) Color Red Binary: 11111111, 00000000, 00000000 Denary: 255, 0, 0 Hexadecimal: FF0000 (0,255,0) http://www.cnblogs.com/jackStudy/archive/2012/06/26/2563261.html http://www.cnblogs.com/grenet/archive/2009/12/13/1622930.html 1 java simulation ifanview (0,0,255) Simulation

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics A. Color representation: Hexadecimal Binary v.s. Denary v.s. Hexadecimal Advantage of hexadecimal Obtain the pixel color from an image interactively Use hexadecimal color representation in GUI design Try different digits combinations in color space http://www.cnblogs.com/jackStudy/archive/2012/06/26/2563261.html http://www.cnblogs.com/grenet/archive/2009/12/13/1622930.html

B. Colors in images: Binary, gray and color-map binary= 0 if grayValue < Threshold binary= 1 if grayValue >= Threshold gray = 0.2989 * r + 0.5870 * g + 0.1140 * b Color image Gray image Binary image (10, 20, 200) (189) http://docs.opencv.org/trunk/d7/d4d/tutorial_py_thresholding.html

B. Colors in images: Binary, gray and color-map

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics B. Colors in images: Binary, gray and color-map Binary (0 or 1) image, Gray (0~255) image, RGB (0~255,0~255,0~255) color image False color image: Not real color, use color for better visualization GUI app to convert RGB image  gray image  binary image ( with an input from user, maybe a textbox/slider to control the threshold) GUI app to allow user to choose different colormap to show false color of a gray image http://www.cnblogs.com/jackStudy/archive/2012/06/26/2563261.html http://www.cnblogs.com/grenet/archive/2009/12/13/1622930.html

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics C. Color space: RGB --- HSV Human perception http://www.rapidtables.com/convert/color/hsv-to-rgb.htm The HSV color space is used by people when they select colors for paint or ink because HSV better represents how people relate to colors than does the RGB color space. The HSV color wheel is also used to generate high-quality graphics. Although less well known that its RGB and CMYK cousins, it is available in many high-end image editing software programs. Selecting an HSV color begins with picking one of the available hues, which is how most humans relate to color, and then adjusting the shade and brightness value. ADVANTAGE OF HSV COLOR SPACE Unlike RGB and CMYK, which are defined in relation to primary colors, HSV is defined in a way that is similar to how humans perceive color. Note, however, that HSV is one of many color spaces that separate color from intensity (See YCbCr, Lab, etc.). HSV is often used simply because the code for converting between RGB and HSV is widely available and can also be easily implemented. Color / intensity Monitor Printer ADVANTAGE OF HSV COLOR SPACE Unlike RGB and CMYK, which are defined in relation to primary colors, HSV is defined in a way that is similar to how humans perceive color.

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics C. Color space: RGB --- HSV http://www.rapidtables.com/convert/color/hsv-to-rgb.htm The HSV color space is used by people when they select colors for paint or ink because HSV better represents how people relate to colors than does the RGB color space. The HSV color wheel is also used to generate high-quality graphics. Although less well known that its RGB and CMYK cousins, it is available in many high-end image editing software programs. Selecting an HSV color begins with picking one of the available hues, which is how most humans relate to color, and then adjusting the shade and brightness value. ADVANTAGE OF HSV COLOR SPACE Unlike RGB and CMYK, which are defined in relation to primary colors, HSV is defined in a way that is similar to how humans perceive color. Note, however, that HSV is one of many color spaces that separate color from intensity (See YCbCr, Lab, etc.). HSV is often used simply because the code for converting between RGB and HSV is widely available and can also be easily implemented. Original hue+50 hue+133

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics C. Color space: RGB --- HSV RGB v.s. CMKY v.s. HSV? Applications and advantages of each Convert algorithm: RGB  HSV Color space conversion in your project Adjustment of hue (color wheel) Change of saturation and intensity Analyze and comment of the art design of Spring Festival Gala http://www.rapidtables.com/convert/color/hsv-to-rgb.htm The HSV color space is used by people when they select colors for paint or ink because HSV better represents how people relate to colors than does the RGB color space. The HSV color wheel is also used to generate high-quality graphics. Although less well known that its RGB and CMYK cousins, it is available in many high-end image editing software programs. Selecting an HSV color begins with picking one of the available hues, which is how most humans relate to color, and then adjusting the shade and brightness value. ADVANTAGE OF HSV COLOR SPACE Unlike RGB and CMYK, which are defined in relation to primary colors, HSV is defined in a way that is similar to how humans perceive color. Note, however, that HSV is one of many color spaces that separate color from intensity (See YCbCr, Lab, etc.). HSV is often used simply because the code for converting between RGB and HSV is widely available and can also be easily implemented.

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics D. Image arithmetic and Logic Operation http://www.rapidtables.com/convert/color/hsv-to-rgb.htm The HSV color space is used by people when they select colors for paint or ink because HSV better represents how people relate to colors than does the RGB color space. The HSV color wheel is also used to generate high-quality graphics. Although less well known that its RGB and CMYK cousins, it is available in many high-end image editing software programs. Selecting an HSV color begins with picking one of the available hues, which is how most humans relate to color, and then adjusting the shade and brightness value. ADVANTAGE OF HSV COLOR SPACE Unlike RGB and CMYK, which are defined in relation to primary colors, HSV is defined in a way that is similar to how humans perceive color. Note, however, that HSV is one of many color spaces that separate color from intensity (See YCbCr, Lab, etc.). HSV is often used simply because the code for converting between RGB and HSV is widely available and can also be easily implemented.

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics D. Image arithmetic and Logic Operation http://www.rapidtables.com/convert/color/hsv-to-rgb.htm The HSV color space is used by people when they select colors for paint or ink because HSV better represents how people relate to colors than does the RGB color space. The HSV color wheel is also used to generate high-quality graphics. Although less well known that its RGB and CMYK cousins, it is available in many high-end image editing software programs. Selecting an HSV color begins with picking one of the available hues, which is how most humans relate to color, and then adjusting the shade and brightness value. ADVANTAGE OF HSV COLOR SPACE Unlike RGB and CMYK, which are defined in relation to primary colors, HSV is defined in a way that is similar to how humans perceive color. Note, however, that HSV is one of many color spaces that separate color from intensity (See YCbCr, Lab, etc.). HSV is often used simply because the code for converting between RGB and HSV is widely available and can also be easily implemented.

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics D. Image arithmetic and Logic Operation Color image  3 channels of R-G-B components (each a 2D matrix) Manipulate 3D matrix for color image using numpy module Image arithmetic operations: matrix +, -, *, / Image Logic(binary image) operations : AND, OR, NOR, XOR Image linear blending, GUI to control the blending ratio http://www.rapidtables.com/convert/color/hsv-to-rgb.htm The HSV color space is used by people when they select colors for paint or ink because HSV better represents how people relate to colors than does the RGB color space. The HSV color wheel is also used to generate high-quality graphics. Although less well known that its RGB and CMYK cousins, it is available in many high-end image editing software programs. Selecting an HSV color begins with picking one of the available hues, which is how most humans relate to color, and then adjusting the shade and brightness value. ADVANTAGE OF HSV COLOR SPACE Unlike RGB and CMYK, which are defined in relation to primary colors, HSV is defined in a way that is similar to how humans perceive color. Note, however, that HSV is one of many color spaces that separate color from intensity (See YCbCr, Lab, etc.). HSV is often used simply because the code for converting between RGB and HSV is widely available and can also be easily implemented. Image calculations:Ox04 http://docs.opencv.org/trunk/df/d9d/tutorial_py_colorspaces.html Basic operations on images http://docs.opencv.org/trunk/d3/df2/tutorial_py_basic_ops.html Image arithmetic and Logic Opera http://docs.opencv.org/trunk/d0/d86/tutorial_py_image_arithmetics.html http://blog.csdn.net/you_are_my_dream/article/details/52925750

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics E. Advanced image operations in OPENCV http://www.rapidtables.com/convert/color/hsv-to-rgb.htm The HSV color space is used by people when they select colors for paint or ink because HSV better represents how people relate to colors than does the RGB color space. The HSV color wheel is also used to generate high-quality graphics. Although less well known that its RGB and CMYK cousins, it is available in many high-end image editing software programs. Selecting an HSV color begins with picking one of the available hues, which is how most humans relate to color, and then adjusting the shade and brightness value. ADVANTAGE OF HSV COLOR SPACE Unlike RGB and CMYK, which are defined in relation to primary colors, HSV is defined in a way that is similar to how humans perceive color. Note, however, that HSV is one of many color spaces that separate color from intensity (See YCbCr, Lab, etc.). HSV is often used simply because the code for converting between RGB and HSV is widely available and can also be easily implemented.

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics E. Advanced image operations in OPENCV Changing color space: http://docs.opencv.org/trunk/df/d9d/tutorial_py_colorspaces.html Image Gradient: http://docs.opencv.org/trunk/d5/d0f/tutorial_py_gradients.html Image threshold http://docs.opencv.org/trunk/d7/d4d/tutorial_py_thresholding.html Image histograms http://docs.opencv.org/trunk/de/db2/tutorial_py_table_of_contents_histograms.html Smooth images http://docs.opencv.org/trunk/d4/d13/tutorial_py_filtering.html http://www.rapidtables.com/convert/color/hsv-to-rgb.htm The HSV color space is used by people when they select colors for paint or ink because HSV better represents how people relate to colors than does the RGB color space. The HSV color wheel is also used to generate high-quality graphics. Although less well known that its RGB and CMYK cousins, it is available in many high-end image editing software programs. Selecting an HSV color begins with picking one of the available hues, which is how most humans relate to color, and then adjusting the shade and brightness value. ADVANTAGE OF HSV COLOR SPACE Unlike RGB and CMYK, which are defined in relation to primary colors, HSV is defined in a way that is similar to how humans perceive color. Note, however, that HSV is one of many color spaces that separate color from intensity (See YCbCr, Lab, etc.). HSV is often used simply because the code for converting between RGB and HSV is widely available and can also be easily implemented. Image calculations: first 3 sections http://docs.opencv.org/trunk/df/d9d/tutorial_py_colorspaces.html http://docs.opencv.org/trunk/da/d22/tutorial_py_canny.html Canny Edge Detection http://docs.opencv.org/trunk/dc/dff/tutorial_py_pyramids.html Image Pyramid

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics A. Color representation: Hexadecimal B. Colors in images: Binary, gray and color-map C. Color space: RGB  HSV D. Image arithmetic and Logic Operation E. Advanced image operations in OPENCV Group learning Students: Researchers 2 students as a group choose one topic Research through the links on our wiki Practice the demo code Answer/try to Implement the points in the green box 20 minutes

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics A. Color representation: Hexadecimal B. Colors in images: Binary, gray and color-map C. Color space: RGB  HSV D. Image arithmetic and Logic Operation E. Advanced image operations in OPENCV Cooperative learning Students: Teachers Re-group into 2 big teams of 5 students, each from different topic Each student in each group take turns to be the teacher The whole team brain storms about DIY filters 25 minutes

PBL STEAM: Explore and DIY Image Filter Cooperative learning of basics A. Color representation: Hexadecimal B. Colors in images: Binary, gray and color-map C. Color space: RGB  HSV D. Image arithmetic and Logic Operation E. Advanced image operations in OPENCV Team presentation Students: Presenter Each group do an oral presentation of their project design Everyone do a self-reflection assessment and peer assessment 15 minutes

PBL STEAM: Explore and DIY Image Filter Timeline Homework: Teamwork – design DIY image filter Teamwork – make the timeline Teamwork – Go over and study the basics in this lesson Computer Science meets Visual Arts: Explore and DIY Image Filter Mar 08 – Basics + exploration + DIY Design Mar 10 – DIY Design and development Mar 13 – DIY Design and development Mar 15 – DIY Design and development Mar 17 – Presentation (Oral presentation + software demo + report) Group work: 2 students as one group Creation, interdisciplinary and imagination are encouraged!