<div dir="ltr"><div>I would presume that Javier is intending to use one of the several Complex data types that GDAL supports natively - CInt16, CInt32, CFloat32, CFloat64.<br></div><div><br></div><div>It seems that VRTs appear to have the capability to create a complex band from two separate bands, and vice versa - the "complex", "imag", and "real" pixel functions for "Derived Bands": <a href="https://gdal.org/drivers/raster/vrt.html#default-pixel-functions">https://gdal.org/drivers/raster/vrt.html#default-pixel-functions</a></div><div><br></div><div>Cheers,</div><div>Daniel<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 27 Jul 2024 at 12:35, Greg Troxel via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Javier Jimenez Shaw via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>> writes:<br>
<br>
> I have to create a complex number (real and imaginary part) image out of<br>
> two "normal" images or bands.<br>
> How can I do it?<br>
<br>
I don't know, but it would be great if you explained what that means.<br>
I did a quick web search and didn't find anything.<br>
<br>
There is multispectral where there are N pixel values for each x/y<br>
position, like RGB or many more bands.  But I am almost certain you<br>
don't mean that.<br>
<br>
Complex implies a magnitude and phase of a return signal and this makes<br>
me think about LIDAR, except the wavelength is tiny compared to features<br>
and ambiguity resolution seems infeasible.<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>