Peep


Author V. C. Mohan
Date Dec 18, 2008, Mar 18, 2009
EMail: mohanvc

Peep plugin in an elliptic or a rectangular window inserts corresponding image from another clip with identical color space and dimensions. Blending %age of images can be specified. Tapering of blend is also possible. The window parameters, blend and taper %ages can be linearly varied over the length of clip.

Please note that incase of elliptical window, it may not be seen at start or at end as only the superscribed rectangle is checked whether at start and at end atleast a part is in frame. The ellipse because of curvature may not be in frame.

RGB32, RGB24, YUY2 and YV12 formats are supported.


Details of parameters
Description Name Type Limits Default
Input clip clip none
clip from which image to be inserted clip none
window center xcoord at start x integer atleast a part of window should be in frame must be specified
window center ycoord at start y integer atleast a part of window should be in frame must be specified
window half width at start w integer atleast a part of window should be in frame must be specified
window half height at start h integer atleast a part of window should be in frame must be specified
window center xcoord at end ex integer atleast a part of window should be in frame x
window center ycoord at end ey integer atleast a part of window should be in frame y
window half width at end ew integer atleast a part of window should be in frame w
window half height at end eh integer atleast a part of window should be in frame h
window is elliptical or rectangular ellipse boolean true for ellipse, false for rectangulare true (elliptical)
blend %age at start blend integer 0 to 100 80
taper at start taper integer 0 to 100 10
blend %age at end eblend integer 0 to 100 blend
taper at end etaper integer 0 to 100 taper

#Usage examples:-
loadPlugin ("d:\TransPlugins\bin\peep\Release\peep.dll")

#----------------------------------------
ImageReader("E:\images\canyon.jpg",pixel_type="RGB32").Trim(0,99)
converttoyuy2()

sp=fliphorizontal()

Peep(last,sp,500,500,200,200,blend = 100,taper = 0, ex=800,ey = 300,eblend = 0, etaper = 100)
Peep(last,sp,x= -190, ex = 1590,y = 1390,ey = -300,h = 400, w = 200,eh=400,ew=600, ellipse = false)

To my index page down load plugin To Avisynth