Problems with ossim bandMerge and blending, and then rendering with GDAL

3 messages Options
Embed this post
Permalink
Tom MacWright-2

Problems with ossim bandMerge and blending, and then rendering with GDAL

Reply Threaded More More options
Print post
Permalink
Hi,

I've been trying to merge a lot of GeoTIFFs (merging three bands each  
for many) and then blending them together into one large nitf image,  
and I don't get any reported errors from ossim-orthoigen at all  
(running with mpirun -np 2 on both commands), but when I attempt  
rendering via GDAL, I get a very bizarre output - the bands stacked on  
top of each other and no coverage in the bottom half of the imagery.  
Here's what it looks like: http://skitch.com/tmcw/ndexn/combined.nitf-vimperator 
  . Any ideas for what might cause this? It's quite frustrating and  
I'm afraid that my current work will also suffer from the same bug or  
snag somewhere in the process.

Thanks!

Tom MacWright


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
Garrett Potts

Re: Problems with ossim bandMerge and blending, and then rendering with GDAL

Reply Threaded More More options
Print post
Permalink
Hello Top:

Could you define the exact process you want to do.  When you say merge  
are you mosaicing a number of tiffs together?  merging bands is  
different than doing a moasic for the bands are not aligned to a view  
since all inputs are of different geometries.


Take care and let me know.


Garrett

On Oct 15, 2009, at 9:26 AM, Tom MacWright wrote:

> Hi,
>
> I've been trying to merge a lot of GeoTIFFs (merging three bands each
> for many) and then blending them together into one large nitf image,
> and I don't get any reported errors from ossim-orthoigen at all
> (running with mpirun -np 2 on both commands), but when I attempt
> rendering via GDAL, I get a very bizarre output - the bands stacked on
> top of each other and no coverage in the bottom half of the imagery.
> Here's what it looks like: http://skitch.com/tmcw/ndexn/combined.nitf-vimperator
>  . Any ideas for what might cause this? It's quite frustrating and
> I'm afraid that my current work will also suffer from the same bug or
> snag somewhere in the process.
>
> Thanks!
>
> Tom MacWright
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart  
> your
> developing skills, take BlackBerry mobile applications to market and  
> stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________
> www.ossim.org
> Ossim-developer mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/ossim-developer


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer
David R. Burken

Re: Problems with ossim bandMerge and blending, and then rendering with GDAL

Reply Threaded More More options
Print post
Permalink
In reply to this post by Tom MacWright-2
Hi Tom,

Sorry for the late response I was waiting for you to respond to Garrett.

Via command line I would do:

ossim-band-merge tiff_tiled_band_separate b1.tif b2.tif b3.tif rgb.tif

I just check this does copy tags.  You can check with:

ossim-info -d rgb.tif

Then I would do the orthoigen.

ossim-orthoigen rgb1.tif rgb2.tif rgb3.tif mosaic.tif

You could also do this with "imagelinker" but it sounds like you want command line.

I can't speak for the gdal output.  You'd have to ping the gdal list on that.

Take care,
Dave
________________________________________
From: Tom MacWright [[hidden email]]
Sent: Thursday, October 15, 2009 9:26 AM
To: [hidden email]
Subject: [OSSIM] Problems with ossim bandMerge and blending,    and then rendering with GDAL

Hi,

I've been trying to merge a lot of GeoTIFFs (merging three bands each
for many) and then blending them together into one large nitf image,
and I don't get any reported errors from ossim-orthoigen at all
(running with mpirun -np 2 on both commands), but when I attempt
rendering via GDAL, I get a very bizarre output - the bands stacked on
top of each other and no coverage in the bottom half of the imagery.
Here's what it looks like: http://skitch.com/tmcw/ndexn/combined.nitf-vimperator
  . Any ideas for what might cause this? It's quite frustrating and
I'm afraid that my current work will also suffer from the same bug or
snag somewhere in the process.

Thanks!

Tom MacWright


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
www.ossim.org
Ossim-developer mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/ossim-developer