Skip to content

Commit 76be38e

Browse files
committed
Adds HSV Threshold Mask
actually update examples as well
1 parent 495abba commit 76be38e

File tree

8 files changed

+522
-362
lines changed

8 files changed

+522
-362
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,15 @@ Both images have the workflow attached, and are included with the repo. Feel fre
2121
- ArithmeticBlend: Blends two images using arithmetic operations like addition, subtraction, and difference.
2222
- Blend: Blends two images together with a variety of different modes
2323
- Blur: Applies a Gaussian blur to the input image, softening the details
24-
- CannyEdgeDetection: Applies Canny edge detection to the input image
24+
- CannyEdgeMask: Creates a mask using canny edge detection
2525
- Chromatic Aberration: Shifts the color channels in an image, creating a glitch aesthetic
2626
- $\color{#00A7B5}\textbf{ColorCorrect:}$ Adjusts the color balance, temperature, hue, brightness, contrast, saturation, and gamma of an image
2727
- $\color{#00A7B5}\textbf{ColorTint:}$ Applies a customizable tint to the input image, with various color modes such as sepia, RGB, CMY and several composite colors
2828
- Dissolve: Creates a grainy blend of two images using random pixels based on a dissolve factor.
2929
- DodgeAndBurn: Adjusts image brightness using dodge and burn effects based on a mask and intensity.
30-
- FilmGrain: Adds a film grain effect to the image, along with options to control the temperature, and vignetting
30+
- FilmGrain: Adds a film grain effect to the image, along with options to control the temperature, and vignetting.
3131
- Glow: Applies a blur with a specified radius and then blends it with the original image. Creates a nice glowing effect.
32+
- HSVThresholdMask: Creates a mask by thresholding HSV (hue, saturation, and value) channels
3233
- $\color{#00A7B5}\textbf{KuwaharaBlur:}$ Applies an edge preserving blur, creating a more realistic blur than Gaussian.
3334
- Parabolize: Applies a color transformation effect using a parabolic formula
3435
- PencilSketch: Converts an image into a hand-drawn pencil sketch style.

combine_files.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,13 @@
33
import argparse
44

55
ignore_dirs = ["old"]
6+
ignore_files = ["__init__.py", "combine_files.py", "test.py"]
67

78
def get_python_files(path, recursive=False, args=None):
89
search_pattern = "**/*.py" if recursive else "*.py"
910

1011
def should_include(file):
11-
if file.is_file() and not file.name.startswith("combine") and not args.output in str(file) and not file.name.startswith("__init__"):
12+
if file.is_file() and not args.output in str(file) and not file.name in ignore_files:
1213
for ignore_dir in ignore_dirs:
1314
if ignore_dir in str(file.parent):
1415
return False

0 commit comments

Comments
 (0)