Home > UnioviSOM-Oficial > getpoints.m

getpoints

PURPOSE ^

GETPOINTS: Get points from mouse clicks

SYNOPSIS ^

function [p,t] = getpoints(siz)

DESCRIPTION ^

 GETPOINTS: Get points from mouse clicks

 [p,t] = getpoints(siz)

 siz: size of the capture area. Can be either
      a) a scalar: then a centered squared area is taken [-siz siz -siz siz]
      b) a 2 elem vec: then a centered rectangular area is taken [-siz(1) siz(1) -siz(2) siz(2)]
      c) a 4 elem vec: then an arbitrary rectangular area is taken [siz(1) siz(2) siz(3) siz(4)]
 p: Matrix (2xQp) with points generated with the left button
 t: Matrix (2xQt) with points generated with the right button

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 21-Apr-2017 11:56:21 by m2html © 2005