SYMBOL INDEX (248 symbols across 27 files) FILE: combine_files.py function get_python_files (line 8) | def get_python_files(path, recursive=False, args=None): function parse_files (line 22) | def parse_files(files): function write_combined (line 68) | def write_combined(imports: list[str], class_definitions: list[str], nod... function main (line 98) | def main(): FILE: old/dither.py class Dither (line 4) | class Dither: method __init__ (line 5) | def __init__(self): method INPUT_TYPES (line 9) | def INPUT_TYPES(s): method dither (line 27) | def dither(self, image: torch.Tensor, bits: int): FILE: old/kmeans_quantize.py class KMeansQuantize (line 6) | class KMeansQuantize: method __init__ (line 7) | def __init__(self): method INPUT_TYPES (line 11) | def INPUT_TYPES(s): method kmeans_quantize (line 35) | def kmeans_quantize(self, image: torch.Tensor, colors: int, precision:... FILE: post_processing/arithmetic_blend.py class ArithmeticBlend (line 3) | class ArithmeticBlend: method __init__ (line 4) | def __init__(self): method INPUT_TYPES (line 8) | def INPUT_TYPES(s): method arithmetic_blend_images (line 22) | def arithmetic_blend_images(self, image1: torch.Tensor, image2: torch.... method add (line 37) | def add(self, img1, img2): method subtract (line 40) | def subtract(self, img1, img2): method difference (line 43) | def difference(self, img1, img2): method divide (line 46) | def divide(self, img1, img2): FILE: post_processing/ascii_art.py class AsciiArt (line 5) | class AsciiArt: method __init__ (line 6) | def __init__(self): method INPUT_TYPES (line 10) | def INPUT_TYPES(s): method apply_ascii_art_effect (line 34) | def apply_ascii_art_effect(self, image: torch.Tensor, char_size: int, ... function ascii_art_effect (line 48) | def ascii_art_effect(image: torch.Tensor, char_size: int, font_size: int): FILE: post_processing/blend.py class Blend (line 4) | class Blend: method __init__ (line 5) | def __init__(self): method INPUT_TYPES (line 9) | def INPUT_TYPES(s): method blend_images (line 29) | def blend_images(self, image1: torch.Tensor, image2: torch.Tensor, ble... method blend_mode (line 38) | def blend_mode(self, img1, img2, mode): method g (line 52) | def g(self, x): method crop_and_resize (line 55) | def crop_and_resize(self, img: torch.Tensor, target_shape: tuple): FILE: post_processing/blur.py class Blur (line 4) | class Blur: method __init__ (line 5) | def __init__(self): method INPUT_TYPES (line 9) | def INPUT_TYPES(s): method blur (line 33) | def blur(self, image: torch.Tensor, blur_radius: int, sigma: float): function gaussian_kernel (line 52) | def gaussian_kernel(kernel_size: int, sigma: float): FILE: post_processing/canny_edge_mask.py class CannyEdgeMask (line 6) | class CannyEdgeMask: method __init__ (line 7) | def __init__(self): method INPUT_TYPES (line 11) | def INPUT_TYPES(s): method canny (line 35) | def canny(self, image: torch.Tensor, lower_threshold: int, upper_thres... FILE: post_processing/chromatic_abberation.py class ChromaticAberration (line 3) | class ChromaticAberration: method __init__ (line 4) | def __init__(self): method INPUT_TYPES (line 8) | def INPUT_TYPES(s): method chromatic_aberration (line 41) | def chromatic_aberration(self, image: torch.Tensor, red_shift: int, gr... FILE: post_processing/color_correct.py class ColorCorrect (line 7) | class ColorCorrect: method __init__ (line 8) | def __init__(self): method INPUT_TYPES (line 12) | def INPUT_TYPES(s): method color_correct (line 60) | def color_correct(self, image: torch.Tensor, temperature: float, hue: ... FILE: post_processing/color_tint.py class ColorTint (line 3) | class ColorTint: method __init__ (line 4) | def __init__(self): method INPUT_TYPES (line 8) | def INPUT_TYPES(s): method color_tint (line 27) | def color_tint(self, image: torch.Tensor, strength: float, mode: str =... FILE: post_processing/dissolve.py class Dissolve (line 3) | class Dissolve: method __init__ (line 4) | def __init__(self): method INPUT_TYPES (line 8) | def INPUT_TYPES(s): method dissolve_images (line 27) | def dissolve_images(self, image1: torch.Tensor, image2: torch.Tensor, ... FILE: post_processing/dodge_and_burn.py class DodgeAndBurn (line 3) | class DodgeAndBurn: method __init__ (line 4) | def __init__(self): method INPUT_TYPES (line 8) | def INPUT_TYPES(s): method dodge_and_burn (line 28) | def dodge_and_burn(self, image: torch.Tensor, mask: torch.Tensor, inte... method dodge (line 46) | def dodge(self, img, mask, intensity, mode): method burn (line 56) | def burn(self, img, mask, intensity, mode): FILE: post_processing/film_grain.py class FilmGrain (line 4) | class FilmGrain: method __init__ (line 5) | def __init__(self): method INPUT_TYPES (line 9) | def INPUT_TYPES(s): method film_grain (line 45) | def film_grain(self, image: torch.Tensor, intensity: float, scale: flo... method generate_perlin_noise (line 73) | def generate_perlin_noise(self, shape, scale, octaves=4, persistence=0... method apply_temperature (line 117) | def apply_temperature(self, image, temperature): method apply_vignette (line 133) | def apply_vignette(self, image, vignette_strength): FILE: post_processing/glow.py class Glow (line 4) | class Glow: method __init__ (line 5) | def __init__(self): method INPUT_TYPES (line 9) | def INPUT_TYPES(cls): method apply_glow (line 33) | def apply_glow(self, image: torch.Tensor, intensity: float, blur_radiu... method gaussian_blur (line 39) | def gaussian_blur(self, image: torch.Tensor, kernel_size: int): method add_glow (line 51) | def add_glow(self, img, blurred_img, intensity): function gaussian_kernel (line 58) | def gaussian_kernel(kernel_size: int, sigma: float): FILE: post_processing/hsv_threshold_mask.py class HSVThresholdMask (line 5) | class HSVThresholdMask: method __init__ (line 6) | def __init__(self): method INPUT_TYPES (line 10) | def INPUT_TYPES(s): method hsv_threshold (line 35) | def hsv_threshold(self, image: torch.Tensor, low_threshold: float, hig... FILE: post_processing/kuwahara_blur.py class KuwaharaBlur (line 5) | class KuwaharaBlur: method __init__ (line 6) | def __init__(self): method INPUT_TYPES (line 10) | def INPUT_TYPES(s): method apply_kuwahara_filter (line 29) | def apply_kuwahara_filter(self, image: np.ndarray, blur_radius: int, m... function kuwahara (line 44) | def kuwahara(orig_img, method="mean", radius=3, sigma=None): FILE: post_processing/parabolize.py class Parabolize (line 3) | class Parabolize: method __init__ (line 4) | def __init__(self): method INPUT_TYPES (line 8) | def INPUT_TYPES(cls): method parabolize_image (line 38) | def parabolize_image(self, image: torch.Tensor, coeff: float, vertex_x... FILE: post_processing/pencil_sketch.py class PencilSketch (line 4) | class PencilSketch: method __init__ (line 5) | def __init__(self): method INPUT_TYPES (line 9) | def INPUT_TYPES(cls): method apply_sketch (line 33) | def apply_sketch(self, image: torch.Tensor, blur_radius: int = 5, shar... method dodge (line 52) | def dodge(self, front: torch.Tensor, back: torch.Tensor) -> torch.Tensor: method gaussian_blur (line 57) | def gaussian_blur(self, image: torch.Tensor, blur_radius: int, sigma: ... method sharpen (line 70) | def sharpen(self, image: torch.Tensor, blur_radius: int, alpha: float): function gaussian_kernel (line 93) | def gaussian_kernel(kernel_size: int, sigma: float): FILE: post_processing/pixel_sort.py class PixelSort (line 5) | class PixelSort: method __init__ (line 6) | def __init__(self): method INPUT_TYPES (line 10) | def INPUT_TYPES(cls): method sort_pixels (line 32) | def sort_pixels(self, image: torch.Tensor, mask: torch.Tensor, directi... function sort_span (line 53) | def sort_span(span, sort_by, reverse_sorting): function find_spans (line 64) | def find_spans(mask, span_limit=None): function pixel_sort (line 82) | def pixel_sort(img, mask, horizontal_sort=False, span_limit=None, sort_b... FILE: post_processing/pixelize.py class Pixelize (line 4) | class Pixelize: method __init__ (line 5) | def __init__(self): method INPUT_TYPES (line 9) | def INPUT_TYPES(cls): method apply_pixelize (line 27) | def apply_pixelize(self, image: torch.Tensor, pixel_size: int): method pixelize_image (line 32) | def pixelize_image(self, image: torch.Tensor, pixel_size: int): FILE: post_processing/quantize.py class Quantize (line 5) | class Quantize: method __init__ (line 6) | def __init__(self): method INPUT_TYPES (line 10) | def INPUT_TYPES(s): method quantize (line 29) | def quantize(self, image: torch.Tensor, colors: int = 256, dither: str... FILE: post_processing/sharpen.py class Sharpen (line 5) | class Sharpen: method __init__ (line 6) | def __init__(self): method INPUT_TYPES (line 10) | def INPUT_TYPES(s): method sharpen (line 34) | def sharpen(self, image: torch.Tensor, sharpen_radius: int, alpha: flo... FILE: post_processing/sine_wave.py class SineWave (line 4) | class SineWave: method __init__ (line 5) | def __init__(self): method INPUT_TYPES (line 9) | def INPUT_TYPES(s): method apply_sine_wave (line 34) | def apply_sine_wave(self, image: torch.Tensor, amplitude: float, frequ... method sine_wave_effect (line 44) | def sine_wave_effect(self, image: torch.Tensor, amplitude: float, freq... FILE: post_processing/solarize.py class Solarize (line 3) | class Solarize: method __init__ (line 4) | def __init__(self): method INPUT_TYPES (line 8) | def INPUT_TYPES(s): method solarize_image (line 26) | def solarize_image(self, image: torch.Tensor, threshold: float): FILE: post_processing/vignette.py class Vignette (line 4) | class Vignette: method __init__ (line 5) | def __init__(self): method INPUT_TYPES (line 9) | def INPUT_TYPES(s): method apply_vignette (line 27) | def apply_vignette(self, image: torch.Tensor, vignette: float): FILE: post_processing_nodes.py class ArithmeticBlend (line 10) | class ArithmeticBlend: method __init__ (line 11) | def __init__(self): method INPUT_TYPES (line 15) | def INPUT_TYPES(s): method arithmetic_blend_images (line 29) | def arithmetic_blend_images(self, image1: torch.Tensor, image2: torch.... method add (line 44) | def add(self, img1, img2): method subtract (line 47) | def subtract(self, img1, img2): method difference (line 50) | def difference(self, img1, img2): method divide (line 53) | def divide(self, img1, img2): class AsciiArt (line 57) | class AsciiArt: method __init__ (line 58) | def __init__(self): method INPUT_TYPES (line 62) | def INPUT_TYPES(s): method apply_ascii_art_effect (line 86) | def apply_ascii_art_effect(self, image: torch.Tensor, char_size: int, ... function ascii_art_effect (line 100) | def ascii_art_effect(image: torch.Tensor, char_size: int, font_size: int): class Blend (line 124) | class Blend: method __init__ (line 125) | def __init__(self): method INPUT_TYPES (line 129) | def INPUT_TYPES(s): method blend_images (line 149) | def blend_images(self, image1: torch.Tensor, image2: torch.Tensor, ble... method blend_mode (line 158) | def blend_mode(self, img1, img2, mode): method g (line 172) | def g(self, x): method crop_and_resize (line 175) | def crop_and_resize(self, img: torch.Tensor, target_shape: tuple): class Blur (line 198) | class Blur: method __init__ (line 199) | def __init__(self): method INPUT_TYPES (line 203) | def INPUT_TYPES(s): method blur (line 227) | def blur(self, image: torch.Tensor, blur_radius: int, sigma: float): class CannyEdgeMask (line 242) | class CannyEdgeMask: method __init__ (line 243) | def __init__(self): method INPUT_TYPES (line 247) | def INPUT_TYPES(s): method canny (line 271) | def canny(self, image: torch.Tensor, lower_threshold: int, upper_thres... class ChromaticAberration (line 284) | class ChromaticAberration: method __init__ (line 285) | def __init__(self): method INPUT_TYPES (line 289) | def INPUT_TYPES(s): method chromatic_aberration (line 322) | def chromatic_aberration(self, image: torch.Tensor, red_shift: int, gr... class ColorCorrect (line 336) | class ColorCorrect: method __init__ (line 337) | def __init__(self): method INPUT_TYPES (line 341) | def INPUT_TYPES(s): method color_correct (line 389) | def color_correct(self, image: torch.Tensor, temperature: float, hue: ... class ColorTint (line 442) | class ColorTint: method __init__ (line 443) | def __init__(self): method INPUT_TYPES (line 447) | def INPUT_TYPES(s): method color_tint (line 466) | def color_tint(self, image: torch.Tensor, strength: float, mode: str =... class Dissolve (line 503) | class Dissolve: method __init__ (line 504) | def __init__(self): method INPUT_TYPES (line 508) | def INPUT_TYPES(s): method dissolve_images (line 527) | def dissolve_images(self, image1: torch.Tensor, image2: torch.Tensor, ... class DodgeAndBurn (line 535) | class DodgeAndBurn: method __init__ (line 536) | def __init__(self): method INPUT_TYPES (line 540) | def INPUT_TYPES(s): method dodge_and_burn (line 560) | def dodge_and_burn(self, image: torch.Tensor, mask: torch.Tensor, inte... method dodge (line 578) | def dodge(self, img, mask, intensity, mode): method burn (line 588) | def burn(self, img, mask, intensity, mode): class FilmGrain (line 598) | class FilmGrain: method __init__ (line 599) | def __init__(self): method INPUT_TYPES (line 603) | def INPUT_TYPES(s): method film_grain (line 639) | def film_grain(self, image: torch.Tensor, intensity: float, scale: flo... method generate_perlin_noise (line 667) | def generate_perlin_noise(self, shape, scale, octaves=4, persistence=0... method apply_temperature (line 711) | def apply_temperature(self, image, temperature): method apply_vignette (line 727) | def apply_vignette(self, image, vignette_strength): class Glow (line 743) | class Glow: method __init__ (line 744) | def __init__(self): method INPUT_TYPES (line 748) | def INPUT_TYPES(cls): method apply_glow (line 772) | def apply_glow(self, image: torch.Tensor, intensity: float, blur_radiu... method gaussian_blur (line 778) | def gaussian_blur(self, image: torch.Tensor, kernel_size: int): method add_glow (line 790) | def add_glow(self, img, blurred_img, intensity): class HSVThresholdMask (line 793) | class HSVThresholdMask: method __init__ (line 794) | def __init__(self): method INPUT_TYPES (line 798) | def INPUT_TYPES(s): method hsv_threshold (line 823) | def hsv_threshold(self, image: torch.Tensor, low_threshold: float, hig... class KuwaharaBlur (line 847) | class KuwaharaBlur: method __init__ (line 848) | def __init__(self): method INPUT_TYPES (line 852) | def INPUT_TYPES(s): method apply_kuwahara_filter (line 871) | def apply_kuwahara_filter(self, image: np.ndarray, blur_radius: int, m... function kuwahara (line 886) | def kuwahara(orig_img, method="mean", radius=3, sigma=None): class Parabolize (line 923) | class Parabolize: method __init__ (line 924) | def __init__(self): method INPUT_TYPES (line 928) | def INPUT_TYPES(cls): method parabolize_image (line 958) | def parabolize_image(self, image: torch.Tensor, coeff: float, vertex_x... class PencilSketch (line 963) | class PencilSketch: method __init__ (line 964) | def __init__(self): method INPUT_TYPES (line 968) | def INPUT_TYPES(cls): method apply_sketch (line 992) | def apply_sketch(self, image: torch.Tensor, blur_radius: int = 5, shar... method dodge (line 1011) | def dodge(self, front: torch.Tensor, back: torch.Tensor) -> torch.Tensor: method gaussian_blur (line 1016) | def gaussian_blur(self, image: torch.Tensor, blur_radius: int, sigma: ... method sharpen (line 1029) | def sharpen(self, image: torch.Tensor, blur_radius: int, alpha: float): class PixelSort (line 1048) | class PixelSort: method __init__ (line 1049) | def __init__(self): method INPUT_TYPES (line 1053) | def INPUT_TYPES(cls): method sort_pixels (line 1075) | def sort_pixels(self, image: torch.Tensor, mask: torch.Tensor, directi... class Pixelize (line 1092) | class Pixelize: method __init__ (line 1093) | def __init__(self): method INPUT_TYPES (line 1097) | def INPUT_TYPES(cls): method apply_pixelize (line 1115) | def apply_pixelize(self, image: torch.Tensor, pixel_size: int): method pixelize_image (line 1120) | def pixelize_image(self, image: torch.Tensor, pixel_size: int): class Quantize (line 1132) | class Quantize: method __init__ (line 1133) | def __init__(self): method INPUT_TYPES (line 1137) | def INPUT_TYPES(s): method quantize (line 1156) | def quantize(self, image: torch.Tensor, colors: int = 256, dither: str... class Sharpen (line 1175) | class Sharpen: method __init__ (line 1176) | def __init__(self): method INPUT_TYPES (line 1180) | def INPUT_TYPES(s): method sharpen (line 1204) | def sharpen(self, image: torch.Tensor, sharpen_radius: int, alpha: flo... class SineWave (line 1225) | class SineWave: method __init__ (line 1226) | def __init__(self): method INPUT_TYPES (line 1230) | def INPUT_TYPES(s): method apply_sine_wave (line 1255) | def apply_sine_wave(self, image: torch.Tensor, amplitude: float, frequ... method sine_wave_effect (line 1265) | def sine_wave_effect(self, image: torch.Tensor, amplitude: float, freq... class Solarize (line 1281) | class Solarize: method __init__ (line 1282) | def __init__(self): method INPUT_TYPES (line 1286) | def INPUT_TYPES(s): method solarize_image (line 1304) | def solarize_image(self, image: torch.Tensor, threshold: float): class Vignette (line 1309) | class Vignette: method __init__ (line 1310) | def __init__(self): method INPUT_TYPES (line 1314) | def INPUT_TYPES(s): method apply_vignette (line 1332) | def apply_vignette(self, image: torch.Tensor, vignette: float): function gaussian_kernel (line 1350) | def gaussian_kernel(kernel_size: int, sigma: float): function sort_span (line 1356) | def sort_span(span, sort_by, reverse_sorting): function find_spans (line 1368) | def find_spans(mask, span_limit=None): function pixel_sort (line 1387) | def pixel_sort(img, mask, horizontal_sort=False, span_limit=None, sort_b...