Influence of Altitude and Image Overlap on Minimum Mapping Size of Chemical in Non-Destructive Trace Detection Using Hyperspectral Remote Sensing

The increasing threat of explosives is a serious issue affecting socio-economy of many countries at multiple levels, such as public security, unused arable land, closing of trade routes, isolation of villages, and these act as a hindrance in the development of the country. Activities using explosives have increased in the last two decades making it a global threat that is challenging humanity. In this study, different chemicals such as Ammonium Nitrate (AN), Trinitrotoluene (TNT) and C4 along with soil as the background material were used for trace detection. The aim of this study was to determine an altitude for the sensor and to identify the minimum mapping size of the chemical at which the model can achieve 70% accuracy. To determine the altitude and minimum size of the chemical that can be detected in the acceptable range of accuracy, several experiments were performed in real ground conditions. This study focuses on the applicability of the proposed method in the real world. In the first set of experiments, the altitude of the sensor was varied from 40 cm to 150 cm and the accuracy of the model was determined. From the analysis, it was found that the model achieved more than 75% accuracy at an altitude of 90 cm with an image overlap of 70%. In the second set of experiments, the minimum size of chemical sample was varied from 0.25 cm to 1 cm. The accuracy of the model was more than 70% when the minimum sample size was 0.5 cm or greater. For various altitude determined, the speed of the vehicle was calculated. Therefore, to implement hyperspectral imaging system on the unarmed vehicle for real application, the suggested altitude and speed of the sensor should be around 90 cm and 10.5 cm/s at which detection limit would be equal or more than 0.5 cm with accuracy greater than 70%.


