imageprocessing icon indicating copy to clipboard operation
imageprocessing copied to clipboard

Blue and Red cameras showing identical Center Wavelength and Bandwidth in RedEdge-P Dual

Open NingYe-Leaf opened this issue 4 months ago • 0 comments

When extracting metadata from RedEdge-P Dual camera images, the Blue and Red band cameras are returning identical values for Center Wavelength (XMP:CentralWavelength) and Bandwidth (XMP:WavelengthFWHM). This appears to be incorrect as these should represent different spectral bands with distinct wavelength characteristics. Is this a known issue with RedEdge-P Dual metadata? Are there alternative methods to retrieve correct spectral band information? Should we be using different XMP tags or processing methods for dual-camera systems?

Code: meta = metadata.Metadata(imageName, exiftool_path=exiftoolPath)

cameraMake = meta.get_item('EXIF:Make') cameraModel = meta.get_item('EXIF:Model') firmwareVersion = meta.get_item('EXIF:Software') bandName = meta.get_item('XMP:BandName')

print('{0} {1} firmware version: {2}'.format(cameraMake, cameraModel, firmwareVersion)) print('Exposure Time: {0} seconds'.format(meta.get_item('EXIF:ExposureTime'))) print('Imager Gain: {0}'.format(meta.get_item('EXIF:ISOSpeed')/100.0)) print('Size: {0}x{1} pixels'.format(meta.get_item('EXIF:ImageWidth'),meta.get_item('EXIF:ImageHeight'))) print('Band Name: {0}'.format(bandName)) print('Center Wavelength: {0} nm'.format(meta.get_item('XMP:CentralWavelength'))) print('Bandwidth: {0} nm'.format(meta.get_item('XMP:WavelengthFWHM'))) print('Capture ID: {0}'.format(meta.get_item('XMP:CaptureId'))) print('Flight ID: {0}'.format(meta.get_item('XMP:FlightId'))) print('Focal Length: {0}'.format(meta.get_item('XMP:FocalLength')))

NingYe-Leaf avatar Aug 12 '25 02:08 NingYe-Leaf