Edit Object find page

Filter window

This window is displayed when user click on Filter module icon in EditObject find window. This window is used for set filter commands which filter some contours according filter commands condition. When user run filter only contours which passed filter will be use in object calculation. If there are some line in the filter window, filter commands will be executed in the eli program.If you do not want used filter filter command window must be empty

Filter  window

Filter module has 3 buttons:
  1. Insert line: When you click on this button, new command line is added to the Filter command
  2. Delete line:When you click on this button, line with cursor in filter commands will delete. Put cursor (by click on line) to the line which you want to delete and click on this button. Line will be deleted. If you do not use filter command delete all lines
  3. Update module:This button save changes done in the Filter module. If user close window without click on this button chages will not be stored. Next changes must be saved also in the EditObject window by click on button Save and also must be saved eli program in the main window. In this case filter commands will be executed in the eli program

Filter commands

Filter commands are executed step by step. It means that the first line is executed at the first, next second line and so on.
Each command line has 6 columns:
  1. Result: Click on this column user can select result if this operation. If user select Active Contours which will pass command condition will be active, contours which did not pass command will be not active. If user select Not active, it will negate result.(Pass contours will be not active, not pass contours will be active)
  2. Input from Click on this column user can select which contour will be calculated on this command line.If option All will be selected calculation will be done on the all contours. If option Active will be selected only active contour will be calculate on this command line. Option All will done logical OR with previous command lines, option Active will done logicad AND with previous command lines.
  3. Contour parameter:It can be select contour parameter which will be 1.operand for condition execution on this command line.The first option is Edge line: This option should be used if previous operation in the main program used edge operation (Canny threshold).On the edge operation are separete only object shape which has contours outside shape line and inside shape lines. On this case describe object 2 simillar contours. If select Edge line parameter it will filter inside shape line contours. You need only select line width in the second operand. Other contours parameters are same parameters which will be used in the object calculation. Describe of this parameters is here:Contour parameters .
  4. Comparison option: It can be select comparison operator between operand 1 and operand 2. Contours which result of this operation is TRUE will pass this command line.
  5. Compare width: The second operand is selected here. It can be Number . In this case constant number must be write to the last column as the second operand. Other options are system variable which will be used as the second operand.
  6. Compare number: This column is only activate when option Number was used in the previous column. Constant number as the second operand will be write here.In this case contour parameter will be compare with constant number.