Allor Documentation v.2 Help

Custom Advanced

Full Name

ImageSegmentationCustom

Description

Removes background from images with an outer fine-tuned model.

Backend

Rembg

Input Parameters
Images

RGB/A images

Model

Image segmentation model from ONNX folder

Alpha Matting

Alpha matting is a post-processing step that can be used to improve the quality of the output

Alpha Matting Foreground Threshold

Trimap foreground threshold

Alpha Matting Background Threshold

Trimap background threshold

Alpha Matting Erode Size

How far will the transparency spread from the original mask

Post-Process Mask

Post-processing mask, makes it rougher

Mean R

Clarifying value for red channel

Mean G

Clarifying value for green channel

Mean B

Clarifying value for blue channel

Std R

The divisor of the final value for red channel

Std G

The divisor of the final value for green channel

Std B

The divisor of the final value for blue channel

Width

Title width. Different models support different widths. Or their multiple values [512 -> 1024 -> 2048...]

Height

Title height. Different models support different heights. Or their multiple values [512 -> 1024 -> 2048...]

Output Parameters
Images

RGB/A images

Last modified: 04 December 2023