SegmentedAmp
From Avisynth wiki
Abstract | |
---|---|
Author | V. C. Mohan |
Version | 17 Oct 2015 |
Download | SegmentedAmp_2_6.zip |
Category | External filters |
License | GPLv2 |
Discussion | Doom9 Forum |
Contents |
Description
Image is segmented with watershed algorithm for smoothening and or sharpening and a full description is at click me.
- For AviSynth+ see modPlus, includes high bit depth colorspace support and 64-bit.
Requirements
Syntax and Parameters
- SegmentedAmp(clip, int "sh", int "sm", bool "c4",bool "useclip",clip "sclip",int "smu",int "smv")
- clip =
- Input clip.
- clip =
- sh int = -2
- Sharpening factor for RGB and Y (luma plane) only.
- Range: -10 to 10, must not be 0 for RGB formats.
- Sharpening factor for RGB and Y (luma plane) only.
- sh int = -2
- sm int = 2
- Smoothening factor for RGB and Y (luma plane) only.
- Range: -10 to 10, must not be 0 for RGB formats.
- Smoothening factor for RGB and Y (luma plane) only.
- sm int = 2
- c4 bool = true
- Nearest 4 or 8 to be used for connectivity:
true
, connect 4 will be used in watershed.false
connect 8 will be used.
- Nearest 4 or 8 to be used for connectivity:
- c4 bool = true
- useclip bool = false
- Use a different clip for watershed segmentation?.
true
for use clip in provided insclip
.false
for segment and process the input clip.
- Use a different clip for watershed segmentation?.
- useclip bool = false
- sclip clip = none
- if
useclip
is true then this clip is to be used. Does not to be specified ifuseclip
is false.
- if
- sclip clip = none
- smu int = 0
- Smoothening factor for U chroma channel.
- Range: -10 to 10, 0 means no smoothening.
- Smoothening factor for U chroma channel.
- smu int = 0
- smv int = 0
- Smoothening factor for V chroma channel. 0 means no smoothening.
- Range: -10 to 10, 0 means no smoothening.
- Smoothening factor for V chroma channel. 0 means no smoothening.
- smv int = 0
Examples
- SegmentedAmp with default values:
AviSource("blah.avi") SegmentedAmp(sh=-2, sm=2, c4=true, useclip=false, smu=0, smv=0)
- This is some example code to sharpen and smooth an image.
AviSource("blah.avi")
# use a blurred image to prevent over segmentation gb = GBlur() SegmentedAmp(sh=3, smU=6, smv=2, useclip=true, sclip=gb)
Back to External Filters ←