basics of processing fire imagery · 11/1/2019  · • this presentation uses the skid fire as an...

58
BASICS OF PROCESSING FIRE IMAGERY 11/1/2019

Upload: others

Post on 07-Sep-2021

0 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

BASICS OF PROCESSING FIRE IMAGERY

11/1/2019

Page 2: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

OBJECTIVES

• Demonstrate the workflow for processing photos and deriving data products using photogrammetry

• Converting TIFF files to JPG for viewing• Sorting Photos• Be able to set up Photoscan• Load Photos• Run Processes to create basic products

Page 3: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

PURPOSE

• This Presentation is to provide the user with a very basic step by step

• The spatial accuracy of map products will be only as good as the aircraft GPS provides

Page 4: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

CONSIDERATIONS

How were the photos collected?What were the time intervals?What altitude above the highest point?

What format if thermal images were collected? (TIFF preferred)Which camera profile was used to collect? (Flight must use narrowest camera needed)

Page 5: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

CONSIDERATIONS USED IN THIS PRESENTATION

• This presentation uses the Skid Fire as an example• Flight was 2500’ above the highest point in terrain• Flown with the Silent Falcon and FLIR Duo camera

Page 6: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

VIEW PHOTOS

Photos are in the folder to view and begin sorting. Note this folder has 2836 images. Images are geotagged and data is in the Exif. Make a copy of this folder to work from.

Page 7: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

SORTING PHOTOS

Select all photos in the folder then drag and drop into the Photos Pane of Metashape.

Page 8: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

SORTING PHOTOS

In the model pane if the Camera is highlighted each image will appear as a blue dot. Note a large number of photos are not in the fire area, they were taken during the climb, descent, approach and departure from the fire.

Page 9: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

SORTING PHOTOSDetermine an appropriate point to cut the lines of photos. In this example it will be just outside the fire area. Photos are named using date and time stamp. Scroll in close to the point of breaking the flight line and you will see the names. Select a photo and take note of it and the direction of UAS travel.

Page 10: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

SORTING PHOTOSLocate that image in the folder. In the previous slide we know that the UAS was enroute to Home. Also can confirm by location of image in folder, its ⅔ down. Highlight from that image to the bottom and delete. Note this deleted 821 images. Repeat for the beginning of the flight.

Page 11: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

SORTING PHOTOSWe are now left with 965 from the original 2836. This can be further refined using 2 methods. First use the ODS to determine the time interval between images for the flight. In this example the Capture Interval was 11.92 seconds. We can take every fifth photo since this was 2 second triggers.

Page 12: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

SORTING PHOTOSSecond, open the image in Windows Photo Viewer. Locate a landmark that is easily seen. Press the forward button to the next image and cycle to watch the landmark move. Estimate the Overlap. Close to 66% (landmark in 3 photos) is needed to process, in steep terrain more may be needed.

Page 13: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

SORTING PHOTOSIn this example it was determined that every 5th photo would be close to 66% overlap. Now there are only 194 images left to process.

Page 14: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

VIEW AND SORTING IR PHOTOS

• TIFF formatted images will appear black, data is present just not visible

• If visible thermal images are needed convert to JPG using ImageJ• Recommend not processing JPG images, use for viewing only• Same process is used for sorting• IR images use same naming conventions, use the same image

numbers to cut the flight lines as used in the EO photos

Page 15: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

VIEW IR PHOTOS• This folder contains

970 TIFF images• To actually view the

TIFF format needs converted to JPG

• Converting loses the temp data embedded in the TIFF files

• JPG is a compressed format that is undesirable for deriving data

Page 16: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

VIEW IR PHOTOS1. Organize folders2. Open ImageJ from its

folder3. Process > Batch >

Convert4. Select Input and

Output folders as shown

5. Set Output Format to JPG

6. Convert

Page 17: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

VIEW IR PHOTOSNow thermal images can be viewed and sorting determinations can be made. Once determinations are made sort the TIFF files in the same way.

Page 18: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

METASHAPE FLOW OVERVIEW

• Load Photos• Alignment - Geometry is used with geotags to build a sparse point

cloud• Refine - Improves the spacial accuracy of the model• Gradual Selection - removes points with bad geometry• Build Dense Cloud - Builds a dense point cloud based on remaining

points in the sparse cloud• Build DEM - Needed to generate the Orthophoto• Build Orthos• Export desired products

Page 19: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

METASHAPE SETUPSetup the Workspace and organize the 5 panes as below. This maximizes

efficient workflow. Panes can be tricky to manipulate, once placed will be saved.

Workspace Pane

Photos PaneReference

PaneConsole Pane

Model Pane

Page 20: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

METASHAPE SETUPOnce setup and arranged the program should appear like this

Page 21: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

STARTING THE PROCESS

Select all EO photos for the model then drag and drop from folder into the Photos Pane

Page 22: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

STARTING THE PROCESS

SELECt all IR photos for the model then drag and drop from folder into the Photos Pane. Note how the EO and IR photos separate into 2 columns.

Page 23: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

STARTING THE PROCESS

Left click on Chunk and Add Group. Rename group to EO, repeat for IR then select all EO images and drop in EO Group, repeat for IR.

Page 24: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

CAMERA CALIBRATIONClick Tools and select Camera Calibration. Make sure the boxes under Frame match what is shown in the picture below. Note Duo Pro R is highlighted.

Page 25: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

CAMERA CALIBRATIONMake sure the boxes under Frame match what is shown in the picture below. Note that the other set of images is highlighted (13mm).

Page 26: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

ALIGNMENT

Click Workflow Tab and select Align Photos. Match settings below and click OK.

This will take a bit to run. This example with a Photogrammetry laptop took 14 minutes and 38 seconds.

