NeoGeographyToolkit / StereoPipeline

The NASA Ames Stereo Pipeline is a suite of automated geodesy & stereogrammetry tools designed for processing planetary imagery captured from orbiting and landed robotic explorers on other planets.
Apache License 2.0
479 stars 168 forks source link

pc_align rotation + vertical translation only #297

Closed jchollingsworth closed 2 years ago

jchollingsworth commented 4 years ago

I have several applications where it would be useful to align point clouds by rotation and vertical translation only... i.e. no horizontal translation. Could something like this be possible?

... it could be useful aligning DEMs in flat regions, especially if they are well-registered horizontally to the Earth's surface, but contain ramps.

oleg-alexandrov commented 4 years ago

That would be tricky. We use libpointmatcher to do the work, and it does not support that. I hacked into it to support translation only, and now that's a patch we have to maintain. I would be reluctant to add to that. There should be standalone python alignment tools which may be able to easier to hack into, e.g., https://github.com/dshean/demcoreg

jchollingsworth commented 4 years ago

Ok... Thanks :)