Introduction
Activities involving explosives have increased in the last two decades and leading to a global threat which is challenging the humanity. Many terrorist attacks use a special type of bomb known as Improvised Explosive Devices (IED) in which the explosives are stored inside metal containers. The explosives are made up of chemical compounds which can create high impact even if used in less quantities. IEDs can be grouped as military, commercial and homemade on the basis of materials used for manufacturing them. Homemade explosive mixtures can be prepared by mixing inorganic energetic oxidant salts (Ammonium nitrate, Potassium nitrate, Potassium chlorate) with fuel like petrol, diesel, charcoal etc. [1]. The oxidant salts mentioned above are easily available in market in the form of fertilizers. Ammonium nitrate (AN) is one of the most commonly used fertilizers for agricultural purpose and combination of this with fuel can result in Ammonium Nitrate Fuel Oil (ANFO), dynamites that are explosive compounds. Similarly, Potassium Nitrate is a widely used fertilizer, but it is also used for manufacturing firecrackers by mixing it with black powder. Chemicals like ammonium nitrate, tri nitro toluene, C4 are used as explosive material. Ammonium nitrate is one of most common fertilizer used for agriculture, but a mixture of ammonium nitrate and fuel oil, in the ratio of 94:6, results in an explosive which is used widely. This type of bomb is gaining a lot of popularity as it can be manufactured using commonly available material at home [1][2][3][4][5][6][7]. In recent years, across the globe some major terrorist attacks were noticed in Pakistan, Brussels, Nigeria (2016), Paris (2015), Boston (2013) in which IED were widely used. IED is becoming an ideal weapon for spreading terrorism due to its special features like ease of manufacture at low cost and it can be designed in various sizes and forms making it difficult to be detected. Large number of conflicts are taking place across the world, particularly in a number of war zones. This is a serious issue that is affecting socio-economy of many countries like public security, unused arable land, closing of trade routes, isolation of villages. Such problems act as a hindrance in the development of the country. These problems motivate the government and research community to develop techniques for fast and accurate detection of explosives. Trace detection of explosives are usually achieved using several methods like electrochemical sensors, bio sensors and optical sensors. Most of these methods involves heavy, non-portable and complex instruments due to which analysis is not performed at the crime location or bomb sites making them not suitable for field applications [8,9]. Due to this forensic science and defense scientist are interested in developing detection technology which is non-destructive, portable with high sensitivity and selectivity, has ability to identify traces of chemicals in large background [10,11].
The above-mentioned requirements can be addressed using hyperspectral imaging system (HSI) which is relatively new technique based on hyperspectral imaging and visible near infrared (VSNIR) spectroscopy. Red Green Blue (RGB) devices give a valuable insight into the limitations of colour discrimination with a low number of photoreceptors, as the principles involved in the interpretation of photoreceptor signals in humans also apply to RGB camera responses. Whereas, the hyperspectral camera architecture provides means to explore other important aspects of colour vision like the perception of certain types of camouflage and colour constancy where multiple, narrow-band sensors increase resolution [12]. HSI has been used in many fields, such as food, agriculture, medical and target detection because of its unique combination of spectroscopy and imaging properties and characteristics like non-destructive, robust nature. HSI generates a hyperspectral cube in which XY represents the spatial information and Z represents the wavelength. Scanning the samples and recording data for a wide area in less time is a major advantage of HSI over other vibrational spectroscopy technique. This technique gives the ability to remotely identify the composition of each pixel of the generated image [13]. The fast, non-invasive, non-destructive and contactless characteristic of HSI makes it a promising standoff trace detection tool as it provides remote and real-time measurements.
A key issue for identifying traces of chemical in the hyperspectral image from remotely sensed data is the identification of the minimum mapping size of the pure chemical. The accuracy of the model depends on several factors of like altitude of the sensor, velocity of the vehicle and the minimum size of the traces of the target chemical to be identified. A classified image, created for trace detection of chemical from classification model data, are presented using a minimum size of the chemical that can be mapped. It is defined as "the smallest size of the trace of the chemical that cab be mapped as a discrete entity".
Determining the minimum size of the pure chemical for trace detection of chemical in hyperspectral image is an important consideration due to the mix pixel problem in which a pixel can be dominated by the background material. Due to this limitation, it is often noticed that the performance of the algorithms used to process the hyperspectral data gets affected. The size of the chemical and resolution of the sensor can lead to challenging issue like mixed pixel [14]. If the quantity of the trace of the chemical is less than the background material in the pixel in that case mix pixel problem would arise. Irrespective of the spatial resolution of the sensor, in natural environmental conditions the spectral signature for a nominal pixel is invariably a mixture of the signatures of the background or clutter materials present in the field of view of the sensor [15]. This results in identification of pixels which contain mixture of chemical and background material, especially on the edges of the chemical, which reduces the overall accuracy. Very few articles have been published on determining minimum size of the trace of chemical to be identified and mixed pixel problem at a spatial resolution less than a centimeter. An inappropriate size of minimum mapping size of chemical results into "salt and pepper" effect where many single pixels of a target chemical that are interspersed with contiguous areas of other background material. Individual pixels are not spectrally pure because diffuse directional reflectance from neighboring pixels contribute to a given pixel's spectral signature. Such problem can be resolved by using appropriate size of minimum mapping size of chemical. Whereas, if the minimum mapping size of chemical is small then problem of mixed pixel problem is reduced as only pure pixels containing chemicals will be identified. Traces of chemicals that are sparse and fragmented can be considerably misrepresented in the final map when increasing minimum mapping size of chemical, while the classes that occupy a large percentage of map area tend to become more dominant. Given the preceding information, the choice of an appropriate MMS is clearly important. The suggested mapping size should provide as much information as possible at a minimum economic cost, without losing the necessary spatial information [16]. Hence, both precision and cost are factors that can have an effect on the final selection of the minimum mapping size of the chemical, but ideally, the suggested size falls within the constraints of the economics.

