Skip to content

Commit 1304261

Browse files
authored
Update README.md
1 parent 38bd9fc commit 1304261

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,17 @@ PImage processedImage = Bloom.apply(image, intensity); // intensity between 0 a
9797
PImage processedImage = Sharpen.apply(image, sharpIntensity); // sharpIntensity between 0.0 and 10.0
9898
```
9999

100+
#### Color shift image
101+
![alt sharpen](https://github.com/Milchreis/processing-imageprocessing/blob/master/img/colorshift.png?raw=true)
102+
```java
103+
// hue is a value between 0 and 360
104+
// offset is the color range which is accepted (in hue range)
105+
// shift is the number of the subtracted or added hue value
106+
PImage processedImage = ColorShift.applyHue(image, hue, offset, shift); // or short: ColorShift.apply(image, hue, offset, shift)
107+
PImage processedImage = ColorShift.applySaturation(image, hue, offset, shift);
108+
PImage processedImage = ColorShift.applyBrightness(image, hue, offset, shift);
109+
```
110+
100111
## Looks
101112

102113
#### Lookup table image

0 commit comments

Comments
 (0)