Skip to main content

Meet a Capture Method: Raw

Many users want just raw radiance data from DIRSIG.  Rather than apply a built-in instrument model, they do their own post-processing of the radiance results.  The "Raw" capture method can be used to achieve this.  It writes raw DIRSIG results without applying any spatial or spectral integration.

Here's a snapshot of the Raw Capture Method configuration dialog.  We'll now work through each section.



The Spectral Range controls the wavelengths for which DIRSIG will calculate and output results.  

In this example, DIRSIG will compute from 0.40 microns to 2.50 microns in 0.01 micron increments.  The output image will have 211 bands of result data.  The delta must divide the range in to a whole number of bins.  For example, the range 0.4 to 0.7 microns with a 0.2 micron delta will result in an error message when DIRSIG runs.


The Spatial Response controls how many results are computed and written out per detector array element.  By default, there is a single pixel result per detector element.  By turning on oversampling, you can get multiple output pixels for each detector element.  This is useful when applying point spread functions in post-processing.


Output Options: this check box includes full stokes vectors in the output data.  Rather than just writing unpolarized radiance (S0) for each computed wavelength, DIRSIG will write four element stokes vectors.



DIRSIG generates an image each time the focal plane is "captured".  The Output File Schedule determines how these simulation results are written to disk. 
  •  Doing a file per simulation causes all these captures to be stashed in a single image.  If there is more than one capture, this gives a "film strip" effect.  
  • The second option creates a separate file for each task, but if there are multiple captures in a given task then again there will be a "film strip".  
  • The final option gives a separate file for each and every capture.
With multiple files, DIRSIG adds sequence numbers to the file names.  For instance result.img will be written as result-t0000-c0000.img when image per capture is specified.

 
Output Radiance Image File specifies the file names for the results.

In this example, the output file name will always begin with result.  Again, it may possibly be appended with sequence indicators (-t0000) depending on the file schedule.  Here, the file is always given a .img extension.

Comments

Popular posts from this blog

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...

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...

DIRSIG5: An introduction, a timeline and a paper

Although we will be devoting more time to this topic in the blog, many of you are aware that the next generation version of DIRSIG (aka DIRSIG5) has been under development for the past 2 years. This was a ground-up, restart from zero, etc. effort that establishes the DIRSIG modeling toolkit for the next decade. New core, new approach Although we have developed a compatibility layer to allow existing DIRSIG4 simulations to run, the DIRSIG5 model is radically different under the hood. The lightweight and highly optimized radiometry core uses a different numerical radiometry (light transport) approach than we used in DIRSIG4. In addition to being faster (less work to get an accurate answer) this algorithm is far better suited for parallelization. As a result, we have implemented micro-scale parallelization (multi-threading on multi-core CPUs) from the start and work on macro-scale parallelization (MPI distribution on cluster-style computing) is getting underway. This radiometry core al...