Trade-Offs of Drone Operations
In trace detection of chemical using hyperspectral sensors one of the major challenges is to determine the suitable parameter for the vehicle and the sensor, as shown in Figure 1. The goal of the developed technique is to identify the minimum size of the chemical without increasing the cost of capturing time, and image processing time excessively. To find the suitable minimum mapping size of the chemical, the system operator can select parameters like altitude, image overlap and speed of the vehicle. Other sensor parameters like focal length, spatial resolution, exposure time, and acquisition rate can be selected. The number of images required to cover the area of interest depends on all the parameters mentioned before. The influence of the image overlap is managed by the number of images per second, and it is determined using altitude and sensor configuration as shown in Equation (1). Oforward = (1 − (Dforward)/Hw) * 100 (1) where Oforward is the forward overlap in percent, Dforward is the distance between exposure stations (m), f is the focal length (mm), H is the distance from the camera projection center to the ground (m), and w is the width of the sensor (mm) [17].
Appl. Sci. 2021, 11, x FOR PEER REVIEW 3 of 12 or clutter materials present in the field of view of the sensor [15]. This results in identification of pixels which contain mixture of chemical and background material, especially on the edges of the chemical, which reduces the overall accuracy. Very few articles have been published on determining minimum size of the trace of chemical to be identified and mixed pixel problem at a spatial resolution less than a centimeter. An inappropriate size of minimum mapping size of chemical results into "salt and pepper" effect where many single pixels of a target chemical that are interspersed with contiguous areas of other background material. Individual pixels are not spectrally pure because diffuse directional reflectance from neighboring pixels contribute to a given pixel's spectral signature. Such problem can be resolved by using appropriate size of minimum mapping size of chemical. Whereas, if the minimum mapping size of chemical is small then problem of mixed pixel problem is reduced as only pure pixels containing chemicals will be identified. Traces of chemicals that are sparse and fragmented can be considerably misrepresented in the final map when increasing minimum mapping size of chemical, while the classes that occupy a large percentage of map area tend to become more dominant. Given the preceding information, the choice of an appropriate MMS is clearly important. The suggested mapping size should provide as much information as possible at a minimum economic cost, without losing the necessary spatial information [16]. Hence, both precision and cost are factors that can have an effect on the final selection of the minimum mapping size of the chemical, but ideally, the suggested size falls within the constraints of the economics.

Trade-Offs of Drone Operations
In trace detection of chemical using hyperspectral sensors one of the major challenges is to determine the suitable parameter for the vehicle and the sensor, as shown in Figure 1. The goal of the developed technique is to identify the minimum size of the chemical without increasing the cost of capturing time, and image processing time excessively. To find the suitable minimum mapping size of the chemical, the system operator can select parameters like altitude, image overlap and speed of the vehicle. Other sensor parameters like focal length, spatial resolution, exposure time, and acquisition rate can be selected. The number of images required to cover the area of interest depends on all the parameters mentioned before. The influence of the image overlap is managed by the number of images per second, and it is determined using altitude and sensor configuration as shown in Equation (1).
where Oforward is the forward overlap in percent, Dforward is the distance between exposure stations (m), f is the focal length (mm), H is the distance from the camera projection center to the ground (m), and w is the width of the sensor (mm) [17]. The spatial resolution on the ground or ground sample distance (GSD) can be calculated using Equation (2), The spatial resolution on the ground or ground sample distance (GSD) can be calculated using Equation (2), where GSD is the ground sample distance (cm), p is the size of a pixel (mm) on the sensor, f is the focal length (mm), H is the distance from the camera projection center to the ground (cm).
One of the important examples of trade-off is geometric tradeoff between altitude of the sensor and area covered during the scanning period, this is dependent on the field of view of the sensor and determines the acquisition time of the raw images. If we increase the altitude it would result in less images for the area of interest, and hence, less processing time, but increasing the altitude has direct impact on the GSD and trace detection in the imagery. On the other hand, lower altitude would lead to higher number of raw images which increases the cost of data processing but gives finer spatial resolution, which increases the probability of trace detection with increase in accuracy [18]. These tradeoffs can be used to balance the accuracy and efficiency of the hyperspectral imaging system. Even though these tradeoffs are obvious in nature, there is a lack of research and publications that explore these parameters, in order to design the system for trace detection of chemical.
This paper focuses on determining the minimum mapping size of chemicals for trace detection of chemicals used in explosives based on the constraint of altitude of the sensor. The results of the experiments performed in this next section would indicate that altitude of the sensor and minimum mapping size of chemical, which has a significant effect on accuracy when both the variables were changed by relatively large amounts. The results obtained from the experiments leave the user with a flexible range of altitude and MMS that are appropriate for different applications.

