Tuesday, November 11, 2014

Galaxy S4 Photogrammetry

The Galaxy S4 is lightweight, loaded with sensors, and has plenty of power/battery life. The S4 is able to run the lightweight Seek Thermal Imaging camera as a USB attachment. With proper software, this device should make a great addition to many UAV.

Specs & Weight


 Camera Rear Focal Length 31mm
 Camera Rear Resolution 13 MP
 Camera Front Resolution  2 MP
 Location AGPS, GLONASS
 Weight 130.2g
 Size5.38" x 2.74" x 0.31"
 Android 4.4.2+
 RAM 2GB
 Processor Quadcore 1.9 Ghz
 Disk space 16 GB
 SensorsAccelerometer
Barometer
Geomagnetic
Gyrometer
Proximity
Temperature
Humidity

Project outline

Read in a flight plan from the Mission Planner software.

Log flight data to SD card.
Transmit sensor and/or video data over the DJI Phantom 2 Vision network via UDP to a laptop.
Use the sensor data to take photos with the 13 MP camera and the Seek Thermal camera simultaneously.
Aerial photography independent of flight apparatus.
Use coffee cans with internal fire as thermal ground control points.
Post processing with Visual SFM/CMPMVS to create orthorectified photos.

Getting Started

  • Install Android Developer Studio
  • Install Java SDK x64
  • Enable Developer Options on Android Phone. Do this by tapping the About Phone 7 times until this menu becomes available.
  • Install USB Driver for the Samsung Galaxy S4 SCH-I545
  • Develop. Make sure to save work in a Git repository such as Github.

Monday, November 10, 2014

Seek Thermal Imaging Camera

Just received my Seek Thermal Imaging Camera on 11/6/14.   Here are the specifications:

Spatial Resolution206 x 156 (32,136 pixels)
Misc12 mu pixel pitch
SensorVanadium Oxide Microbolometer
LensCholcogenide Lens
FOV36 degrees
Spectral Resolution7.2 - 13 microns
OSAndroid 4.3 or higher with mUSB
Temperature Range-40C to 330C
Price$200 USD
Weight14.1 g

Other features include:
  • Watermark images with GPS coordinates
  • Display temperature of an object
  • Adjust color pallets
  • Auto seek high and low temperatures
  • Thresholding above, equal to, or below a limit
Michigan Tech MEEM Building
Galaxy S4 with Seek Thermal Camera

My truck interior on a cold evening




Project Hardware and Software



Here is a summary of the software and hardware I've been working with recently.

Software


Autodesk Recap - This is cloud based processing of imagery and produces 3D models.

  • Cost: Free with Academic License 
  • Pros: Does not require hardware to process imagery 
  • Cons: Requires time to upload imagery 

Autodesk Revit - This is building information modeling software that can be used to make 3D layouts from the Recap output.

Agisoft Photoscan - This is a commercial product. There are two versions: Standard and Professional.

  • Cost: 600 - 3500 USD. Free demo but lacks ability to export results. 
  • Pros: Ease of use. Does a great job processing with default parameters. 
  • Cons: Requires lots of RAM. 16 GB should be minimum. 

VisualSFM/CMPMVS - This is an open source product. This software allows the creation of 3D Models, orthorectified imagery, digital surface models.
  • Cost: Free. 
  • Pros: Free. 
  • Cons: Requires lots of disk space and CPU. Can be intimidating. 

Adobe Lightroom - This was useful for the DJI Phantom lens correction profile.


  • Cost: 79 USD
  • Pros: Lens correction profile for DJI camera. Easy to use contrast and histogram editing.
  • Cons: Cost.


Meshlab - This is software for editing 3D models. It can be used to clean up artifact from your models

Hugin - This is a free open source software for stitching images together. It is often used for creating panoramic photos.


Microsoft ICE - Like Hugin, this is a free software (closed source) for stitching images together. It can create panoramic imagery that is compatible with Photosynth.


Three.JS - This is a Javascript framework for working with WebGL. It allows 3D visualization of the OBJ files.

RealFlight 7.5 - This is software used to practice flying. It has very realistic physics and supports many types of vehicles from tri/quad/hex copters to fixed wing aircraft and traditional helicopters.


Hardware

DJI Phantom 2 Vision Plus

  • Cost: 1700 USD including Pelican case, prop guards, and extra battery, charger. 
  • Pro: Ease of use. Resale value. FPV/Telemetry 
  • Con: Camera quality. Lack of mission planning software. 

Blade Nano QX

  • Cost: 90 USD 
  • Pro: Easy to fly. Can fly indoors. Has prop guards 
  • Con: None. This is an excellent physical training quadcopter. 

RealFlight 7.5

  • Cost: 179 USD 
  • Pro: Practice flying without damaging apparatus. Elite Interlink edition has a controller similar to Futaba radio. 
  • Con: Price. 

Canon SX260

  • Cost: 250 USD 
  • Pro: Canon CHDK. Image quality. Ability to remove infrared filter. 
  • Con: Weighs a hefty 230g. 

Samsung Galaxy S4

  • Cost: Used 75 USD. 
  • Pro: Sensors, weight, Android SDK. 
  • Con: None so far. 

Seek Thermal Imaging Camera

  • Cost 200 USD 
  • Pro: True longwave infrared thermal imaging in 7.5 - 13 micron range. 
  • Con: Resolution.