Grid

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
Line 14: Line 14:
 
In several applications of video image processing, coordinates along width (x axis) and height (Y axis) need to be specified with a fair degree of accuracy. Grid plugin facilitates this by superimposing a Grid on the frame.
 
In several applications of video image processing, coordinates along width (x axis) and height (Y axis) need to be specified with a fair degree of accuracy. Grid plugin facilitates this by superimposing a Grid on the frame.
  
 
+
== Requirements ==
Requires AviSynth+ r2347 or greater.
+
* AviSynth+ r2347 or greater.
  
 
<br>
 
<br>
Line 61: Line 61:
 
<!-- example code block: 1st char in each line = space -->
 
<!-- example code block: 1st char in each line = space -->
  
Grid(last,24,200,25,4,5,$ff0000,$7f0000,$5f0000,true,false)
+
Grid(last,24,200,25,4,5,$ff0000,$7f0000,$5f0000,true,false)
# For grid lines and very bold lines only (vbold=1 ensures it)
+
:For grid lines and very bold lines only (vbold=1 ensures it)
Grid(last,24,200,10,10,1)
+
Grid(last,24,200,10,10,1)
Grid(last,24,200,color=255)
+
Grid(last,24,200,color=255)
# Fbold lines will not be displayed as large value ensures out of frame
+
:Fbold lines will not be displayed as large value ensures out of frame
Grid(last,24,200,vbold=7000)
+
Grid(last,24,200,vbold=7000)
Grid(last,24,200,grid=false,axis=true)
+
Grid(last,24,200,grid=false,axis=true)
 
<br>
 
<br>
 
-----------------------------------------------
 
-----------------------------------------------
 
'''Back to [[External_filters|External Filters]] &larr;'''
 
'''Back to [[External_filters|External Filters]] &larr;'''

Revision as of 04:27, 18 June 2018


Abstract
Author V.C.Mohan
Version 21 Mar 2017
Download Download
Category External filters
License GPLv2
Discussion Announced Grid plugin

Contents

Description

In several applications of video image processing, coordinates along width (x axis) and height (Y axis) need to be specified with a fair degree of accuracy. Grid plugin facilitates this by superimposing a Grid on the frame.

Requirements

  • AviSynth+ r2347 or greater.


Syntax and Parameters

Grid(clip, int "sf", int "ef", int "lineint ",int bold",int vbold",int color",int bcolor",int vbcolor",bool grid",bool axis")


clip   =
Input clip.


sf  int = 0
Grid display to start from frame number.


ef  int = last frame of clip
Grid display to end on frame number.


lineint  int = 10
grid line (dotted) interval in pixels.


bold  int = 5
Bold line( dashed) at every nth grid line.


vbold  int = 2
Very bold line( solid) at every nth bold line.


color  int = 0
Color of grid line


bcolor  int = color
Color of bold line.


vbold  int = color
Color of very bold line.


grid  bool = true
Whether grid lines to be displayed.


axis  int = false
Whether axis lines to be displayed.



Examples

Grid(last,24,200,25,4,5,$ff0000,$7f0000,$5f0000,true,false)
For grid lines and very bold lines only (vbold=1 ensures it)
Grid(last,24,200,10,10,1)
Grid(last,24,200,color=255)
Fbold lines will not be displayed as large value ensures out of frame
Grid(last,24,200,vbold=7000)
Grid(last,24,200,grid=false,axis=true)



Back to External Filters

Personal tools