Methodology
As was mentioned above, the objective of this paper is to determine and suggest the altitude of the sensor and minimum mapping size of pure chemical for finding traces of chemicals with an accuracy above 70%, as shown in conceptual Figure 2. The approach used to achieve this objective is shown in Figures 3 and 4. The experiments were conducted in outdoor conditions and suitable altitude and minimum mapping size of the chemicals were identified using the SVM model and spectral library developed in [19]. The principal component analysis and first derivative were used to select 22 optimal wavelengths out of 144 wavelengths in the range of 400-1000 nm. These selected wavelengths showed distinct spectral features and were input to the SVM model. The algorithm selects the most suitable hyperplane on the basis of maximum margin between each class. For classification of spectral data SVM has been proved as a reliable and efficient method. In this study, SVM was performed on R studio using a radial bias function along with 10-fold cross validation, which explain the relation between the target variable and independent variable, and grid search procedure. Classification accuracy is used to assess the performances of SVM models. Chemical samples of AN, TNT and C4 were prepared in different sizes which varied from 0.25*0.25 cm to 1 cm*1 cm as shown in Figure 3. The dimensions of the chemical samples were measured accurately using the measuring instruments and distributed over the soil, which acted as the background material. The experiment was performed on a bright sunny morning at 10 am, with sun azimuth equal to 94, and altitude above horizon equal to 53.6. The hyperspectral sensor was placed on the vehicle at different altitude varying from 40 cm to 150 cm. The speed of the vehicle is determined using the in-built software of the sensor (Cube Creator by BaySpec). The speed of the vehicle holding the sensor is suggested to user depending upon the side overlap the user has requested for the mentioned altitude. These chemical samples were placed over the soil samples and marked with different colors for accuracy assessment in later part of the experiment. The reflectance data was obtained by BaySpec OCI F hypespectral sensor, which consists of a charge coupled device that has a readout mode. The images were acquired by pushbroom scanning at 45 frames per second with a field of view of 22 • , focal length of 16 mm in 144 bands with spectral resolution of 4.16 nm from 400-1000 nm. Hyperspectral cube was created for the chemical samples at different heights using pushbroom scanning. To detect the traces of the chemicals, present in the hyperspectral cube, the image is converted into tiff format which goes as an input to the SVM model. The SVM model determines the traces of the chemical samples present and accuracy assessment is done for all the images acquired at different altitude of the sensor. The suitable altitude is selected for the next experiment where the altitude is fixed and the MMS size of the chemicals are varied. The hyperspectral cube is generated and the SVM model is used to determine how many samples of each MMS were detected correctly and incorrectly. The conceptual design of the experiment is shown in the Figure 4, which gives information on how the experiment was conducted in terms of varying the altitude of the sensor and size of the chemical samples.
Appl. Sci. 2021, 11, x FOR PEER REVIEW 5 of 12 hyperspectral cube, the image is converted into tiff format which goes as an input to the SVM model. The SVM model determines the traces of the chemical samples present and accuracy assessment is done for all the images acquired at different altitude of the sensor. The suitable altitude is selected for the next experiment where the altitude is fixed and the MMS size of the chemicals are varied. The hyperspectral cube is generated and the SVM model is used to determine how many samples of each MMS were detected correctly and incorrectly. The conceptual design of the experiment is shown in the Figure 4, which gives information on how the experiment was conducted in terms of varying the altitude of the sensor and size of the chemical samples.    hyperspectral cube, the image is converted into tiff format which goes as an input to the SVM model. The SVM model determines the traces of the chemical samples present and accuracy assessment is done for all the images acquired at different altitude of the sensor. The suitable altitude is selected for the next experiment where the altitude is fixed and the MMS size of the chemicals are varied. The hyperspectral cube is generated and the SVM model is used to determine how many samples of each MMS were detected correctly and incorrectly. The conceptual design of the experiment is shown in the Figure 4, which gives information on how the experiment was conducted in terms of varying the altitude of the sensor and size of the chemical samples.

Results
The spatial resolution of the hyperspectral image acquired at different heights are shown in Table 1. The results of the classification accuracy for individual chemicals using the SVM model developed previously are presented. The area of soil is kept the same throughout the experiments and minimum mapping size was varied from 0.25 cm, 0.33 cm, 0.50 cm and 1 cm as shown in Table 2. Figure 5 shows that, as the altitude of the sensor size increased, the overall percent accuracy value decreased in a linear nature. Figure 6 shows how the accuracy of the detection of chemical increase when the minimum mapping size is increased. The accuracy estimates increased gradually until the minimum mapping size reached 0.5 cm at which point the curve began to level off. The likely explanation for the slowing rate of increase in the accuracy estimates is that the minimum mapping size became sufficiently large that a smaller percentage of areas. From the results, an accuracy of more than 75% can be achieved when the sensor is placed at a height of 90 cm and similarly the chemical sample with size of 0.5 cm to 1 cm gave desirable results, whereas samples of size less than 0.5 cm gave low accuracy. Therefore, the suggested height for placing the sensor on the vehicle can be around 90 cm and the minimum mapping size can be selected as 0.5 cm.

