1
Python and Java API / How do I set output size of orthomosaic
« on: December 19, 2017, 11:41:52 PM »
I have been developing some code to automatically process, save and export data. For part of the necessary use of the data I need the orthomosaic to be of a certain maximum dimension, using the gui I can just use the "Max. dimention (pix): " option to set the maximum size for the exported image.
My question is: How do I do that with python? the only options I have found in the API are dx, dy which the API makes sound to be the programmatic version of the gui's "Pixel size: " option, or blockh, blockw which seem to relate to the "Split into blocks (pix):" option.
currently i am using some python code to resize the full sized orthomosaic down to what I need after exporting but every time it runs I get a "pixel count too large: could be a decompression bomb attack" warning.
PhotoScan Version: 1.3.2 build 4205 (64 bit)
My question is: How do I do that with python? the only options I have found in the API are dx, dy which the API makes sound to be the programmatic version of the gui's "Pixel size: " option, or blockh, blockw which seem to relate to the "Split into blocks (pix):" option.
currently i am using some python code to resize the full sized orthomosaic down to what I need after exporting but every time it runs I get a "pixel count too large: could be a decompression bomb attack" warning.
PhotoScan Version: 1.3.2 build 4205 (64 bit)