X

NV5 Geospatial Blog

Each month, NV5 Geospatial posts new blog content across a variety of categories. Browse our latest posts below to learn about important geospatial information or use the search bar to find a specific topic or author. Stay informed of the latest blog posts, events, and technologies by joining our email list!



Not All Supernovae Are Created Equal: Rethinking the Universe’s Measuring Tools

Not All Supernovae Are Created Equal: Rethinking the Universe’s Measuring Tools

6/3/2025

Rethinking the Reliability of Type 1a Supernovae   How do astronomers measure the universe? It all starts with distance. From gauging the size of a galaxy to calculating how fast the universe is expanding, measuring cosmic distances is essential to understanding everything in the sky. For nearby stars, astronomers use... Read More >

Using LLMs To Research Remote Sensing Software: Helpful, but Incomplete

Using LLMs To Research Remote Sensing Software: Helpful, but Incomplete

5/26/2025

Whether you’re new to remote sensing or a seasoned expert, there is no doubt that large language models (LLMs) like OpenAI’s ChatGPT or Google’s Gemini can be incredibly useful in many aspects of research. From exploring the electromagnetic spectrum to creating object detection models using the latest deep learning... Read More >

From Image to Insight: How GEOINT Automation Is Changing the Speed of Decision-Making

From Image to Insight: How GEOINT Automation Is Changing the Speed of Decision-Making

4/28/2025

When every second counts, the ability to process geospatial data rapidly and accurately isn’t just helpful, it’s critical. Geospatial Intelligence (GEOINT) has always played a pivotal role in defense, security, and disaster response. But in high-tempo operations, traditional workflows are no longer fast enough. Analysts are... Read More >

Thermal Infrared Echoes: Illuminating the Last Gasp of a Dying Star

Thermal Infrared Echoes: Illuminating the Last Gasp of a Dying Star

4/24/2025

This blog was written by Eli Dwek, Emeritus, NASA Goddard Space Flight Center, Greenbelt, MD and Research Fellow, Center for Astrophysics, Harvard & Smithsonian, Cambridge, MA. It is the fifth blog in a series showcasing our IDL® Fellows program which supports passionate retired IDL users who may need support to continue their work... Read More >

A New Era of Hyperspectral Imaging with ENVI® and Wyvern’s Open Data Program

A New Era of Hyperspectral Imaging with ENVI® and Wyvern’s Open Data Program

2/25/2025

This blog was written in collaboration with Adam O’Connor from Wyvern.   As hyperspectral imaging (HSI) continues to grow in importance, access to high-quality satellite data is key to unlocking new insights in environmental monitoring, agriculture, forestry, mining, security, energy infrastructure management, and more.... Read More >

1345678910Last
10135 Rate this article:
4.8

Building Custom Workflows Just Got Easier

Jason Wolfe

Have you ever had a great idea for a custom tool in ENVI® but were put off by learning the ENVI API? Traditionally, this was the only way to chain together various tasks in a sequence, or to batch-process input files at once. The learning curve can be steep if you are not familiar with basic IDL and ENVI programming.

With the release of ENVI 5.5, building custom data-processing workflows in ENVI is much easier, thanks to the ENVI Modeler. This is a new visual programming tool that leverages the power of the ENVI API with a simple user interface to help you create and run workflows that you can deploy to desktop and enterprise environments. You can design simple or complex processes that combine different ENVI spectral tools, without having any knowledge of ENVI programming.

For example, suppose that you want to convert multiple red/green/blue (RGB) images to hue/saturation/intensity (HSI) color space and save the results to disk. If you write an ENVI API script to do this, you would have to manage input and output file references yourself. You may not know the task names to use, and you could spend a lot of time referring to the help for the correct names of parameters. You would need to know how to create a FOR loop (with the correct IDL syntax) to process multiple input files.

With the ENVI Modeler, you can connect building blocks called nodes to run a sequence of steps; for example:

This model uses a File node (shown in the blue box) to point to six RGB input files. The primary job of this model is to perform an RGB-to-HSI conversion, so it needs a Task node that will do this. To find an appropriate task, you can enter a keyword in the Search field of the Tasks list:

In this case, the "RGB to HSI Raster" Task node will perform the RGB-to-HSI image conversion. An Iterator node allows you to batch-process the input files. Finally, a Generate Filename node lets you indicate where to save the output files, along with prefixes and extensions for the filenames. Running the model will produce six HSI images on disk:

Here is another example of a model that runs through a full workflow for Linear Spectral Unmixing to determine the relative abundance of minerals in a hyperspectral image:

Once you have built a model, you can share it with others and deploy it in various ways:

  • Save a model as an extension that will be added to the ENVI Toolbox.
  • Create IDL or Python code from a model.
  • Create toolbox extensions for ArcMap and/or ArcPro.
  • Run a model on a Geospatial Services Framework (GSF) server.

Example models are available in the ENVI Help, to get you started. By having a visual programming tool available in ENVI, you can design workflows that contain any number of ENVI analytic tools. What will you create?

Please login or register to post comments.