开发者

OpenCV Multilevel B-Spline Approximation

Hi (sorry for my english) .. i'm working in a project for University in this project i need to use the MBA (Multilevel B-Spline Approximation) algorithm to get some points (control points) of a image to use in other operations.

I'm reading a lot of papers about this algorithm, and i think i understand, but i can't writing.

The idea is: Read a image, process a image (OpenCV), then get control points of the image, use this points.

So the problem here is: The algorithm use a set of points {(x,y,z)} , this set of points are approximated with a surface generated with the control points obtained from MBA. the set of points {(x,y,z)} represents de data we need to approximate (the image)..

So, the image is in a cv::Mat format , how can transform this format to an ordinary array to sim开发者_如何转开发ply access to the data an manipulate...

Here are one paper with an explanation of the method: (Paper) REGULARIZED MULTILEVEL B-SPLINE REGISTRATION (Paper)Scattered Data Interpolation with Multilevel B-splines (Matlab)MBA

If someone can help, maybe a guideline, idea or anything will be appreciate ..

Thanks in advance.

EDIT: Finally i wrote the algorithm in C++ using armadillo and OpenCV ...


Well i'm using armadillo a C++ linear algebra library to works with matrix for the algorithm

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