Skip to main content

Posts

Ph.D. Work Leveraging DIRSIG

Last week, Brian Flusche (one of our students) defended his Ph.D. dissertation entitled "Analysis of Multi-Modal Fusion for Target Detection in an Urban Environment". Brian's research reflects how many people are using DIRSIG to simulate data in an effort to explore the value of new and novel exploitation schemes. In this case, Brian was trading the value of hyper-spectral imaging vs. polarimetric imaging vs. a combination of the two for doing target detection in an urban environment. In addition to his great use of DIRSIG (you can't expect us to be unbiased!), Brian was able to draw some very interesting and valuable conclusions. It you would like too watch his defense, it was recorded and is available here . A copy of his dissertation is available here . The DIRSIG Team would like to congratulate Brian on his work and the successful defense of his Ph.D research. Good job, Dr. Brian.

Indoors1 Demo

We've just put together another DIRSIG "demo" simulation. It shows a camera placed indoors. The scene is illuminated by both a secondary source at the ceiling and through a window cut-out at the far end of the room. This demonstration will be included in the next DIRSIG release.

MegaScene1 and MicroScene1 Updates

We have placed an update to the MegaScene1 distribution on myDIRSIG. The major aspect of this release is that it comes with a set of DIRSIG4 .scene files. This release also includes updates to material properties including the conversion of the tree leaf optical properties from extinction to transmission. We have found that changing this optical property provided speed ups because a large number of calls to the exponent function (to compute the transmission from the extinction) are eliminated. You can also download an update to MicroScene1. Like MegaScene1, we had neglected to push out an update of MicroScene1 with DIRSIG4 .scene files that were as simple to use as "unzip and use". Both updated scene files can be downloaded by registered users from the myDIRSIG website.

New Year, New DIRSIG

This release is primarily a maintenance release to address a few bugs in the 4.4.0 release. A "release candidate" is a preview of the next release of DIRSIG. This version of the software is produced when we feel the software is ready for release, but we would like some last-minute user feedback. Our early adopters always help spot a few lingering issues that our release quality control process misses. We expect the official version of 4.4.1 to be released around Jan 14th, 2011 The following is a summary of fixes and features added in this release: First release to include a Windows 64-bit version Improvements to correlated deviate models used for jitter The frequency spectrum can now (optionally) include the phase Various LIDAR related improvements Speedups for atmospheric backscatter returns Bug fix for Linear-mode APD LIDAR detector model Various GUI bug fixes and improvements Improvements to streamline integration with SUMO and CityEngine SUMO v...

LIDAR Point Cloud Visualization

A common question we get asked is how to visualize the point cloud data produced by either the Linear-mode or Geiger-mode LIDAR simulations. First, you should remember that the point cloud files produced by the "APD Processor" are simple ASCII/text files. Each line is the entry for a single return or "point" in the point cloud, including the point location and some attributes that vary depending on whether you modeled a Linear-mode or Geiger-mode system. For a Linear-mode system, a point cloud file will generally look like the example below: 12.7388 -45.3612 -0.0256 5.0290 0 0 0 0 12.8169 -45.3612 -0.0264 4.8362 0 1 0 0 12.8950 -45.3612 -0.0271 4.8362 0 2 0 0 ... 32.4008 -25.5446 10.5945 4.6783 0 65533 0 0 32.4781 -25.5446 10.5953 5.8959 0 65534 0 0 32.5360 -25.5640 12.5408 5.9185 0 65535 0 0 The first three columns are the X/Y/Z location of the point return. The 4th column is the intensity (in photons). Since Linear mode can support multiple returns per pulse, t...

Modeling Clouds for Large Area Collects (Under Development)

We often want the ability to add clouds to a large scale scene in order to see the reflective, transmissive and shadowing effects on the scene. In these cases we are not so much concerned with the absolute radiometry of the clouds (true multiple scattering, exact modeling of limb regions, etc..), as we are with capturing bulk effects (single-scattering contributions, transmission effects, realistic spatial distributions, etc..). With these cases in mind, and to support modeling of the next generation Landsat sensor, we are developing a simplistic and very fast large-scale cloud model based on using the USAF Cloud Scene Simulation Model ( CSSM ) and OPAC data to generate voxelized representations of inherent optical properties. DIRSIG uses this data to drive a simple radiative transfer model that captures the bulk of the radiometric effects on the scene with very little additional computation overhead. The process is currently going through a period of validation and refinement and sh...

