Skip to content
Snippets Groups Projects
Commit 43dce4e2 authored by Emmanuel Christophe's avatar Emmanuel Christophe
Browse files

ENH: adding support for reader vector image of complex; std::complex<float> done (WIP)

parent 202e836d
No related branches found
No related tags found
No related merge requests found
......@@ -471,9 +471,9 @@ void GDALImageIO::InternalReadImageInformation()
/******************************************************************/
// Pixel Type always set to Scalar for GDAL ? maybe also to vector ?
// Modif Patrick: LIRE LES IMAGES COMPLEXES
// if (GDALDataTypeIsComplex(m_PxType))
if(0)
//Once all sorts of gdal complex image are handle, this won't be
//necessary any more
if (GDALDataTypeIsComplex(m_PxType) && (m_PxType != GDT_CFloat32))
{
m_NbOctetPixel = m_NbOctetPixel * 2;
this->SetNumberOfComponents(2);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment