-
Notifications
You must be signed in to change notification settings - Fork 177
Description
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')))