s.zhong

Results 26 comments of s.zhong

I think the odm_orthophoto renders the orthophoto in the exact raster size provided. It calculates the orthophoto height and width by https://github.com/OpenDroneMap/odm_orthophoto/blob/6a7e81b7dda75e2b71d762f4b6ac89ed97e118c7/src/OdmOrthoPhoto.cpp#L383-L389 Noticed that the ceiling operation there will change...

My point is that odm_orthophoto has already created evenly sized cells, based on how it calculates the orthophoto width and height. So we don't need to adjust/warp the cells, the...

I made some changes to odm_orthophoto, it will calculate the correct bounds, and it can also use GDAL API to write GeoTransfrom and CRS to the geotiff. But then I...

https://github.com/OpenDroneMap/odm_orthophoto/pull/1 Updated odm_orthophoto, it will calculate bounds as described above, and work with multispectral data as well. Also added 2 optional arguments to allow directly write geotransform and crs in...

Is it due to scale or shift (is the top left corner of the orthophoto shifted as well)? Seems around 1/4 pixel shift, multiplied by 0.05m is 0.0125m. Assume before...

Yes, I can confirm it's caused by the raster size change. Shifting will increase when the pixel gets far away from the top left corner, no more than 1 pixel....

The problem is then how PDAL defines the origin when it's creating a raster if we are comparing it with the DSM data. And depends on the different implementations, there...

Some updates. I haven't started working on replicating the pdal rendering approach in odm_orthophoto, but managed to render an "RGB" version of DSM. Basically what I did is updating the...

> 2. odm_orthophoto selects grid center at `i,j` while PDAL selects grid center at `i+0.5, j+0.5`[source](https://github.com/PDAL/PDAL/blob/e8aa674a30ebc7866f7065ff6d3f2bca3784948f/pdal/private/Raster.hpp#L152-L156) (this seems to cause the difference of the xy interpretation) I was wrong about...

I still believe the uneven problem is caused by the problem I mentioned in the first comment. Given an example pointcloud corners ``` xMin = -6.78768844604492188e+01 yMin = -6.51020584106445312e+01 xMax...