File tree Expand file tree Collapse file tree 3 files changed +29
-16
lines changed
Expand file tree Collapse file tree 3 files changed +29
-16
lines changed Original file line number Diff line number Diff line change 11The purpose of this repository is to create a tutorial for the application of a Sobel filter.
2- It is currently under construction.
2+ This repository is currently under construction.
Original file line number Diff line number Diff line change 44
55The same concepts explained in this code can be used for other types of filters.
66
7- For grayscale transformation of images there are a ton of references on the web. A straightforward one would be to go
8- to our old friend Wikipedia:
9- https://en.wikipedia.org/wiki/Grayscale
7+ I'll not go into much detail in how to transform a colored image (an array of dimension N x M x 3 where N (height) and M
8+ (width) defines the frame of the image while the 3 dimensions gives us the colors (RedGreenBlue)) but the formulas to do
9+ such transformation can be found easily in Google.
10+
11+ There are lots of information about colored to grayscale image transformation out there on the web. I use one that takes
12+ the RGB values of the image and weighs them based on predefined parameters (https://en.wikipedia.org/wiki/Grayscale).
1013"""
1114
1215from matplotlib .image import imread
You can’t perform that action at this time.
0 commit comments