Software Customisation
:Costomisation of the Graphical User Interface in Digital Image Processing
System Mohamad Sam
Manaf Abstract Malaysian center for remote sensing Letter Box 208, CB 100 5th Floor city square center 50400 Jalan Tun Razak Kuala Lumpur Malaysia Software customization is a process to maximise the capability of a system in order to suit with local environment and specific needs. This project was undertaken to understand the techniques used in the process of software customization. As on e of the most well known remote sensing software nowadays, Erdas Imagine was chosen as working based software. Erdas Imagine can be customized using a macro Language, i.e. Erdas Macro Language ( EML). The EML is a script's language that is designed for generating a graphical user interface which allow us to design the same graphical user interface tools that are used in Erdas imagine. Another important aspect EML is also can be sued to incorporate with C programmes' Toolkit programs into the Erdas imagine graphical user interface. In this project I customized and created a few of GUIs in Erdas Imagine system which perform image processing application such as Band Ratio, Band Math, PVI, NDVI, digital data compression, contrast stretching and image zooming. Introduction Digital image Processing technology has evolved rapidly in recent years to become a valuable tool in improvement of analysis activities in remote sensing and Geographical information system ( GIS). In the beginning, most of the system were created based on the specific field of research, for example Erdas was created primarily in handling thereaster based or imager based mapping, Arc info specific in vector based data processing, etc… Generally, the systems can be classified according to their general goals. Leonard Bolc Zenon Kulpa ( 1981) were listed five distinguishable classes as follows.
A solutions of the problem was introduced in the late system where the users are provided with the utility which they can customize and extend the capability of the system according to their needs. This sort of utility make the system more flexible and powerful, the limitations is now relies themselves, the ability of them to customize and extend the system. The principal is applied in ERDAS IMAGINE where Erdas Macro Language (EML) is designed to be able the users to customize the GUI and to extend the capability of ERDAS IMAGINE. The EML can be classified as a high level programming language which it is visually interpreted. As a high level programming language EML can be used to create a very comprehensive and interactive interface with a very little programming codes compared to the ordinary programming language such as C , Pascal, Etc. This project is an approach of customizing the interface of Erdas Imagine system Erdas Macro Language can be used to design the same graphical user interface tools that are used in Erdas imagine. There are two major features that EML had been used for, that first feature is to customize the imagine user interface and the second features is to incorporate C Programmers' Toolkit inot the imagine graphical user interface. Methodology The user interface is hard to build. In this section the methodology of building the Graphical user interface (GUI) in Erdas imaging is discussed. To design and build a user interface, the following steps are generally excuted:
Fig . 1. Methodology flowchart Currently, not every system is allowed their users to customize the GUI of the system. The satellite GUI system can only be customized by the producers of the system itself. Every time where the system is added with some new utilities or have some modifications, the users have to change the whole system in order to increase the capability of the system. The system that are provided with the customizing utilities are more efficient where the users are enable to customize them either by using a special programming language or by using special tools that available in software. In this project , software customization by using a programming language is used where the Erdas imagine system is chosen as working based software which it has a macro language called Erdas Macro Language (EML) which can be usec to coustomise the GUI of the system. Erdas Macro Language When the designing of ERDAS IMAGINE began, it was clear that a traditional, static Graphical User Interface (GUI) would not meet the needs of variety of users. Users wanted to be able to customize the interface and to create scripts which could be used to execute frequently used function. The EML is a scripts language designed for generating a graphical user interface. EML allow us to design the same graphical user interface tools that are used in ERDAS IMAGINE. There are tow major features that EML can be used for :
Programming in EML. An EML script may consist of a mix procedural definitions and GUI definition. The procedural definitions are called procedure an may exist stand-alone in a script or they can be mixed within a script which defines a user interface. The GUI definitions are all contained in a component which is built of variables , menus and frames . the frames are built of frameparts such as button, meters, text areas, etc. . Features 2.1 shows the components of an EML script file. Component All GUI elements in an EML script are contained in a component. The component is simply a means of collecting one or more GUI objects in to a single named group. Components may contain one or more of the following elements: I) frame definitions; ii) Menu definitions ; iii) framepart attributes definations ;iv) Procedure Figure 2.1. Elements of EML Discussion Each application has an EML script file containing the EML command and function that generate the graphical user interfaces (GUI) of the application in this project, there are several GUI in Erdas Imagine system that were customized by using the EML and all or them are as listed below.
Figure 2. The Customised GUI for Band Math Application Conclusion
|