Answered step by step
Verified Expert Solution
Link Copied!

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 [0,255]. In this assignment, we will use a 2-Dimensional list whose elements are tuples to represent an image. We will also work with the CSE8AImage library created by the course staff which makes it easy to create new images and to query its properties.
2D Lists
One way to think of 2D lists is as a matrix. And just like with matrices, the first dimension represents the rows and the second dimension the columns. The CSE8AImage 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 top-most row is at index 0 and the bottom-most row at index height-1. Similarly, the left-most column is at index 0 and the right-most column at index width-1.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

digital system design

Answered: 1 week ago