Construct thin plate spline to map 2D to 2D. More...
#include "mbl_clamped_plate_spline_2d.h"
#include <vcl_cmath.h>
#include <vcl_cassert.h>
#include <vcl_cstdlib.h>
#include <vsl/vsl_indent.h>
#include <vsl/vsl_vector_io.h>
#include <vnl/algo/vnl_svd.h>
#include <mbl/mbl_matxvec.h>
#include <vnl/io/vnl_io_vector.h>
#include <vnl/io/vnl_io_matrix.h>
#include <vgl/io/vgl_io_point_2d.h>
Go to the source code of this file.
Functions | |
double | cps_green (const vgl_point_2d< double > &p1, const vgl_point_2d< double > &p2) |
Green's function for the clamped plate spline. | |
double | cps_green (double x, double y, const vgl_point_2d< double > &p2) |
Green's function for the clamped plate spline. | |
void | vsl_b_write (vsl_b_ostream &bfs, const mbl_clamped_plate_spline_2d &b) |
Binary file stream output operator for class reference. | |
void | vsl_b_read (vsl_b_istream &bfs, mbl_clamped_plate_spline_2d &b) |
Binary file stream input operator for class reference. | |
vcl_ostream & | operator<< (vcl_ostream &os, const mbl_clamped_plate_spline_2d &b) |
Stream output operator for class reference. |
Construct thin plate spline to map 2D to 2D.
Definition in file mbl_clamped_plate_spline_2d.cxx.
double cps_green | ( | const vgl_point_2d< double > & | p1, |
const vgl_point_2d< double > & | p2 | ||
) | [inline] |
Green's function for the clamped plate spline.
0.5*|x-y|^2(A2-log(A2)-1) where A2 = (|x|^2|y|^2-2x.y+1)/|x-y|^2 If two points are x and y
Definition at line 55 of file mbl_clamped_plate_spline_2d.cxx.
double cps_green | ( | double | x, |
double | y, | ||
const vgl_point_2d< double > & | p2 | ||
) | [inline] |
Green's function for the clamped plate spline.
0.5*|x-y|^2(A2-log(A2)-1) where A2 = (|x|^2|y|^2-2x.y+1)/|x-y|^2 If two points are x and y
Definition at line 73 of file mbl_clamped_plate_spline_2d.cxx.
vcl_ostream& operator<< | ( | vcl_ostream & | os, |
const mbl_clamped_plate_spline_2d & | b | ||
) |
Stream output operator for class reference.
Definition at line 340 of file mbl_clamped_plate_spline_2d.cxx.
void vsl_b_read | ( | vsl_b_istream & | bfs, |
mbl_clamped_plate_spline_2d & | b | ||
) |
Binary file stream input operator for class reference.
Definition at line 331 of file mbl_clamped_plate_spline_2d.cxx.
void vsl_b_write | ( | vsl_b_ostream & | bfs, |
const mbl_clamped_plate_spline_2d & | b | ||
) |
Binary file stream output operator for class reference.
Definition at line 322 of file mbl_clamped_plate_spline_2d.cxx.