From: Garrett P. <gc...@ma...> - 2011-04-27 12:30:48
|
Hello DAve: No, it's not coded in TiffTileSource. It was setup in GdalTileSource for splitting complex data into 2 bands. We also needed the scalar type defined in ossimCommon. Ultimately the fix will be to split the data coming out of the Tiff for the buffer. Take care Garrett On Apr 27, 2011, at 5:24 AM, Dave Burken wrote: > Garrett, > > Looking at the ossimTiffTileSource I see it's not coded. I thought you guys added that but I guess not. > > Dave > > ________________________________________ > From: Garrett Potts [gc...@ma...] > Sent: Wednesday, April 27, 2011 8:14 AM > To: ossim users > Subject: Re: [OSSIM] ossimTiffTileSource class and GeoTiff with complex pixel values > > Hello Guys: > > I have checked in a fix to ossimCommon.cpp to include the complex type definitions in ossimConstants.h. This might remove your crash but not sure. I can't test these added bit sizes. Also, we probably ultimately need to split out the real and imaginary parts into 2 bands coming out of the TiffTileSource. > > > Take care > > Garrett > On Apr 27, 2011, at 4:51 AM, Dave Burken wrote: > >> Hi, >> >> Can you send me an ossim-info -d <your-tiff> and I'll take a look. >> >> Thanks, >> Dave >> >> ________________________________________ >> From: Mickaël Savinaud [mic...@c-...] >> Sent: Wednesday, April 27, 2011 7:38 AM >> To: oss...@li... >> Subject: [OSSIM] ossimTiffTileSource class and GeoTiff with complex pixel values >> >> Dear Ossim developpers, >> >> For the Orfeo Toolbox project, we open with GDAL GeoTiff with complex >> pixel values but when we load metadata ossimTiffTileSource::open() >> method return false output and a warning message "Cannot determine >> scalar type" and dump the trace. >> >> If I well understand the code linked to this warning, ossim didn't >> manage tiff file with complex values. Is it normal ? >> >> However OSSIM_CINT16, OSSIM_CINT32, OSSIM_CFLOAT32, OSSIM_CFLOAT64 are >> defined as valid ossimScalarType. >> >> This is why I have add some code to my source to overpass this warning >> and defined correctly theBytesPerPixel and theScalarType in case of >> complex data but a crash appears later. >> >> So I need help to understand why tiff file with complex pixel values are >> not managed by Ossim and how to overcome this limitation with a small >> patch: avoid trace dump and message warning and provide right metadata. >> >> Best Regards >> Savinaud Mickaël >> >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> www.ossim.org >> Ossim-developer mailing list >> Oss...@li... >> https://lists.sourceforge.net/lists/listinfo/ossim-developer >> >> ------------------------------------------------------------------------------ >> WhatsUp Gold - Download Free Network Management Software >> The most intuitive, comprehensive, and cost-effective network >> management toolset available today. Delivers lowest initial >> acquisition cost and overall TCO of any competing solution. >> http://p.sf.net/sfu/whatsupgold-sd >> _______________________________________________ >> www.ossim.org >> Ossim-developer mailing list >> Oss...@li... >> https://lists.sourceforge.net/lists/listinfo/ossim-developer > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > www.ossim.org > Ossim-developer mailing list > Oss...@li... > https://lists.sourceforge.net/lists/listinfo/ossim-developer |