Matlab - cp2tform

 
Vista:

cp2tform

Publicado por Marcia Salinas (1 intervención) el 07/06/2013 00:28:25
Hola me gustaria saber si alguien me puede ayudar con la funcion cp2tform para rectificar imagenes, esta funcion incluye TFORM = cp2tform(input_points,base_points,transformtype), y tengo dudas con los input-points y los base-points, ya que no se a que se refieren y como ingresarlos, ojala alguien me pueda ayudar gracias
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder
Imágen de perfil de JOSE JEREMIAS CABALLERO
Val: 6.975
Oro
Ha mantenido su posición en Matlab (en relación al último mes)
Gráfica de Matlab

cp2tform

Publicado por JOSE JEREMIAS CABALLERO (5917 intervenciones) el 08/06/2013 18:16:24
1
2
3
4
5
6
7
8
9
10
11
12
Input Arguments
 
input_points
m-by-2, double matrixcontaining the x- and y-coordinatesof control points in the image you want to transform.
 
 
base_points
m-by-2, double matrixcontaining the x- and y-coordinatesof control points in the base image.
 
 
transformtype
Specifies the type of spatial transformation to infer. The cp2tform functionrequires a minimum number of control point pairs to infer a structureof each transform type. The following table lists all the transformationtypes supported by cp2tform in order of complexity.The 'lwm' and 'polynomial' transformtypes can each take an optional, additional parameter


1
2
3
4
5
6
7
I = checkerboard;
    J = imrotate(I,30);
    base_points = [11 11; 41 71];
    input_points = [14 44; 70 81];
    cpselect(J,I,input_points,base_points);
 
    t = cp2tform(input_points,base_points,'nonreflective similarity');


Saludos.
JOSE JEREMÍAS CABALLERO
Asesorías en Matlab
programador en matlab
Servicios de programación matlab
[email protected]

http://matlabcaballero.blogspot.com

http://www.lawebdelprogramador.com/foros/Matlab/1371532-FORMA_DE_APRENDER_MATLAB.html
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar