**3.1 AdOculos**

136 Advanced Topics in Measurements

Three bytes per pixel (true or RGB colour), which yields approximately 16.8 million

RGB is often considered the standard in many programming languages, and it is used in many important colour image data formats, such as JPEG and TIFF. True colour uses 24 bits of RGB colour, 1 byte per colour channel for 24 bits. A 32-bit representation is often used to enhance performance, because various hardware commands are optimized for groups of 4

Modern languages for real-time imaging must provide an easy interface to hardware devices and provide a framework for maintainability, portability and reliability, among many other features. Many programming languages are commonly used to implement Real-Time Colour Imaging Systems, including C, C++, C#, Java, Visual Basic, Fortran, assembly language, and even BASIC. Poor coding style is frequently the source of performance deterioration in real-time imaging systems. In many cases, the negative effects are due to performance penalties associated with object composition, inheritance, and polymorphism in object-oriented languages. But object-oriented languages are rapidly displacing the lower-level languages like C and assembly language in real-time colour imaging systems, and it is probably a good thing because of the accompanying

Understanding the performance impact of various language features, particularly as they relate to image storage and manipulation, is essential to using the most appropriate construct for a particular situation. There is no clear answer, and experimentation with the language compiler in conjunction with performance measurement tools can be helpful in

The following list summarizes key issues when implementing real-time imaging systems in

Refactor the code continuously (that is, aggressively improve its structure) with an eye

Use performance measurement tools continuously to assess the impact of changes to the

Carefully document the code to enable future developers to make structural and

Finally, be wary of code that evolved from non-object-oriented languages such as C into object-oriented version in C++ or Java. Frequently, these conversions are made hastily and incorporate the worst of both the object-oriented and non-object-oriented paradigms

Java is an object-oriented language, with a syntax that is similar to C++ and C#, and to a lesser extent, C. Besides, modern object-oriented languages such as C++ and C# have quite a

Use appropriate coding standards to ensure uniformity and clarity,

colours.

**2.3.1.3 Language issues** 

benefits.

a high-level language:

simultaneously.

bytes or more (Lukac & Plataniotis, 2007).

obtaining the most efficient implementations.

to performance improvement,

performance enhancements,

Adopt an appropriate life cycle testing discipline.

lot in common with Java (Lukac & Plataniotis, 2007).

hardware and software,

The software has PC-based image processing without the need of extensive programming knowledge. The complete C source code of these DLLs is part of the standard pack. Point, local and global, morphological operations texture, image sequence histograms procedures, colour transformations, automatic counting and interactive measuring, pattern recognition can be done by using this software.
