IMAGINE Discussions

Discuss and share topics of interest using ERDAS IMAGINE the world’s leading geospatial data authoring system.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Valued Contributor
Posts: 633
Registered: ‎10-27-2015
Accepted Solution

Pan sharpening of Worldview-3 images

Dear all,
it better to do the pansharpening using the TIL images or it's better to import the the two tils (usint the import tool) and then do the pansharpening? 

The images are big so each steps require hours, I need to optimize.
After the pansharpenin I will use the control points tool

 

thanks!

Highlighted
Staff
Posts: 153
Registered: ‎06-30-2016

Re: Pan sharpening of Worldview-3 images

If you are looking to optimize performance, you are better off to pansharpen the TIL images in parallel and then import at the end.

 

Best regards, Sam

Highlighted
Valued Contributor
Posts: 633
Registered: ‎10-27-2015

Re: Pan sharpening of Worldview-3 images

Thanks Sam,

Could you please better explain the process? I did not understand

Highlighted
Valued Contributor
Posts: 633
Registered: ‎10-27-2015

Re: Pan sharpening of Worldview-3 images

?

Highlighted
Technical Evangelist
Posts: 908
Registered: ‎10-01-2015

Re: Pan sharpening of Worldview-3 images

Here's what I'd personally do:

 

  1. Pop open the pan sharpening spatial model of your choice in Spatial Model Editor
  2.  I'd usually use NNDiffuse, so I'd add steps at the front end to atmospherically correct the MS image using the Rapid Atmospheric operator
  3.  Raster Output should be to whatever format you desire
  4.  Run the model with inputs pointing to the original .TIL files

This way you'll gain the benefit of Spatial Modelers capability to multi-thread and perform the entire workflow in one step. If you have a GPU card and OpenCl configured the NNDiffuse will also be very fast. 

 

But I'm biased toward Spatial Modeler :-)

 

Cheers

 

Ian Anderson
Chief Product Owner, Desktop Remote Sensing
Hexagon Geospatial
Highlighted
Valued Contributor
Posts: 633
Registered: ‎10-27-2015

Re: Pan sharpening of Worldview-3 images

Thanks Ian!

I created the model:

Capture.PNG

Without the raster output before the PanSharpen I had this error:

13/02/20 19:02:07 SessionMgr(12728): Data was not read from the source. This is likely caused by stale pyramid information stored in the image.
13/02/20 19:02:07 SessionMgr(12728): Spatial model execution failed.


Should I create the pyramids?

Using the model in the image I have this output:

Capturess.PNG

Min and Max are right? I aspected 0-10000

Furthermore I have many nodata (in red) in the image:


  Capturess.PNG

What do you think about? thanks!

Highlighted
Valued Contributor
Posts: 633
Registered: ‎10-27-2015

Re: Pan sharpening of Worldview-3 images


Maybe the use of the BBox was not good, with the Rapid Atmospheric. Now I am trying with this:

I am using the bbox to test the model

Capturessa.PNG

Highlighted
Technical Evangelist
Posts: 908
Registered: ‎10-01-2015

Re: Pan sharpening of Worldview-3 images

Why use a bounding box for testing as you develop? A Preview is effectively a bounding box that will only process the area you're looking at.

 

Also, Rapid Atmospheric needs a large extent to build the parameters for the correction - how small of a bounding box are you defining? Or, preferably, don't. Just use a Preview instead. And no Raster Outputs (which are obviously going to cause inefficient processing) other than the final one.

 

This is working fine for me:

 

wv3.PNG

Ian Anderson
Chief Product Owner, Desktop Remote Sensing
Hexagon Geospatial
Highlighted
Technical Evangelist
Posts: 908
Registered: ‎10-01-2015

Re: Pan sharpening of Worldview-3 images

Oh, ,and if you're having a problem with "real" data being stretched below 0, getting truncated to 0 when converted to Int and then set to the NoData value when you output a file, try something like this:

 

nodata.PNG

Ian Anderson
Chief Product Owner, Desktop Remote Sensing
Hexagon Geospatial
Highlighted
Technical Evangelist
Posts: 908
Registered: ‎10-01-2015

Re: Pan sharpening of Worldview-3 images

Real-time atmospheric correction and pan sharpening. Can't get much more efficient than that!

 

Cheers

 

Ian Anderson
Chief Product Owner, Desktop Remote Sensing
Hexagon Geospatial