Skip to content

Commit

Permalink
Adds examples for Lights and Shadows
Browse files Browse the repository at this point in the history
  • Loading branch information
Milchreis authored Apr 30, 2018
1 parent f3b2531 commit 03a339b
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,21 @@ PImage processedImage = SobelEdgeDetector.apply(image, false);
PImage processedImage = Brightness.apply(image, value);
// value isa positive number for brighting up or a negative for darken down
```


#### Changing highlights
![alt vignette](https://github.com/Milchreis/processing-imageprocessing/blob/master/img/lights.png?raw=true)
```java
// intensity between -1.0 and 1.0
PImage processedImage = Lights.apply(image, intensity);
```

#### Changing shadows
![alt vignette](https://github.com/Milchreis/processing-imageprocessing/blob/master/img/shadows.png?raw=true)
```java
// intensity between -1.0 and 1.0
PImage processedImage = Shadows.apply(image, intensity);
```

#### AutoBalance image
![alt autobalance](https://github.com/Milchreis/processing-imageprocessing/blob/master/img/autobalance.png?raw=true)
```java
Expand Down

0 comments on commit 03a339b

Please sign in to comment.