Template Designer creates and edits Sharpness Template Files. These template files are necessary for the “Sharpness”, “Alignment”, and “Step Chart” Analysis Algorithms. Template files contain an image of the target, either from the original target artwork or from the camera in the test system, and the pattern match and measurement information. All Template Files are saved as 8-bit images, this is necessary for pattern match functions, but focus calculations are performed on the image data passed to the Analysis Algorithm. If you created a Focus Template file with an image bit depth of >8 the IAS will convert it to 8-bit automatically.
The template file items must follow an order in the list for proper execution of the template file. The hierarchy must start with a "Pattern Match" ROI descriptor, then a "Measurement Group", then a "Measurement ROI". You can have multiple Measurement Groups under a Pattern Match object, plus you can have multiple Measurement ROI’s in a Measurement Group. If there are multiple Measurement ROIs under a Measurement Group then their sharpness scores will be averaged and reported as one value for the measurement group. The Template consist of the 2 ROI types, “Pattern Match ROIs” and “Measurement ROIs”. The “Measurement ROI” is where the pixel data is analyzed based on the ROI Type.
The preview page is where you draw and preview your ROI’s. The image window can zoom, pan, and has a pointer tool that returns the image pixel value at that mouse location.
The items list can be shown on the left-hand side pane showing all of the items in the template file. There is an edit pane just above that to modify the item parameters. You can add and delete items and re-order them by click and drag them to new position in the list. You can duplicate items in the list by control-click and drag to make copies of one item or multiple items. To add or modify the ROI just select the ROI in the list and the image window will show a green ROI for you to modify. By using the ROI tool from the image toolbar, you can resize the ROI and re-position it or use the “Position and Size” control in the edit pane. You can also move an entire measurement group. Another useful function is you can import an image into an existing template file without re-drawing all of the ROI’s.