Skip to content

Commit

Permalink
Fill ImageSegmentation nodes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nourepide committed Nov 27, 2023
1 parent 8b2a6be commit e665749
Show file tree
Hide file tree
Showing 3 changed files with 175 additions and 0 deletions.
68 changes: 68 additions & 0 deletions Writerside/topics/Image-Segmentation-Custom-Advanced.md
Original file line number Diff line number Diff line change
@@ -1 +1,69 @@
# Custom Advanced

<deflist type="narrow">
<def title="Full Name">
ImageSegmentationCustom
</def>
<def title="Description">
Removes background from images with an outer fine-tuned model.
</def>
<def title="Backend">
<a href="Modules.md" anchor="rembg" summary="A specialized library for removing image backgrounds.">Rembg</a>
</def>
<def title="Input Parameters">
<deflist type="narrow">
<def title="Images">
RGB/A images
</def>
<def title="Model">
Image segmentation model from ONNX folder
</def>
<def title="Alpha Matting">
Alpha matting is a post-processing step that can be used to improve the quality of the output
</def>
<def title="Alpha Matting Foreground Threshold">
Trimap foreground threshold
</def>
<def title="Alpha Matting Background Threshold">
Trimap background threshold
</def>
<def title="Alpha Matting Erode Size">
How far will the transparency spread from the original mask
</def>
<def title="Post-Process Mask">
Post-processing mask, makes it rougher
</def>
<def title="Mean R">
Clarifying value for red channel
</def>
<def title="Mean G">
Clarifying value for green channel
</def>
<def title="Mean B">
Clarifying value for blue channel
</def>
<def title="Std R">
The divisor of the final value for red channel
</def>
<def title="Std G">
The divisor of the final value for green channel
</def>
<def title="Std B">
The divisor of the final value for blue channel
</def>
<def title="Width">
Title width. Different models support different widths. Or their multiple values [512 -> 1024 -> 2048...]
</def>
<def title="Height">
Title height. Different models support different heights. Or their multiple values [512 -> 1024 -> 2048...]
</def>
</deflist>
</def>
<def title="Output Parameters">
<deflist type="narrow">
<def title="Images">
RGB/A images
</def>
</deflist>
</def>
</deflist>
53 changes: 53 additions & 0 deletions Writerside/topics/Image-Segmentation-Custom.md
Original file line number Diff line number Diff line change
@@ -1 +1,54 @@
# Custom

<deflist type="narrow">
<def title="Full Name">
ImageSegmentationCustom
</def>
<def title="Description">
Removes background from images with an outer model.
</def>
<def title="Backend">
<a href="Modules.md" anchor="rembg" summary="A specialized library for removing image backgrounds.">Rembg</a>
</def>
<def title="Input Parameters">
<deflist type="narrow">
<def title="Images">
RGB/A images
</def>
<def title="Model">
Image segmentation model from ONNX folder
</def>
<def title="Alpha Matting">
Alpha matting is a post-processing step that can be used to improve the quality of the output
</def>
<def title="Alpha Matting Foreground Threshold">
Trimap foreground threshold
</def>
<def title="Alpha Matting Background Threshold">
Trimap background threshold
</def>
<def title="Alpha Matting Erode Size">
How far will the transparency spread from the original mask
</def>
<def title="Post-Process Mask">
Post-processing mask, makes it rougher
</def>
<def title="Mean">
Clarifying value
</def>
<def title="Std">
The divisor of the final value
</def>
<def title="Size">
Title size. Different models support different sizes. Or their multiple values [512 -> 1024 -> 2048...]
</def>
</deflist>
</def>
<def title="Output Parameters">
<deflist type="narrow">
<def title="Images">
RGB/A images
</def>
</deflist>
</def>
</deflist>
54 changes: 54 additions & 0 deletions Writerside/topics/Image-Segmentation-Default.md
Original file line number Diff line number Diff line change
@@ -1 +1,55 @@
# Default

<deflist type="narrow">
<def title="Full Name">
ImageSegmentation
</def>
<def title="Description">
Removes background from images.
</def>
<def title="Backend">
<a href="Modules.md" anchor="rembg" summary="A specialized library for removing image backgrounds.">Rembg</a>
</def>
<def title="Input Parameters">
<deflist type="narrow">
<def title="Images">
RGB/A images
</def>
<def title="Model">
<list>
<li><control>u2net</control> — <a href="https://github.com/xuebinqin/U-2-Net">GitHub</a>.</li>
<li><control>u2netp</control> — <a href="https://github.com/xuebinqin/U-2-Net">GitHub</a>.</li>
<li><control>u2net_human_seg</control> — <a href="https://github.com/xuebinqin/U-2-Net">GitHub</a>.</li>
<li><control>u2net_cloth_seg</control> — <a href="https://github.com/levindabhi/cloth-segmentation">GitHub</a>.</li>
<li><control>siluetta</control> — <a href="https://github.com/xuebinqin/U-2-Net/issues/295">GitHub</a>.</li>
<li><control>isnet</control> — <a href="https://github.com/xuebinqin/DIS">GitHub</a>.</li>
<li><control>isnetis</control> — <a href="https://github.com/SkyTNT/anime-segmentation">GitHub</a>.</li>
<li><control>modnet-p</control> — <a href="https://github.com/ZHKKKe/MODNet">GitHub</a>.</li>
<li><control>modnet-w</control> — <a href="https://github.com/ZHKKKe/MODNet">GitHub</a>.</li>
</list>
</def>
<def title="Alpha Matting">
Alpha matting is a post-processing step that can be used to improve the quality of the output
</def>
<def title="Alpha Matting Foreground Threshold">
Trimap foreground threshold
</def>
<def title="Alpha Matting Background Threshold">
Trimap background threshold
</def>
<def title="Alpha Matting Erode Size">
How far will the transparency spread from the original mask
</def>
<def title="Post-Process Mask">
Post-processing mask, makes it rougher
</def>
</deflist>
</def>
<def title="Output Parameters">
<deflist type="narrow">
<def title="Images">
RGB/A images
</def>
</deflist>
</def>
</deflist>

0 comments on commit e665749

Please sign in to comment.