vcm


Grid



the script call for Grid is:-

vcm.Grid(clip[,int lineint = 10][,int bold = 5] [,int vbold = 2][,int color = [0,0,0][,int bcolor =[color,color,color][, int vbcolor = [bcolor,bcolor,bcolor][, int style = 0] )




clip: RGB, YUV and gray format can be input.
lineint: Grid line interval in pixels.
bold: every nth Grid line is bold line.
vbold:vbold: every nth bold line is depicted as very bold line.
Color: bcolor: vbcolor: are 3 components of 8 bit values (o to 255)
style: 0 for left top and 1 for framecenter origin. 2 is for rulers display.

This function creates a Grid on the input frame and is useful in finding or specifying accurate coordinates of pixels or windows in a frame. Also useful in testing some distortions annd corrections.