Tool Template "Check_Wafer"

This tool template is an example of a custom tool with basic functionality. It can be used as basis for the tool development of your own custom tool. The tool checks the quality of hazelnut wafers using a given gray value threshold. For this, the tool provides a tool parameter to set the threshold for the gray values. It also provides predefined types of ROIs which can be used to restrict the area to be processed and a parameter to connect alignment data of previous tools.

The tool template demonstrates how to define the desired types of ROIs that shall be supported for a tool and how to define parameters as additional tool parameters. You can also see how to set the colors for the visualization of an object and how to set the tool state of a custom tool.

Tool Procedures

The tool template demonstrates how a simple threshold tool can be created. It includes the following procedures which can be adopted to your use case.

Testing the Tool Template in HDevelop

The functionality of the custom tool can be tested directly in HDevelop with the provided test program "Check_Wafer_Test.hdev". The test program is located in the same directory as the procedure library representing the example tool, e.g., in "%PROGRAMFILES%\MVTec\MERLIC-5.6\examples\tool_development\tool_templates". This also enables you to make use of the debugging functionality in HDevelop.

If you use the provided tool template as basis for your own custom tool, you can also adjust the test program accordingly. This enables you to check the implemented features of your tool directly in HDevelop. If necessary, you can make further adjustments to ensure that the tool works as expected before integrating the custom tool in MERLIC.