[OpenDroneMap-users] odm_orthphoto creation ends all-time with an 1x1 pixel image
wolke
wolke at k-27.de
Sat Jun 20 04:36:26 PDT 2015
Am Wed, 17 Jun 2015 22:39:41 +0200
schrieb Simon <s_mailinglist at geraschs.de>:
hi,
i do some more tests.
i post the results inside my issue in github.
https://github.com/OpenDroneMap/OpenDroneMap/issues/119
i think the problem happens in geo referencing process.
after creation of the odm_textured_model_geo.obj the area calculation is totally wrong.
in my example the area of the odm_textured_model.obj is 116.141m2. this is also wrong but
after geo referencing the area of odm_textured_model_geo.obj is 4.48494e-06m2. means
0,0000045m2. the orignal area is ~13000m2. if odm_orthphoto should use 20px / meter
default value the result must an image with only one pixel.
to validate this i create an orthphoto like this:
odm_orthophoto -inputFile reconstruction-with-image-size-2400-results/odm_texturing/odm_textured_model_geo.obj -logFile odm_orthophoto_log.txt -outputFile odm_orthphoto.png -resolution 1000000.0
if i set -resolution to 1000000.0 the resulting orthfoto size is 2120x2117 px.
here is the beginning of the corresponding log file:
---->8=====
/home/wolke/develop/git/OpenDroneMap/bin/odm_orthophoto_log.txt
Arguments given
-inputFile
reconstruction-with-image-size-2400-results/odm_texturing/odm_textured_model_geo.obj
-logFile
odm_orthophoto_log.txt
-outputFile
odm_orthphoto.png
-resolution
1000000.0
Reading textured mesh from: reconstruction-with-image-size-2400-results/odm_texturing/odm_textured_model_geo.obj
Log file path was set to: odm_orthophoto_log.txt
Writing output to: odm_orthphoto.png
Resolution count was set to: 1e+06pixels/meter
Reading mesh file...
.. mesh file read.
Number of faces in the model 347970
Set boundary to contain entire model.
Local boundary points:
Point 1: 0.195994 0.726759
Point 2: 0.195994 0.728876
Point 3: 0.198113 0.728876
Point 4: 0.198113 0.726759
Ortho photo bounds x : 0.195994 -> 0.198113
Ortho photo bounds y : 0.726759 -> 0.728876
Ortho photo area : 4.48494e-06m2
Ortho photo resolution, width x height : 2120x2117
Translating and scaling mesh...
.. mesh translated and scaled.
====8<-----
/g
wolke
> Hi wolke,
>
> I had the same issue on 14. April 15 and posted it into the mailinglist.
> Alex probably had the same issue back then.
>
> Here is my log: http://pastebin.com/1n4CbnM9
> (The warning for the silver polygon was printed for every face. I
> deleted most of these entries, for the sake of readability...)
>
> I have not looked into that, but will be available for testing now ;)
>
> Regards,
> Simon
>
>
> On 06/17/2015 10:02 PM, wolke wrote:
> > hi ODM-User-List,
> >
> > need some help because my orthphoto creation ends all-time with an 1x1 pixel png
> > image. i create an issue on github. all informations are there
> >
> > https://github.com/OpenDroneMap/OpenDroneMap/issues/119
> >
> > any help is welcome!
> >
> > /g
> > wolke
> > _______________________________________________
> > OpenDroneMap-users mailing list
> > OpenDroneMap-users at lists.osgeo.org
> > http://lists.osgeo.org/cgi-bin/mailman/listinfo/opendronemap-users
>
> _______________________________________________
> OpenDroneMap-users mailing list
> OpenDroneMap-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/opendronemap-users
More information about the OpenDroneMap-users
mailing list