Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Overview In this assignment, you will be implementing different image filters that modify the pixels of the image in some interesting ways. The filters you
Overview
In this assignment, you will be implementing different image filters that modify the pixels of the image in some interesting ways. The filters you will be implementing are the same ones used in image editing applications and apps like Instagram however you will implement basic ones While doing so you will learn how images are stored and manipulated in a computer and you will get much more comfortable working with nested loops.
Representing Images and Colors
As you learned in class, colors can be represented by three numbers describing the values of the red, green, and blue color components. These numbers are in the range In this assignment, we will use a Dimensional list whose elements are tuples to represent an image. We will also work with the CSEAImage library created by the course staff which makes it easy to create new images and to query its properties.
D Lists
One way to think of D lists is as a matrix. And just like with matrices, the first dimension represents the rows and the second dimension the columns. The CSEAImage library has functions defined to query for the image height and width. The height of an image corresponds to the number of rows and the width of the number of columns. Also, remember that the topmost row is at index and the bottommost row at index height Similarly, the leftmost column is at index and the rightmost column at index width
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started