SegmentedAmp
From Avisynth wiki
Abstract | |
---|---|
Author | V.C.Mohan |
Version | 1.0.0.0.0 |
Download | 2.5.8 versionSegmentedAmp 2.6.0 alpha5 version URL -->SegmentedAmp |
Category | External filters |
License | GPLv2 |
Discussion | SegmentedAmp plugin |
Contents |
Description
Image is segmented with watershed algorithm for smoothening and or sharpening and a full description is at click me.
Requirements
- AviSynth 2.5.8 or 2.6.0 Alpha 5 or greater
- Supported color formats: RGB32, RGB24, YUY2, YV12, *YV16, *YV24, *YV411, *Y8
- * Not available in AviSynth 2.5.8.
c[sh]i[sm]i[c4]b[useclip]b[sclip]c[smu]i[smv]i
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.
- sh int = 2
- sm int = 2
- smoothening factor .
- sm int = 2
- c4 bool = true
- connect 4 to be used in watershed.If false connect 8 used.
- c4 bool = true
- useclip bool = false
- whether a smoothed clip to be used for watershed segmentation? .
- useclip bool = false
- sclip clip = none
- if useclip is true then this clip to be used.
- sclip clip = none
- smu int = 0
- u values smoothening factor. 0 means no .
- smu int = 0
- smv int = 0
- v value smoothening factor .
- smv int = 0
Examples
## This is some example code to sharpen and smooth an image. imagereader("C:\..........jpg", end = 10) a = avisource("C;\..........avi").converttoYV16() converttoyv16() # 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 ←