I purchased the “The Missing Guide to ODM” book, and I have to say for anyone wanting to learn more about ODM it was a worthy purchase.
In the book, I found a formula for dem-resolution
(which it is noted as being the same as orthophoto-resolution
) on page #70, such as below:
(100 meters * 100 cm/meter ) / 10 cm/pixel = 1000 pixels
Which could also be written as below, if you show the values as variables
(AREA_WIDTH * 100 cm/meter ) / ODM_RESOLUTION = OUTPUT_TIFF_WIDTH
I want to generate *.tiff image files with roughly the same image resolution every time, even if the number of input images is different, or the area’s physical dimensions are different. So I went ahead and re-arranged this formula to have below:
ODM_RESOLUTION = (AREA_WIDTH * 100 cm/meter ) / OUTPUT_TIFF_WIDTH
So I thought, I know the AREA_WIDTH
and I want a desired .TIFF image width of 10,000px I can now solve for ODM_RESOLUTION
and send the varying value as the orthophoto-resolution
parameter to ODM.
After trying with a few different data sets of varying physical area sizes, I found that this didn’t work.
It would be great if there was a way to make the TIFF output image the same image resolution every time. If anyone knows how to do this I would love to hear how it can be done.