Page 27: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

AFTER ALIGNMENT

After Alignment is completed click on Chunk and look at Cameras to make sure that all are aligned. This will match with all the blue dots are now little panes in the Model Pane. Note this slide shows Cameras (388/388 aligned)

Page 28: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

AFTER ALIGNMENT

IF a few images do not align run again with all 3 top boxes unchecked

Page 29: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

SAVE AND DUPLICATE

Save. Then right click on Chunk and Duplicate. Set the Copy to Active.

Page 30: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

POINT CLOUD

The Alignment created the Sparse point cloud as shown to the right.

Page 31: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

GRADUAL SELECTIONClick the Model tab and select Gradual Selection. In the dialog box drop down select Reconstruction Uncertainty. Slide the rule to the right and observe the points being highlighted. Move slider until the points that need removed are highlighted.

Page 32: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

GRADUAL SELECTIONClick OK on Gradual Selection. Then click the X in the menu bar above model. The highlighted points will disappear.

Page 33: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

OPTIMIZE

Click the Optimize Star, circled to the left.

Match the checkboxes as shown and Click OK.

Page 34: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

DENSE POINT CLOUD

In Workspace Pane highlight the IR Group.Right click and Disable Cameras.

Disabled will appear as below.

Page 35: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

ERROR REDUCTION

Select View Error as shown in RED circle and scroll to bottom. View Total Error row.. IF the box is checked the location values for that image are true, if not MS ignores those values. Sort by clicking the Error(m) column. Uncheck boxes for up to ⅔ of the photos. Optimize again. Uncheck more up to ¾ of the checkboxes. Optimize a last time.

Note the reduction in Error

Page 36: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

SAVE WORK

Page 37: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

SETTING BOUNDING BOXClick the Resize Region dropdown and select Resize Region. Click and hold blue dot to drag and place box on the area that is to be modeled. In general bring the horizontal boundaries just inside of the ragged edge, make sure the vertical boundaries are well above and below the model.

Page 38: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

BUILDING DENSE CLOUDClick Workflow and select Build Dense Cloud. Use settings below. This will take some time to process. This example with a photogrammetry laptop took 6 minutes 22 seconds.

Page 39: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

DENSE CLOUD

Click the Dense Cloud button to view the Dense Cloud. Note there is a lot more detail now in the model.

Page 40: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

BUILDING THE DEM

Click Workflow and select Build DEM. Use settings shown. Click OK.

Page 41: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

DEM

Double click on DEM in Workspace Pane to view. DEM will open a tab contained in the Model pane. When finished click the X of the Tab labeled Ortho.

Page 42: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

SAVE AND COPY

Save. Duplicate the Copy of Chunk 1 only bringing over the DEM and rename EO Chunk.Duplicate again with only the DEM and rename IR Chunk.

Page 43: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

BUILDING THE ORTHOMOSAIC

Set EO Chunk as Active. Click Workflow and select Build Orthomosaic. Use settings shown. Click OK.

Page 44: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

ORTHOMOSAIC

Double click on Orthomosaic in Workspace Pane to view. You can zoom in/out and drag around.

Ortho may be exported at this point if the shape is appropriate.

Page 45: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

REFINING THE ORTHOMOSAIC

Click the Polygon arrow and select Draw Polygon. Click and draw around the fire with a buffer outside of the line. Left click the pointer on the polyline. Select Set Boundary Type and Outer Boundary.

Page 46: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

REFINING THE ORTHOMOSAIC

Right click the pointer on the polyline. Select Set Boundary Type and Outer Boundary. Note the line will appear as pictured. Export Shape to import on the IR ortho

Ortho is ready for Export.

Page 47: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

IR ORTHOMOSAIC

Set IR Chunk Active and repeat building an Ortho. The ortho will be black to the eye until opened in Arc. The temperature data is embedded in each pixel.

Page 48: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

IR ORTHOMOSAIC

IF needed Import the shape from the EO ortho. This allows exportation of the desired shape.Right click > Set Boundary Type > Outer Boundary

Page 49: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

SAVE AND EXPORT

Save and prepare for exports.

Export:EO OrthoIR OrthoReport

Page 50: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

METASHAPE REPORT

This generates a report for the entire process of Photoscan. It will be important to have as Metadata as well as tell you a lot about your model.

To export. Click File > Export > Generate Report…

Fill the dialog boxes as appropriate and save

Page 51: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

EXPORTING ORTHOMOSAIC

Match ALL of the settings to the right then click Export and save as TIFF file in next popup.

Click File > Export > Export Orthomosaic > Export JPG/TIFF/PNG

Page 52: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

EXPORTING DEM

Match ALL of the settings to the right. Click Export and save as TIFF file in next popup.

Click File > Export > Export DEM, Export TIFF/BIL/XYZ

Only export if needed, a BAER team may request

Page 53: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

FINISHED

This concludes processing of fire imageryYou should be able to do basic processing and produce simple productsThe exports can now be brought into Arc and developed into usable data

Page 54: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

ARC TIPS

Note that Metashape will always export a square or rectangle.

Page 55: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

ARC TIPS

Left click layer and properties. Under symbology tab check the box for Display Background Value. Click Apply and OK.

Page 56: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

ARC TIPS

Now the new imagery is over layed on the Basemap.

Page 57: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

REVIEW

• Students have seen the workflow for processing photos• Students understand how to sort photos• Students can convert thermal images for viewing• Students can setup Metashape and process images• Students can export products from Metashape

Page 58: BASICS OF PROCESSING FIRE IMAGERY · 11/1/2019  · • This presentation uses the Skid Fire as an example ... the Capture Interval was 11.92 seconds. We can take every fifth photo

Questions