Overview of the Mira Pro Script Module
The Mira Pro Script Module is a high-level program extension language for the Mira Pro x64 software platform. The script language is designed for processing images and other data using scripts inside the Mira Pro environment. The language is based on the Lua Programming Language (see https://lua.org/) and it offers the following advantages in scientific and technical applications:
Lua contributes a modern, versatile programming language and a fast, robust computing engine.
Mira contributes an extensive library of image processing and analysis functions, plus a superior image processing GUI for parallel development and prototyping.
Nearly 25 years ago, the Lua Programming Language was chosen as the Mira scripting engine and program extension language because it provides a modern language having a combination of simplicity, flexibility, robustness, and power. Scientific and technical users with just modest experience programming in C, C++, or Python will find it relatively easy to write scripts that do serious work. In fact, Python and Go programmers will recognize many similarities with Lua. This leads to simpler scripts that do more, require less debugging time, and provide excellent crash protection. In addition, Lua is one of the fastest executing script languages known. Working in the Mira environment, the resulting combination of interactive development, testing, and execution of scripted procedures is unique within the framework of image processing software. Lua also provides a form of object oriented programming uncluding classes, privacy, inheritance, and polymorphism. The Mira Pro Script Module implements these advanced features by providing a large selection of classes and methods that are relatively simple to use, yet extraordinarily powerful for image processing and other computational applications. The language is indefinitely extensible so that you can create you own new functions and classes or extend those provided with Mira.
Contents, Working with Scripts, Creating a Simple Script, Creating Classes, Comparison with C and C++, Error Messages, Going Further with Lua, Benchmarks
Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics,
Inc. All Rights Reserved.