Results
The spatial resolution of the hyperspectral image acquired at different heights are shown in Table 1. The results of the classification accuracy for individual chemicals using the SVM model developed previously are presented. The area of soil is kept the same throughout the experiments and minimum mapping size was varied from 0.25 cm, 0.33 cm, 0.50 cm and 1 cm as shown in Table 2. Figure 5 shows that, as the altitude of the sensor size increased, the overall percent accuracy value decreased in a linear nature. Figure 6 shows how the accuracy of the detection of chemical increase when the minimum mapping size is increased. The accuracy estimates increased gradually until the minimum mapping size reached 0.5 cm at which point the curve began to level off. The likely explanation for the slowing rate of increase in the accuracy estimates is that the minimum mapping size became sufficiently large that a smaller percentage of areas. From the results, an accuracy of more than 75% can be achieved when the sensor is placed at a height of 90 cm and similarly the chemical sample with size of 0.5 cm to 1 cm gave desirable results, whereas samples of size less than 0.5 cm gave low accuracy. Therefore, the suggested height for placing the sensor on the vehicle can be around 90 cm and the minimum mapping size can be selected as 0.5 cm. nation for the slowing rate of increase in the accuracy estimates is that the minimum mapping size became sufficiently large that a smaller percentage of areas. From the results, an accuracy of more than 75% can be achieved when the sensor is placed at a height of 90 cm and similarly the chemical sample with size of 0.5 cm to 1 cm gave desirable results, whereas samples of size less than 0.5 cm gave low accuracy. Therefore, the suggested height for placing the sensor on the vehicle can be around 90 cm and the minimum mapping size can be selected as 0.5 cm.

Influence of Image Overlap
The influence of image overlap on image acquisition time is shown Figure 7a, and post processing time is discussed in next section. A quadratic growth was observed in acquisition time and post processing time when image overlap was increased (Figure 7b).

Influence of Image Overlap
The influence of image overlap on image acquisition time is shown Figure 7a, and post processing time is discussed in next section. A quadratic growth was observed in acquisition time and post processing time when image overlap was increased (Figure 7b).

Influence of Image Overlap
The influence of image overlap on image acquisition time is shown Figure 7a, and post processing time is discussed in next section. A quadratic growth was observed in acquisition time and post processing time when image overlap was increased (Figure 7b). Following are the results about determining the speed of the sensor for different altitude. According to the manufacture of the sensor the suggested speed is based upon the percentage of image overlap user wants. The SpecGrabber, which is the software used for controlling the sensor, and calculates the suggested speed based on the altitude, field of view, swath and consider image overlap as 70%. Speed is calculated for different altitude and different overlap percentage, as shown in Table 3, and in Table 4 the suggested speed for different altitude is shown. The vehicle operator can select the speed from the Table 3 based on their requirement of overlap. Figure 8 shows the minimum, maximum and suggested speed. Table 5 discusses the flight time and number of raw images the sensor will store when scanning an area of 10 m2 at a speed of 10.5 cm/s at different altitude.   Following are the results about determining the speed of the sensor for different altitude. According to the manufacture of the sensor the suggested speed is based upon the percentage of image overlap user wants. The SpecGrabber, which is the software used for controlling the sensor, and calculates the suggested speed based on the altitude, field of view, swath and consider image overlap as 70%. Speed is calculated for different altitude and different overlap percentage, as shown in Table 3, and in Table 4 the suggested speed for different altitude is shown. The vehicle operator can select the speed from the Table 3 based on their requirement of overlap. Figure 8 shows the minimum, maximum and suggested speed. Table 5 discusses the flight time and number of raw images the sensor will store when scanning an area of 10 m 2 at a speed of 10.5 cm/s at different altitude.  Table 4. Altitude and suggested speed for sensors altitude. controlling the sensor, and calculates the suggested speed based on the altitude, field of view, swath and consider image overlap as 70%. Speed is calculated for different altitude and different overlap percentage, as shown in Table 3, and in Table 4 the suggested speed for different altitude is shown. The vehicle operator can select the speed from the Table 3 based on their requirement of overlap. Figure 8 shows the minimum, maximum and suggested speed. Table 5 discusses the flight time and number of raw images the sensor will store when scanning an area of 10 m2 at a speed of 10.5 cm/s at different altitude.

Processing Time of the Hyperspectral Cube
The hyperspectral cube was created by processing the raw images in the Cube creator. The altitude of the sensor and image overlap percentage has the same weightage in influencing the number of raw images to be acquired by the hyperspectral imaging system. The forward overlap has an exponential impact on the processing time of the raw image and creation of hyperspectral cube. In Figure 9, a significant increase in processing time from 70% overlap is visible. While, 40 cm altitude has a higher processing time than 150 cm. The resolution of the sensor has linear influence on processing time. From the observed results it can be concluded that processing time is highly dependent on number of raw images as compared to sensor resolution.

Processing Time of the Hyperspectral Cube
The hyperspectral cube was created by processing the raw images in the Cube creator. The altitude of the sensor and image overlap percentage has the same weightage in influencing the number of raw images to be acquired by the hyperspectral imaging system. The forward overlap has an exponential impact on the processing time of the raw image and creation of hyperspectral cube. In Figure 9, a significant increase in processing time from 70% overlap is visible. While, 40 cm altitude has a higher processing time than 150 cm. The resolution of the sensor has linear influence on processing time. From the observed results it can be concluded that processing time is highly dependent on number of raw images as compared to sensor resolution.

Influence MMS and Altitude of Sensor
The effect of the altitude of the sensor and spatial resolution on the overall accuracy

Influence MMS and Altitude of Sensor
The effect of the altitude of the sensor and spatial resolution on the overall accuracy of the SVM classification model has been shown in the previous section. Based on the results obtained from different experiments, conducted in this study, it was observed that the image with a finer resolution achieved higher accuracy but at a lower altitude which might not be feasible in real applicability. While, images collected at a coarser resolution, but at a height of 150 cm, achieved an accuracy of around 65% because the images contained traces of different chemical and soil as background. Therefore, with the increase in altitude, the dominance of the reflectance in the pixel was more from soil instead of pure chemicals, which leads to decrease in accuracy and misclassification. The misclassification error can be grouped as a pure pixel classification error or mixed pixel classification error. The mixed pixel between the soil and the chemical was the major reason for lower accuracy.
To determine the suggested MMS for trace detection of chemicals the spatial resolution of the image was kept fixed and the pixels were subdivided into 0.5, 0.33 and 0.25 cm MMS. For studying the effect of MMS on the accuracy the image of chemical at resolution of 0.028 cm at an altitude of 90 cm, consisting of 38 pixels was reduced to 19, 13 and 9 pixels. As discussed earlier, the misclassification occurred due to mixed pixel where a pixel is made up of from two or more classes. This kind of error occurs often in the boundaries between two classes and is also referred to as boundary effect. From the results it can be seen and discussed that when the MMS was 1 cm in that case 30 pixels out of 38 pixels were correctly classified whereas the pixels around the boundary were misclassified. Similarly, for 0.5 MMS the 14 pixels out of 19 were misclassified and similarly pixels around the boundary which had dominance of soil were misclassified. However, when MMS was decreased to 0.25 cm 4 pixels out of 9 were only classified correctly.
For practical applicability of the hyperspectral imaging system, the user needs to decide the altitude and MMS according the accuracy they want to achieve, which could be either the screening phase or critical phase. One of major factors that affects the real applicability is the amount of storage required, processing time for creation of hyperspectral cube. The speed of the vehicle mounted with sensor determines coverage area in a given time and number of raw images that would be acquired. From the experiment firstly suitable altitude was determined. A total of 90 cm is the suggested altitude for the user as it is easier to deploy a sensor at an altitude of 90 cm rather 40 cm, 60 cm in an automated vehicle. The coverage area or swath at 40 cm, 60 cm is comparatively low to 90 cm. At 90 cm the user can expect an accuracy of more than 75%, which would decrease if the altitude is increased to 150 cm. While, 90-120 cm can be suggested altitude for the sensor to be deployed in real ground application. After determining a suitable height of 90 cm, suitable MMS was determined (0.5 cm) as the accuracy achieved was more than 70% and it had minimal effect of mixed pixel problem if compared to 0.33 cm to 0.25 cm, later two MMS had a very low accuracy almost equal to 50%. For 90 cm height the speed can be varied from 3.5 cm/s to 17.5 cm/s depending upon the required overlapping by the user. The suggested overlap is 70%, which results in a uniform stitching in the raw images for creation of hyperspectral cube. For 70% overlap, the suggested speed is 10.5 cm/s, whereas it could be 17.5 cm/s for 50% overlap and 3.5 cm/s for 90% overlap. For real ground conditions controlling the automated vehicle at 3.5 cm/s is not feasible as it would a much higher time to cover the area of interest. If the vehicle is moving at a speed of 10.5 cm/s to cover an area of 10 m 2 at altitude of 90 cm, the system would acquire 285 raw images with storage of 3.5 GB. Whereas, if the altitude is 60 cm, the system would acquire 768 raw images with storage of 9.45 GB, which is more expensive and not feasible when size of the area is increased. Based on several calculation and discussions with final users, it was decided that (90-120 cm) altitude, 0.5 cm MMS and 10.5 cm/s speed is highly recommended for practical usage of hyperspectral imaging system.

