Forum

Author Topic: Build Dem error in Photoscan 1.4.0  (Read 4607 times)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14816
    • View Profile
Re: Build Dem error in Photoscan 1.4.0
« Reply #15 on: January 19, 2018, 05:51:15 PM »

now I have a question for Micasense  calibration will calling these to function helps or not 
Code: [Select]
chunk.locateReflectancePanels()
chunk.loadReference('c:/tmp/RP02-1648263-SC.csv')

So far I am able correct micasense Image via GUI interface I link to do that with python code too

Hello ppant,

.loadReference() function should be only used to load the coordinate information to the Reference pane.

Currently CSV import for the reflectance panel is not supported via Python, so you should input the reflectance values for each band manually (for every calibration image). For example:

Code: [Select]
albedo = {"Blue": "0.65952", "Green": "0.67788", "Red": "0.67718", "NIR": "0.66653", "Rededge": "0.6223266"} #reflectance values for the panel for each band
for camera in chunk.cameras:
    if camera.group.label != "Calibration images":
        continue
    for plane in camera.planes:
        plane.meta["ReflectancePanel/Calibration"] = albedo[plane.sensor.bands]
Best regards,
Alexey Pasumansky,
Agisoft LLC