sd_upscale_image: Upscale an image using ESRGAN

View source: R/pipeline.R

sd_upscale_imageR Documentation

Upscale an image using ESRGAN

Description

Upscale an image using ESRGAN

Usage

sd_upscale_image(esrgan_path, image, upscale_factor = 4L, n_threads = 0L)

Arguments

esrgan_path

Path to ESRGAN model file

image

SD image to upscale (list with width, height, channel, data)

upscale_factor

Upscale factor (default 4)

n_threads

Number of CPU threads (0 = auto-detect)

Value

Upscaled SD image


sd2R documentation built on March 30, 2026, 5:08 p.m.