Future Opportunities
The focus of this study was to determine the minimum size of the chemical, flight parameters like altitude, speed, image overlap, which can be controlled by the operator directly, and that would directly impact the construction of the hyperspectral cube and accuracy of the model in identifying the traces of the chemical. It was beyond the scope of the study to assess the impact of temperature, wind speed, cloud cover conditions and mass of the chemical. In the study conducted by [20] the relationship between different weather conditions and image construction has been discussed. The study shows that wind speed has a negligible impact whereas cloud cover has an influence in the quality of the image. Since weather conditions cannot be controlled, we conducted experiments in sunny conditions around 11:00 a.m., with minimum wind speeds and placed the chemicals with different areal dimensions. In this study, we created the hyperspectral cube and processing approach with only CubeCreator, which is commercial software of BaySpec. The image construction algorithm might have a different level of performance if tested on different software's in future. This software has been used and demonstrated in different studies, and thus, it has a strong baseline which can be used for comparisons.
The hyperspectral image was constructed using image to image reconstruction solutions. GNSS was not used in the process of reconstruction of the image and the whole process was dependent on the image features and position of the camera. A better image could be constructed in future using a hyperspectral sensor along with GNSS. Storage and disposal of the explosive chemicals has led to environmental issue, endangering health and safety of the public making it a major concern worldwide [21,22]. Similar HSI can also be used in the future to find sites of illegal waste disposal and leakage of hazardous chemical in industries.

Conclusions
In summary, we arrived at several conclusions with regards to the altitude of the sensor, minimum chemical size and forward overlap percentage for reconstruction of the image. To determine the suggested altitude and minimum size of the chemical that can be detected in the acceptable range of accuracy, several experiments were performed in real ground conditions. This research focused on the applicability of the proposed method in the real world. In the first set of experiments, the altitude of the sensor was varied from 40 cm to 150 cm, and the accuracy of the model was determined. From the analysis, it was found that the suggested altitude should be between 90-120 cm above ground, and in combination with forward overlap rates of close to 70%, it led to the best reconstruction detail and accuracy of the model where accuracy was more than 75%. In the second set of experiments, the minimum size of the chemical sample was varied from 0.25 cm to 1 cm. Accuracy of more than 70% in trace detection of chemicals with minimum chemical size of 0.5 cm was identified at suggested altitudes of 90-120 cm. This accuracy of the model cannot be achieved at coarser resolution at higher altitudes since the sensor resolution had linear effect, while other parameters had a non-linear effect. The non-linear effects of forward overlap and altitude on processing time might pose a constraint on using forward overlap rates higher than 70% if processing time is the main limitation. For various altitudes, the suggested speed of the vehicle were calculated. Therefore, to implement hyperspectral imaging system on the unarmed vehicle for real application, the suggested altitude and speed of the sensor should be around 90 cm and 10.5 cm/s at which the detection limit would be equal or more than 0.5 cm with accuracy greater than 70%.
Author Contributions: S.C., S.N. and T.N. contributed to the overall study design and supervised all research. S.C. finished the experiment, including the sample preparation and hyperspectral image acquisition. S.C., S.N. and T.N. contributed to the data analysis and the manuscripts. All authors have read and agreed to the published version of the manuscript.
Funding: This research received no external funding.