Vector and raster data alignment [closed]

asked 2012-11-28 22:24:20 -0600

mrgloom gravatar image

Hello, I have raster and vector data represented as point clouds in 2d. Raster data extracted as contours so it contain some noise. Raster and vector data slightly differs in scale and position,raster data can also have some small perspective distortion and barrel distortion, but I can provide initian alignment. I want to raster data "converged" to unchangeble vector data, so I think I want some kind of non-rigid point cloud matching. By alignment of 2 point clouds then I want to determine some parameters(maybe TPS spline?) and unwarp raster image and then draw vector image above it.

For example if we use homography matrix and assume perspective transform we have 8 parameters. I tried to use KCReg it use some specific metric for point clouds, but it give me unsatisfactory results because my distortion can be only roughly expressed by perspective transform and I need some more non-rigid alignment. So the task consist of some function E(p)(metric)+minimizer+bounds for minimizer. I also tried gmmerg. I seems it uses some Broyden Fletcher Goldfarb Shannon minimization from VNL, but I managed to achive good results only for simple tasks.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-08-31 20:16:20.516479


for example affine

mrgloom gravatar image mrgloom  ( 2012-11-28 22:26:33 -0600 )edit

barrel-barrel backwards-barrel rigid

mrgloom gravatar image mrgloom  ( 2012-11-28 22:26:45 -0600 )edit

rigid scale rotate shift

but it fails on real problem, maybe I don't set constraints/bounds or initial guess well. real data rigid shift

mrgloom gravatar image mrgloom  ( 2012-11-28 22:27:06 -0600 )edit

TPS_L2 no guess TPS_L2 initial guess

mrgloom gravatar image mrgloom  ( 2012-11-28 22:27:18 -0600 )edit

If you want to add more information to your question, it's best to edit it instead of adding comments.

Lorenz gravatar image Lorenz  ( 2012-11-28 23:29:55 -0600 )edit

I can't add links, maybe moderator edit my qestion.

mrgloom gravatar image mrgloom  ( 2012-11-28 23:31:30 -0600 )edit