Forum

Author Topic: Mask thumbnail accesable in python scripts?  (Read 2853 times)

smihic

  • Newbie
  • *
  • Posts: 31
    • View Profile
Mask thumbnail accesable in python scripts?
« on: February 06, 2015, 04:50:25 PM »
Hi,
   is it possible to access mask thumbnail in python scripts. I know it is possible to access the thumbnail of photo/camera.

In addition, what is the best way to access image data (image has function tostring() which gives raw bytes - in which order they are (R,G,B) rows or columns?

Best regards,
Srdjan

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14847
    • View Profile
Re: Mask thumbnail accesable in python scripts?
« Reply #1 on: February 06, 2015, 05:07:22 PM »
Hello Srdjan,

There's no access to the mask thumbnails. I think rather fast downscale function can be implemented manually.


As for the pixel order in tostring() image, pixels go row by row and each one is defined by RGB values.
Best regards,
Alexey Pasumansky,
Agisoft LLC