Author Topic: CalibrateColors  (Read 194 times)


  • Newbie
  • *
  • Posts: 4
    • View Profile
« on: November 02, 2018, 11:20:54 AM »
Hello. I have not found this on the forum, but does anyone here know how to check in python  if the images in a chunk is calibrated with calibrateColors? Or how to reset the calibration?

Best regards


Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 9490
    • View Profile
Re: CalibrateColors
« Reply #1 on: November 02, 2018, 06:24:57 PM »
Hello Joachim,

If the color correction has been performed then there will be non-empty lists in sensor.vignetting and in camera.vignetting.
To reset the color correction assign empty lists to them:
Code: [Select]
for sensor in chunk.sensors:
    sensor.vignetting = []
for camera in chunk.cameras:
    camera.vignetting = []
Best regards,
Alexey Pasumansky,
AgiSoft LLC