Skip to content

Commit

Permalink
Fix "Linear contrast stretching" title, replace example picture
Browse files Browse the repository at this point in the history
  • Loading branch information
Gumix committed Mar 25, 2017
1 parent 2462516 commit 4ab0fc1
Show file tree
Hide file tree
Showing 10 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ LDIR = /opt/local/lib/
LIBS = -lc -lpng16
CFLAGS = -Wall -march=native -Ofast -Wa,-q
OUT_DIR = build
LABS = lab1_1 lab1_2 lab1_3 lab1_4 lab1_5 lab1_6 lab1_7 lab2_1 lab2_2 lab3 lab4 lab5 lab6 lab7
LABS = lab1_1 lab1_2 lab1_3 lab1_4 lab1_5 lab1_6 lab1_7 lab2_1 lab2_2 lab3 lab4_2 lab5 lab6 lab7
BINS = $(addprefix $(OUT_DIR)/,${LABS})
OBJS = $(addsuffix .o,${BINS})

Expand Down
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ Here are the programs that I wrote during the Digital Image Processing class in
1. [Nearest-neighbor interpolation](#nearest-neighbor-interpolation-lab2_1c)
2. [Bilinear interpolation](#bilinear-interpolation-lab2_2c)
3. [Alpha compositing](#alpha-compositing-lab3c)
4. [Histogram equalization](#histogram-equalization-lab4c)
4. Intensity transformations
2. [Linear contrast stretching](#linear-contrast-stretching-lab4_2c)
5. [Convolution](#convolution-lab5c)
6. [Median filter](#median-filter-lab6c)
7. [Segmentation](#segmentation-lab7c)
Expand Down Expand Up @@ -80,11 +81,11 @@ Here are the programs that I wrote during the Digital Image Processing class in
| <ul><li>[Goldhill.png](images/Goldhill.png) as top</li><li>[Lena.png](images/Lena.png) as bottom</li><li>[Peppers.png](images/Peppers.png) as alpha channel</li></ul> | ![Output](lab3/Goldhill_Lena_Peppers_out.png) |

---
## Histogram equalization ([lab4.c](lab4/lab4.c))
| Input | Output (delta = 100) |
## Linear contrast stretching ([lab4_2.c](lab4_2/lab4_2.c))
| Input | Output (delta = 1000) |
| ----- | ------ |
| ![Input](images/Goldhill.png) | ![Output](lab4/Goldhill_out_100.png) |
| ![Input](lab4/Goldhill_in_hist.png) | ![Output](lab4/Goldhill_out_100_hist.png) |
| ![Input](images/Auto.png) | ![Output](lab4_2/Auto_out_1000.png) |
| ![Input](lab4_2/Auto_in_hist.png) | ![Output](lab4_2/Auto_out_1000_hist.png) |

---
## Convolution ([lab5.c](lab5/lab5.c))
Expand Down
Binary file added images/Auto.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed lab4/Goldhill_in_hist.png
Binary file not shown.
Binary file removed lab4/Goldhill_out_100.png
Binary file not shown.
Binary file removed lab4/Goldhill_out_100_hist.png
Binary file not shown.
Binary file added lab4_2/Auto_in_hist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lab4_2/Auto_out_1000.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lab4_2/Auto_out_1000_hist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.

0 comments on commit 4ab0fc1

Please sign in to comment.