DIRSIG 4.4.0 Final Release

Three weeks ago we announced a "release candidate" for DIRSIG 4.4.0. In the time since, we had quite a few early adopters try out 4.4.0 and provide us with feedback. Those improvements and bug fixes have now been incorporated into the official release of DIRSIG 4.4.0, which is now ready for download on myDIRSIG for registered users. Like we said at the time of the release candidate, we are very excited about this release as it packs in a bunch of new features and performance improvements: New User Interface Tools Graphical simulation preview Basic image viewer Component browser SGP 4 Orbiting Platform Motion Wizard Geometry Improvements Added affine transform INFO option to ODB Ray-trace optimization for dynamic (moving) scene geometry Support for vertex normals (normal "shading") on OBJ input geometry Atmosphere Added the GUI for the built-in "uniform" atmosphere model User-defined MODTRAN profile support (make_ adb config ...

Making video simulations

Over the past few years we have been doing more simulations of video systems. Perhaps you have seen the video simulation of MegaScene1 with the cars driving down the streets as would be acquired from a circling UAV: So how do we make these videos? It is really a simple tool chain involving a tool that is distributed with DIRSIG and another tool that can be downloaded from the web. For this example, we are going to deal with a 2D framing array type system and that has a red, green and blue (RGB) channel set being captured (read out) on a regular interval: DIRSIG itself doesn't generate video files directly, but you can employ DIRSIG to generate the individual frames for a video and them combine them. This workflow breaks down into a three (3) step process: Instruct DIRSIG to output each capture (or "frame") of the focal plane to an individual file. Convert each floating-point radiance image file to a 24-bit (8-bits per channel) RGB image file. Encode the RGB image files...

Using OBJ for Scene Geometry

When we first started on the DIRSIG model in the late 1980s, 3D computer graphics was still in its infancy. At the time, standard file formats for 3D geometry were still being established. In addition, the DIRSIG model had the need for a specific set of per-facet attributes (material ID, thickness, override temperature, etc.) that are still somewhat unique in the 3D modeling community. As a result, the DIRSIG specific Geometric Database (GDB) format was created and is still used to this day. In the mean time, a variety of 3D geometry file formats have become widely used. Although the GDB format serves our needs well, it requires the user to translate the 3D geometry assets from other formats in order to use them with DIRSIG. Lately we have been experimenting with using the Alias/Wavefront OBJ file format as a possible replacement for GDB. The important features of the OBJ format are: It is widely supported by 3D geometry authoring tools (Rhino, SketchUp, Blender, etc.). It supports per...

Improved Urban and Forest Scenes

In the DIRSIG 4.4.0 release users will find that we made some modest improvements to the classic Urban and Forest scenes. Primarily, we improved the scene geometry by replacing the decade old, low facet count trees with the high fidelity trees we have been using in other scenes. We have also cleaned out a bunch of unused files and tried to improve the organization of the respective scene directories. The first thing you will notice in the updated Urban scene (seen above) is the new trees and the fact that there is more than one tree species. The scene also has some new textures for the grass and asphalt areas. This scene now has both day/night and summer/winter configurations. The "night" .scene files have the streetlights automatically enabled. The "winter" .scene files use defoliated trees. You might ask why the river running down the middle of the scene is so green in color. The river is modeled as a flat surface with an effective reflectance measured from s...

Improved Demos

One of the ways we try to teach users about specific features is by making a "bare bones" simulation as a demonstration of that feature. These "demos" don't usually generate a very exciting output data product, but they are fully self-contained (no external data required) simulations that focus on how to configure a specific feature. We have been distributing our growing set of demos with DIRSIG releases for some time. In DIRSIG-4.4.0, we tried to make demos easier to use. The "demos" folder now includes a top-level HTML index file. On a Windows installation, this HTML index is can be opened by clicking the "Demonstrations" item in the "DIRSIG 4" sub-menu of the Start menu. On Mac and Unix/Linux, just open $DIRSIG_HOME/demos/index.html in your browser. This shows a thumbnail image for each demo and gives a brief description of what the example demonstrates. Note the "Download this demo" link under each description. Whe...

Under the Hood: Simulation Inputs

Here is a look at the input files that go in to a DIRSIG simulation. Each icon in the dirsig_edit tool corresponds to an XML file: Behind the scenes, these files are given the following extensions: .scene .atm .platform .ppd .tasks .options The options file is, by happenstance, optional. So what goes in to the ".sim" manifest file? It's simply a list of the files assigned to each component. A typical sim file looks as follows: <simulation> <scene externalfile="../../warehouse.scene" /> <atmosphericconditions externalfile="./warehouse.atm" /> <platform externalfile="./warehouse.platform" /> <platformmotion externalfile="./warehouse.ppd" /> <tasklist externalfile="./warehouse.tasks" /> </simulation> See? Nothing more than a list of files. You can also see the relationship between files and components from within dirsig_edit. Jus...

Viewing and Importing DIRSIG Output Images

We are often asked what programs can view DIRSIG's image outputs and how to import the raw DIRSIG image data files into other tools for further processing. For basic image viewing, DIRSIG-4.4.0 now includes a very simple viewing tool. Launch it from the main simulation editor window by selecting the "Start image viewer" option from the "Tools" menu. If you run your simulation from the GUI simulation editor, new image files are automatically added to the list in the image viewer as they are generated. If you want to manually add files to the list, simply select the "Open" item from the "File" menu or the toolbar. Here is a screenshot of the main image viewer window. The top part contains the list of currently opened files and the bands within those image files. To view a single band as a gray-scale image, choose "Single Band Display" from the combo box and then click on the image band that you want. Finally, click "Load Band...

Warehouse Scene

Included in the DIRSIG-4.4.0 release candidate is a new "warehouse" scene. As shown below, this scene features a fairly high amount of geometric clutter. The scene includes stacks of wood palettes and crates, steel I-beams, piles of corrugated steel panels, steel pipes, shipping containers, concrete barriers and other "cultural clutter" objects that might be found at a site like this. The scene was created with roughly a 0.10 [m] GSD in mind. It includes full spectral coverage in the visible, NIR, and SWIR. This will be extended to the MWIR and LWIR in the future. Placement of geometry and material attribution was done using Blender together with some DIRSIG I/O python scripts. The material database was manipulated using the "mat_edit" tool. The material map over the terrain was originally drawn as a vector layer using Inkscape and then cleaned and converted to its final PGM version using Gimp . In addition to adding LWIR coverage, we would like to i...

DIRSIG 4.4.0 Release Candidate

We are pleased to announce a "release candidate" for DIRSIG 4.4.0 has been posted to myDIRSIG. A "release candidate" is a preview of the next release of DIRSIG. This version of the software is produced when we feel the software is well tested and ready for release, but we would like some last-minute user feedback. We are very excited about this release as it packs in a bunch of new features and performance improvements: New User Interface Tools Graphical simulation preview Basic image viewer Component browser SGP4 Orbiting Platform Motion Wizard Geometry Improvements Added affine transform INFO option to ODB Ray-trace optimization for dynamic (moving) scene geometry Support for vertex normals (normal "shading") on OBJ input geometry Atmosphere Added the GUI for the built-in "uniform" atmosphere model User-defined MODTRAN profile support (make_adb config file) in GUI for "classic" (ADB file based) and "threshold" (run-time MO...

We are back ...

Niek started this blog 4 years ago, but then let it go dormant. We recently decided it would be a good thing to have some sort of way to publicly show each other and the user community some of the fun, cool and helpful things we are working on from time to time. So please stay tuned in the future for news, tips, tricks, etc. about the DIRSIG model.

DIRSIG-4.0.8 Features

The next release of DIRSIG will feature two major internal optimizations. One which will significantly speed thermal runs. The other which will speed unpolarized radiometric calculations--especially noticeable in hyperspectral cases. New functionality includes a user-configurable interactive mode, which allows for a user-specified ray/solid angle to be traced and for arbitrary data to be extracted from the solution. The output can be either easily-parsable XML or human-friendly plaintext.

DIRSIG-4.0.7 Released

The DIRSIG-4.0.7 build is now available off the myDirsig website. Besides a bunch of smaller bug fixes, the key improvements are to the LIDAR and Polarization models. This is also the first release in which Voxelized Grids can be reliably used ( demonstration ). This release also marks the first time that the DIRS Laboratory has put out an x86-64 based Linux build. Assembled on Fedora Core 5, it takes advantage of the additional registers and instructions added to the 64-bit x86 CPUs. Unfortunately, many of the libraries are dynamically linked, making it difficult to use portably across different Linux platforms. Future releases will feature more static linkage. Note that this version has undergone extensive testing; it is used across our internal compute cluster.