Course 4 Week 1 quiz First question

What do you think applying this filter to a grayscale image will do?

                  [[0 , 1 ,-1 , 0 ] ,
                  [1 , 3 , -3 , -1 ],
                  [1 , 3 , -3 , -1],
                  [0 , 1 , -1 , 0]]

A Detect 45 degree edges

B Detect vertical edges

C Detect image contrast

D Detect horizontal edges

Hi , I still do not know how to make a jugdment whether a filter can detect vertical edges or not .Also , I want to see some examples of filters that can detect 45 degrees .Plz help me

have a look at the lecture again. Prof Andrew Ng covers that kind of filter in detail.

As to 45 degree filters, you can have a look at

1 Like