# Image Analysis and Processing for Generating Camouflages from Digital Earth Photographs
## 6 Discussion and Conclusions  
An analysis of the camouflage generation software revealed a very small number of them. Moreover, they are mostly private solutions, which are simple tools that do not generate effective camouflage patterns. Such generators do not meet the requirements of users who would actually like to use such generated camouflages. In addition, no solution provides the functions that facilitate the selection of colors, which makes it difficult to create a camouflage for users unfamiliar with this subject and significantly extends the time required to create a good pattern. The created algorithm and the CammoGenerator application built on its basis was designed to simplify and accelerate the color selection stage, as well as create good-quality camouflages. The solution was created in a three-tier architecture, which allows for any modifications in each of the layers without affecting the operation of the other layers. Additionally, in the logic layer, each function, i.e., color extraction and camouflage generation, was implemented as separate components, which makes it possible to change the algorithms of each component separately. The results of the solution's operation were examined and compared with other selected generators, as well as selected used military camouflages adapted to the tested areas. The results prove that the proposed approach creates the camouflages qualitatively better than those generated by generally available generators. In addition, it generates camouflages qualitatively similar to, or even better than, those developed and used by the military, which was also supported by the results of the analysis, where the results obtained by our camouflages were similar or better. The obtained results prove that the proposed approach easily generates good-quality camouflages based on digital Earth images. The CammoGenerator application solves the problems of tested existing generators and provides users with a simple and effective tool for generating camouflage. The proposed approach, together with the designed algorithms and developed CammoGenerator application, meets the assumed requirements; however, its operation can be improved, which could raise the quality of generated camouflages and add more editing possibilities. The first element that can be improved is color extraction. The current color extraction algorithm uses the centroid algorithm and the CIELab color space. Such a solution when analyzing large images is time-consuming and does not always give satisfactory results. The proposed solution is to create a neural network and teach it to pick the right colors from the given digital Earth images. The neural network can also be used to develop an algorithm for generating camouflage patterns. Such a network can extract shapes that occur naturally in the photo, and then compose patterns from them. Thanks to this solution, the sizes and shapes of the spots will be adapted to the conditions in the given area and will not be limited to the ones implemented in the algorithm. Another element related to the development of the proposed generator may be the development of a new method for comparing the quality of the camouflage, which will allow for a more accurate study of the generator's performance. Since the method used to test the quality did not take into account factors such as lighting, shadow, and the texture of the object on which the camouflage is applied, a new method can be developed that \begin{table}
\begin{tabular}{c c c c} \hline \hline  & **Forest Terrain** & **Steppe Terrain** & **Desert Terrain** \\ \hline \hline \multicolumn{1}{c}{CammoGenerator} & 1339.5 & 1399.6 & 1279 \\ \hline \hline \multicolumn{1}{c}{Camouflage Generator} & 2649.5 & 1431.5 & 2627.6 \\ \hline \hline \multicolumn{1}{c}{Digital Cammo Generator} & 4124.8 & 2033.8 & 3398.2 \\ \hline \hline \multicolumn{1}{c}{MARPAT camouflage} & 1530.3 & 1373.1 & 2032.5 \\ \hline \hline \multicolumn{1}{c}{EMR camouflage} & 1551.1 & NA & NA \\ \hline \hline \end{tabular}
\end{table}