Add a general-purpose apply_matrix()
function for DEMs
#82
Labels
new-feature
A new functionality / feature or request
apply_matrix()
function for DEMs
#82
In #71, we discussed errors associated to DEM gridding, since ICP (and possibly more future approaches) need to convert the DEM into a point cloud. ICP currently does:
Step 3 currently uses
scipy.interpolate.griddata
which is extremely slow! A faster and more reliable approach would be fantastic to have. Something with the approximate signature:One idea I had was to describe the 3D rigid transform as a 2D similarity transform and a linear vertical correction:
A 3D rigid transform from above (from 2D) would include horizontal translation, horizontal rotation, horizontal scaling (due to rotation-induced perspective differences), and elevation (bias + rotation) differences. As far as I understand, the first 3 parts could be described as a 2D similarity transform, and the final as a deramp.
The advantage of such an approach is that the DEM never has to be converted to a point cloud and regridded; it just needs to be moved and twisted a bit. I guess the most difficult part of this, however, would be to mathematically do the conversion...
This general-purpose function is integral for #79 to implement.
I am also all-ears to other alternatives.
The text was updated successfully, but these errors were encountered: