Skip to content

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

Description

@NingYe-Leaf

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')))

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions