![]() ![]() You must blur at least once, blur=0 causes artifacts.Įdge mask saturation limit no pixel in the edge mask will have a value greater than bump. Syntax and Parameters WarpSharp (clip, int "depth", int "blur", int "bump", float "cubic")īlurring passes on the edge mask. For additional information take a look at the "the basic "warp sharp" algorithm" by Avery Lee. This filter tightens edges in an image by warping the image toward edge boundaries. #Identical to MergeLuma(last, aWarpSharp2()) but faster and more memory efficient.Sharpening filter like VirtualDub's WarpSharp. Only process the luma channel and copy chroma channels from the input clip.ĪWarpSharp2(thresh=128, blur=2, type=0, depth=16, chroma=2) #Identical to MergeChroma(last, aWarpSharp2(chroma=3)) but faster and more memory efficient. Process chroma channels with their own independent edge mask and copy luma channel from the input clip.ĪWarpSharp2(thresh=128, blur=2, type=0, depth=16, chroma=5) #Identical to MergeChroma(last, aWarpSharp2()) but faster and more memory efficient. Guide chroma channels with luma edge mask but only process chroma (luma channel will be copied from the input clip).ĪWarpSharp2(thresh=128, blur=2, type=0, depth=16, chroma=6) #The same as aWarp(aSobel().aBlur(blur=2, type=0), depth=16) but a bit faster. Luma plane (Y) is always processed, except for mode 5 and 6 which simply copy the luma channel from the input clip.ĪWarpSharp2(thresh=128, blur=2, type=0, depth=16, chroma=4) 4 : process chroma use the edge mask from the luma to warp the chroma channels.3 : process chroma create an edge mask from each chroma channel and use those to warp each chroma channel individually.2 : copy chroma channels from the input clip.1 : don't care - chroma will be trashed.0 : fill with 0x80(128), output is grayscale.Processing mode for the chroma channels (U and V): Note: Chroma channels are internally processed with depth/2. will blur the image instead of sharpening. Negative values result in warping in opposite direction, i.e. 1 : radius 2 blur (some kind of 5x5 average), requires around 8x more passes than type=0 for the same effect (will be 2.5x slower), but will produce better quality.0 : radius 6 blur (some kind of 13x13 average).Note: Unless blur is specifically set, it will default to 3 if type=1. Chroma is processed with ( blur+1)/2 passes. You can use values higher than 100, but probably won't see any difference. Less passes increase sharpening effect, but can produce major artifacts with high depth and thresh values. ![]() Saturation limit for edge detection no pixel in the edge mask will have a value greater than thresh. Syntax and Parameters aWarpSharp2 ( clip, int "thresh", int "blur", int "type", int "depth", int "chroma") ![]() AWarpSharp2 performs edge detection, blurring, and warping, all in one. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |