Friday, December 8, 2017

Field Activity #11 Pix4D Processing UAS Data W/O GCPs

Introduction
Pix4Dmapper software is a package that helps process drone data with photogrammetry and computer vision algorithms. It creates 3D, 2D, Orthomosaic, DSM, Point Clouds, and other images. In this lab Pix4Dmapper was used to run processes on drone areal images to create an orthomosaic and DSM. The areal images were taken on 9/30/2016 with a DJI Phantom 3 drone at 80 meters elevation over the Litchfield mine in Eau Claire, WI. Field Activity #3 in this blog covers the details of the mission. Since this data was covered before Ground Points were established in the area of study shown in Figure 1. The main objective of this lab will be analyzing the datum issue in regards of lack of GCP's. 

Figure 1. Litchfield Mine; area of study

GCPs are not required for use in Pix4D; however, they are recommended to improve the accuracy and georeferenced of reconstructing the area of study in respect to the elevation. Other criteria's that had to be taken into consideration during the gathering the data onsite was the terrain, number of flights needed to cover the area, and imagery. For Pix4D the recommended overlap is at least 75% frontal overlap (with respect to the flight direction) and at least 60% side overlap (between flying tracks) and flying in a grid pattern, Figure 2. shows this. 


Figure 2. grid pattern

Since the terrain of the area of study was sand this enhanced the recommended overlap. Sand mines are large uniform terrains in this case, a frontal overlap of at least 85% and 70% of side overlap should be used. This exposes the area to as much detail as possible of the sand and size of the area. With the use of drones and processing of Pix4D consideration of how many flights to cover the area should be in the flight plan. Since drones only have so much flight time with their batteries they need to take multiple flights depending on the area of study and have enough areal images to overlap to create a full panorama image. Besides the the amount of flights the areal images of the area needed to be addressed. That is should they be done with oblique or nadir images. Pix4D can process both of these imagery's; however, in the actual drone flight the pilot needs to consider which method they will take to know the angle of the images.


Methods 
The first step taken was to Create a New Project in Pix4DMapper. From the next screen it prompts the used to create/browse for a file to extract the data from. Professor Hupy exported the data ahead of time from the drone and into a folder that was able to be connected to. The new folder location was then named appropriately for good data management of ever recollecting it i.e. date, drone, location, and elevation. Before uploading the areal images they were looked over to make sure there were only areal images seen from 80 meters of the mine rather than the takeoff or landing of the drone. From here all of the areal images were uploaded. Next, the image properties window popped up, from this window the CS (supposedly) used and geocoded images are shown in Figure 3. As mentioned by Professor Hupy, defaults can never be trusted when pertaining to equipment usage. Therefore the Selected Camera Model was edited. The Shutter Model was changed from Global Shutter to Linear Rolling Shutter. This means that instead of the shutter of the camera scanning the whole area of study simultaneously it scanned is sequentially from top to bottom, like a scanner or copy machine.

Figure 3. Image Properties

Next, the screen prompted for a selected output CS since most software's allow for reprojection i.e. ArcGIS, the data was left on Auto Detected. Form the final step was selecting a template to have the areal images process into. 3D Maps were chosen for the purpose of this lab displaying orthomosaic and DSM analysis. 



Figure 4. Processing outline


After finishing the perimeters for the modal, the data points/locations of areal images can be seen in Figure 4. Indicated by the red circles presented themselves. Looking at all the areal images and where the actual Litchfield mine was located it was decided to allow the mine and disregard the rest of the data points/areal images. This would help cut down in processing time and since the DJI Phantom 3 sensor lenses cannot differentiate movement the images would not come out clear anyways. Next, the following steps consisted of setting the Processing Options. Referring to Figure 5. The Raster DMS Geotiff method was changed to triangulation. This method was found to have slightly better details than any other method. It did however add onto the processing time a little.


Figure 5. Triangulation method


Then clicking on the Additional Outputs tab and going down to the Contour Lines header, the following were changed; Elevation Interval-2 Resolution -50 Minimum Line Size- 100, as shown Figure 6. This was done to help create a better geotiff image of the area of study.


Figure 6. Contour Lines


Finally, Processing was ready to be started. For the first time running only the Initial Processing was run to retrieve the report shown in Figure 7. Quality Report. Looking at Figure 7. The Quality Report didn't come back 100% checked out. Looking at Figure 1. On the bottom and Figure 7. A large section of areal images were not registered. Also, referring to Figure 8. The areas of red indicate error. Since these areas were not in the Litchfield mine and wouldn't disrupt the data the author of this blog decided to move on with the processes. Also, since GCPs were not used they also came up with an error but not The Point Cloud and Mesh and DSM, Orthomosiac and Index Processes were run. In total the 3 Processing stages took close to 3 hours to run. In this case Pix4D does have rapid check that could be used. This process option outweighs the time of processing to the accuracy of the detail of imagery. In this case the author of this blog felt that using this method would deter from the objective of the lab stated in the introduction. 


Figure 7. Quality Report


Figure 8. Ray Cloud 


Results/Discussion
The Figure 9. Shows a DSM of Litchfield Mine. The higher elevations in this DSM could indicate sand piles or equipment at the site. The areal images of the area were taken at 80 meters. The edges northwest side and southeast side of the DSM show up low elevation. However this isn't exactly the case especially when comparing it to Figure 10. There are actually trees on the southeast side and a body of water on the northeast side. Since the DJI Phantom 3 sensor lenses cannot differentiate the motion of water and reflection of sunlight the elevation data is inaccurate on the northwest side. Also, with the tree canopies on the southeast side the sensor lenses do not distinguish well with the movement of tree canopies. 
Figure 9. DSM of Litchfield Mine
Figure 10. Shows an Orthomosaic of Litchfield Mine. This map shows the shape and sizes of the sand piles. It also does a great job with distinguishing between what is vegetation and other inanimate objects, the color as well adds onto this. On the eastern half of the map the area is a little darker in gradient and appears to give a 3D effect to the image. This could be from cloud coverage during the drone's flight path.


Figure 10. Orthomosaic of Litchfield Mine

Conclusion
These maps created show a good general area of study with drone imagery; however with analysis of the Litchfield sand mine these maps and processes done cannot be used. That is because there were no GCPs in this analysis, meaning the z-elevation is off. This is a drastic issue considering that Sand mines are looking into the size and amount of their products of the piles. If modals do not have GCPs they have no datum to measure off the elevation factor and then companies do not have the ability to analysis their stock piles of product and revenue.

    
Reference
https://www.bhphotovideo.com/explora/video/tips-and-solutions/rolling-shutter-versus-global-shutter

https://pix4d.com/product/pix4dmapper-photogrammetry-software/#

https://support.pix4d.com/hc/en-us/articles/204272989-Offline-Getting-Started-and-Manual-pdf-#gsc.tab=0

No comments:

Post a Comment