Monday, 15 August 2011

c++ - Interpolation warp -



c++ - Interpolation warp -

i utilize opencv cpp.

i have std::vector<std::pair<cv::point2d, cv::point2d> > wich represent warp. each point of image a, associate point of image b. don't know association between points of image , points of image b. points of image on sparse matrix. these info have epsilon error. interpolate. in opencv don't found function interpolation. how ?

i found function cv::warppoint don't know cv::mat photographic camera intrinsic parameters nor cv::mat photographic camera rotation matrix. how compute these matrix info ?

so there 2 questions:

how warp points 1 image other. seek cv::remap that, 1 time have dense (interpolated) description. see http://docs.opencv.org/doc/tutorials/imgproc/imgtrans/remap/remap.html example.

how compute non-given point pairs interpolation. don't have solution this, ideas:

don't utilize point pairs displacement vectors. displacement might easier interpolate. use inverse formulation dense description of sec image (otherwise there might pixel aren't touched @ all

but guess "real" method kind of spline interpolation.

c++ opencv interpolation

No comments:

Post a Comment