SegmentedAmp

From Avisynth wiki
Jump to: navigation, search


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

* 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.


sh  int = 2
sharpening factor.


sm  int = 2
smoothening factor .


c4  bool = true
connect 4 to be used in watershed.If false connect 8 used.


useclip  bool = false
whether a smoothed clip to be used for watershed segmentation? .


sclip  clip = none
if useclip is true then this clip to be used.


smu  int = 0
u values smoothening factor. 0 means no .


smv  int = 0
v value smoothening factor .





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

Personal tools