Skip to main content
Question

Top down georeferenced image from photomesh


jdh
Contributor
Forum|alt.badge.img+28
  • Contributor

I have some photomesh files that I would like to turn into 2d top down raster images. Is there a way I can accomplish that in FME while preserving the georeferencing. Most of my viewing software allows me to export a snapshot, but the geocoordinates are not preserved.

Original data (obj)

photomesh-obliqueDesired output (geotiff)

photomesh-top 

I can't just use the texture files because they are spaghetti.

m-00031

4 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+34

Ideally you should get the original orthophoto used to create the textures of the mesh. I can't think of an FME workflow that would let you do this. But it's an interesting problem for sure. I shall follow this thread with interest. 😏


jdh
Contributor
Forum|alt.badge.img+28
  • Author
  • Contributor
  • August 31, 2021
virtualcitymatt wrote:

Ideally you should get the original orthophoto used to create the textures of the mesh. I can't think of an FME workflow that would let you do this. But it's an interesting problem for sure. I shall follow this thread with interest. 😏

Getting the original orthophoto would be ideal, but unfortunately not possible.

 

I tried converting the mesh to a pointcloud and then using the imageRasterizer and while that mostly worked, there were a few surprises, particularly in the tree at the lower right.

photomesh-FMETreeI might need to try and filter the pointcloud to only the highest z or something.

 


virtualcitymatt
Celebrity
Forum|alt.badge.img+34
jdh wrote:

Getting the original orthophoto would be ideal, but unfortunately not possible.

 

I tried converting the mesh to a pointcloud and then using the imageRasterizer and while that mostly worked, there were a few surprises, particularly in the tree at the lower right.

photomesh-FMETreeI might need to try and filter the pointcloud to only the highest z or something.

 

Ohhh of course, what an excellent idea. Yeah very strange in the corner there, strange that it's very much in a grid form. I've has some issues when converting point clouds to raster, I've found that snapping the points to a grid and then getting the max z for each new grid point works well - there were some tricks in a couple of point cloud articles that helped with this. The data I worked with though was not RGB but height values so didn't matter to much about how it looked.


jsmitsman
Forum|alt.badge.img
  • November 14, 2022

I had the same idea and the same problems.

 

I solved this problem by using the PointCloudSorter and sorting the Z component in ascending order. That resolved the problem in my case.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings