jmac698
6th April 2007, 21:49
keywords: selecting colorrange, colorit bug, maskmaker bug, masktools bug, avsp bug, equals bug in mask tools, = not working in masktools, avsp colors display error,yv12lut bug, yv12lut green
I've been trying for hours, to do this simple task,
however three plugins I've tried have bugs which make
it impossible. Thus I will state the bugs in masktools,
colorit. Tested with avisynth 2.56.
Masktools 2a30
blankclip().converttoyv12()
mt_lut(yexpr="x 16 = 255 128 ?",uexpr="128",vexpr="128",y=3,u=3,v=3)
Table
-----
x 16 = false (expected true)
x 16 < false
x 17 < true
x 16 <= true
The equality operation doesn't work at all. Not equal does work however, and is a workaround:
colorbars(pixel_type="YV12")
mt_lut(yexpr="x 161 != 128 x ?",uexpr="128",vexpr="128",y=3,u=3,v=3)
Masktools 1.58
colorbars(pixel_type="YV12")
yv12lut()
returns a bright green image, expected original image
ColorIt
maskmaker() has no named parameter "thresh" or "ethresh". I played with
some other names, like gryt, but didn't find expected behavior.
Sample (doesn't work)
MaskMaker(type="c3",thresh=20,ethresh=120,rthresh=0,erthresh=255,bthresh=85,ebthresh=120,lx=70,rx=646,ty=368,by=443)
AVSP bug 1.3.7
Try this, set options, program settings, video1, display YUV, click on yellow rectangle,
is reads 159 instead of 161.
colorbars(pixel_type="YV12")
Now my objective: to make white any colors in a range, like 150<=y<=170.
I could do this awkwardly with core and crush, or a selective colortweaker.
I can't believe I found bugs in 4 programs, I must be cursed :)
I've been trying for hours, to do this simple task,
however three plugins I've tried have bugs which make
it impossible. Thus I will state the bugs in masktools,
colorit. Tested with avisynth 2.56.
Masktools 2a30
blankclip().converttoyv12()
mt_lut(yexpr="x 16 = 255 128 ?",uexpr="128",vexpr="128",y=3,u=3,v=3)
Table
-----
x 16 = false (expected true)
x 16 < false
x 17 < true
x 16 <= true
The equality operation doesn't work at all. Not equal does work however, and is a workaround:
colorbars(pixel_type="YV12")
mt_lut(yexpr="x 161 != 128 x ?",uexpr="128",vexpr="128",y=3,u=3,v=3)
Masktools 1.58
colorbars(pixel_type="YV12")
yv12lut()
returns a bright green image, expected original image
ColorIt
maskmaker() has no named parameter "thresh" or "ethresh". I played with
some other names, like gryt, but didn't find expected behavior.
Sample (doesn't work)
MaskMaker(type="c3",thresh=20,ethresh=120,rthresh=0,erthresh=255,bthresh=85,ebthresh=120,lx=70,rx=646,ty=368,by=443)
AVSP bug 1.3.7
Try this, set options, program settings, video1, display YUV, click on yellow rectangle,
is reads 159 instead of 161.
colorbars(pixel_type="YV12")
Now my objective: to make white any colors in a range, like 150<=y<=170.
I could do this awkwardly with core and crush, or a selective colortweaker.
I can't believe I found bugs in 4 programs, I must be cursed :)