Pro Script Module

 
Home
Products
Product Briefs
Tech Notes
Tech Support
Purchase
Dealers
Press & News
General Info
Web Tools
Contact
 

Why Use Mira Pro Script?

Mira Pro Script is designed for scientists and engineers in image processing applications. Working from within Mira, Pro Script helps you implement complex procedures with less time learning a language, fewer bugs, and with faster execution than with any competing platform.

 

Mira Pro Script is an extraordinarily powerful, yet easy to use programming language for numerical image processing in science and engineering. The Pro Script module extends the Mira platform using an implementation of the Lua Programming Language as a scripting language.

  • Lua provides a modern, versatile programming language and a fast, robust processing engine that is easy to learn and use.
  • Mira provides an extensive library of image processing and analysis functions, plus a superior image processing GUI for development and prototyping.
  • To interface Mira and Lua, we created dozens of Lua classes, some 600 methods and functions, and an efficient, effective development environment.

With Mira Pro Script, scientific and technical users with even modest experience in C, C++, Java, Perl, or even Basic will find it surprisingly easy to write scripts that do serious work. Lua provides a rich syntax with advanced capabilities that are there if you need them, but not required if you don't. In addition, when used as a scripting language, Lua has been shown to be one of the fastest available.

Note for Users Who have Programmed in C++

Lua offers many features of a modern, object oriented language like C++. Yet its syntax is simpler. Lua offers dynamic typing of variables, block control structures, loops, and functions, as well as advanced concepts like associative sets, lexical scoping, parameter overloading, and multiple return values. Lua is extremely versatile; it can be used to script simple C-like procedures, or you can write scripts that leverage an object oriented approach using classes, privacy, inheritance, and polymorphism.